---
title: "Searches for a Node"
method: POST
path: "/api/discovery/node_count/"
tags: ["Discovery"]
---

# Searches for a Node

`POST /api/discovery/node_count/`

Retrieve a list of available searches for the specified node, defined by `node_value` and `node_type`.

## Request body

- object
  - `node_type` 'address' | 'as_name' | 'asn' | 'dns_txt' | 'domain' | 'email' | 'favicon' | 'http_tracker' | 'ip' | 'ip-range' | 'jarm' | 'network_name' | 'organization' | 'person' | 'phone' | 'text', required — The type of the node(s).
  - `node_value` string, required — A value of the node.

## Response `200`

__Available Searches__

- object[] — A list of aggregations containing available searches, the count of results for each search, and a preview of the results.
  - `aggregations` Aggregation[] — Aggregations are made for data collections. Each aggregation contains searches for related entities from this data collection.
    - `search_field` string, required — The type of search that describes how the search results relate to this object.
    - `count` integer, required — The number of results for this search type.
    - `preview` union[] — Up to five found items as a preview.
      - union
        - string
        - integer
    - `search_field_id` integer, required — The ID of the search type.
    - `is_too_much_docs` boolean — Indicates that the search returns too many documents to add individually, and they should be added as a group.
    - `node_types` object — A breakdown of matching node types returned for this aggregation.

## Other responses

- `400` — __Bad Request__: Some required parameters were not passed or were not validated
- `402` — __Not Enough Coins__: You are out of your current subscription plan limits
- `403` — __Access Denied__: You are not allowed to perform this action Error details are included in the response body.
- `429` — __Daily request limit exceeded__ or __Request throttled__. Additional error details are provided in the response body
- `500` — __Internal Server Error__: Details are included in the response body
- `504` — __Timeout__: The request took too long to process

---

[API](https://skmtc.net/netlas/apis/netlas-api.md) · [All operations](https://skmtc.net/netlas/apis/netlas-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netlas/netlas-api/revisions/2b1f84425791/schema)
