# Netlas API reference

> Netlas is an internet-scanning search engine. Its API returns host summaries for an IP or domain, and searches of scanned service responses, domains, and IP WHOIS records. An investigator uses it to see what a host exposes and which domains point at it. Base URL is https://app.netlas.io/api. Send…

Source: https://osinttools.io/apis/netlas/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/netlas/

- Base URL: https://app.netlas.io/api
- Authentication: Bearer token in the `Authorization` header. Get a key: https://app.netlas.io/ Keys are on the profile page
- Rate limits: 60 requests per minute for search and count (excluding certificates); 3 per minute for certificate search and count; 429 with Retry-After when exceeded
- Vendor docs: https://docs.netlas.io
- OpenAPI spec: https://cdn.netlas.io/netlas-openapi-3.0.json
- Python SDK: netlas, https://github.com/netlas-io/netlas-python

## Overview

Netlas is an internet-scanning search engine. Its API returns host summaries for an IP or domain, and searches of scanned service responses, domains, and IP WHOIS records. An investigator uses it to see what a host exposes and which domains point at it.

Base URL is `https://app.netlas.io/api`. Send the key as `Authorization: Bearer`; the older `X-API-Key` header still works but is deprecated. Searches return at most 10,000 results (start 0 to 9980); use the download endpoints for more.

The docs also cover certificate and domain WHOIS search, facets, downloads, the scanner and datastore; an OpenAPI spec is published. Those are not detailed here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Bad request |
| 401 | Unauthorized (download endpoints) |
| 402 | Out of plan quota |
| 403 | Access denied |
| 429 | Rate or daily limit exceeded |
| 504 | Timeout |

## Host info

### Summary of what Netlas knows about an IP address or domain.

`GET /host/{host}/`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)

Returns fields such as geo, privacy, organization, domains, whois, ports, software and IOC data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `host` | path | string | yes | IPv4 address or domain name Example: 203.0.113.7 |
| `fields` | query | string | no | Comma-separated fields to include or exclude Example: ports,domains |
| `source_type` | query | string | no | Whether fields are included or excluded Example: include One of: include, exclude |
| `public_indices_only` | query | boolean | no | Use only public indices Example: true |

Response fields:

- `ip` (string): IP address
- `ptr` (string): Reverse DNS name
- `geo` (object): Geolocation
- `organization` (object): Owning organization
- `domains[]` (string): Domains seen on the host
- `ports[]` (object): Open ports seen
- `software[]` (object): Software detected

```bash
curl 'https://app.netlas.io/api/host/203.0.113.7/' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "ptr": "host.example.com",
  "domains": [
    "example.com"
  ],
  "ports": [
    {
      "port": 443,
      "protocol": "tcp"
    }
  ]
}
```

## Search

### Search scanned service responses with a query string.

`GET /responses/`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)

Up to 20 results per page and the first 10,000 overall. indices defaults to the latest public data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Query string Example: host:example.com |
| `start` | query | integer | no | Pagination offset, 0 to 9980 Example: 0 |
| `indices` | query | string | no | Comma-separated index labels |
| `fields` | query | string | no | Comma-separated fields to include or exclude Example: ip,port |
| `source_type` | query | string | no | Whether fields are included or excluded Example: include One of: include, exclude |

Response fields:

- `items[].data` (object): A matching response document
- `items[].highlight` (object): Highlighted matches

```bash
curl 'https://app.netlas.io/api/responses/?q=host%3Aexample.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "data": {
        "ip": "203.0.113.7",
        "port": 443
      }
    }
  ]
}
```

### Count of scanned responses matching a query.

`GET /responses_count/`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Query string Example: host:example.com |
| `indices` | query | string | no | Comma-separated index labels |

Response fields:

- `count` (integer): Number of matches

```bash
curl 'https://app.netlas.io/api/responses_count/?q=host%3Aexample.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 42
}
```

### Search domains and subdomains with a query string.

`GET /domains/`

- Takes: Domain, IP address
- Footprint: passive (the target is not contacted)

Same paging limits as response search.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Query string Example: domain:*.example.com |
| `start` | query | integer | no | Pagination offset, 0 to 9980 Example: 0 |
| `indices` | query | string | no | Comma-separated index labels |
| `fields` | query | string | no | Comma-separated fields to include or exclude Example: domain,a |
| `source_type` | query | string | no | Whether fields are included or excluded Example: include One of: include, exclude |

Response fields:

- `items[].data` (object): A matching domain document

```bash
curl 'https://app.netlas.io/api/domains/?q=domain%3A*.example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "data": {
        "domain": "www.example.com",
        "a": [
          "203.0.113.7"
        ]
      }
    }
  ]
}
```

### Search IP WHOIS records with a query string.

`GET /whois_ip/`

- Takes: IP address
- Footprint: passive (the target is not contacted)

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Query string Example: ip:203.0.113.0/24 |
| `start` | query | integer | no | Pagination offset, 0 to 9980 Example: 0 |
| `indices` | query | string | no | Comma-separated index labels |
| `fields` | query | string | no | Comma-separated fields to include or exclude Example: net |
| `source_type` | query | string | no | Whether fields are included or excluded Example: include One of: include, exclude |

Response fields:

- `items[].data` (object): A matching WHOIS record

```bash
curl 'https://app.netlas.io/api/whois_ip/?q=ip%3A203.0.113.0%2F24' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "data": {
        "net": "203.0.113.0/24"
      }
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
