latestOpenAPI 3.0.3Netlas API & Data License Agreement2026-08-104487309.0 KB

2b1f84425791

Domains

Domains Search

Searches for q in the selected indices and returns up to 20 search results, starting from the start+1 document.

❗️ This method allows retrieving only the first 10,000 search results.

Use it when the expected number of results is relatively low or to craft and refine a query. Use the Download endpoint to fetch results without pagination or quantity limitations.

get/api/domains/

Query parameters

qstring required

The query string used for searching. See Query Syntax for more details.

Example:domain:example.com
startinteger

Use for pagination. Offset from the first search result to return.

Example:20
indicesIndiceLabel[]

A list of indice labels to search in. If not provided, the search will be performed in the default (most relevant index).

Call indices endpoint to get the list of available indices.

[
  "2025-09-24",
  "2025-09-02"
]
fieldsField[]

You can control the amount of output data by specifying which fields to include or exclude in the response. Use the source_type parameter to select between include and exclude options.

[
  "*"
]
source_type'include' | 'exclude'

Specify fields and use source_type to choose between:

  • include to return only the specified fields
  • exclude to return all fields except the specified ones

Response

Search Results

Example response

{
  "items": [
    {
      "data": {
        "txt": [
          "_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9",
          "v=spf1 -all"
        ],
        "a": [
          "23.192.228.80",
          "23.192.228.84",
          "23.215.0.136",
          "96.7.128.175",
          "23.215.0.138",
          "96.7.128.198"
        ],
        "last_updated": "2025-02-18T20:14:08.642Z",
        "@timestamp": "2025-02-18T20:14:08.642Z",
        "level": 2,
        "zone": "com",
        "ns": [
          "a.iana-servers.net",
          "b.iana-servers.net"
        ],
        "domain": "example.com",
        "aaaa": [
          "2600:1408:ec00:36::1736:7f24",
          "2600:1406:bc00:53::b81e:94ce",
          "2600:1406:3a00:21::173e:2e66",
          "2600:1406:bc00:53::b81e:94c8",
          "2600:1408:ec00:36::1736:7f31",
          "2600:1406:3a00:21::173e:2e65"
        ]
      }
    }
  ]
}