# NetAPI API reference

> NetAPI publishes domain data: zone lists, hosting and DNS provider datasets, registrar datasets, a list of compromised domains and IPs, and per-domain and per-IP lookups. This reference covers the two lookup methods of the CSV API. The docs also describe a JSON API at https://netapi.com/api-json/,…

Source: https://osinttools.io/apis/netapi/ (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/netapi/

- Base URL: https://netapi.com/api2
- Authentication: API key in the `token` query parameter. Get a key: https://netapi.com/plans/ Lookups need an active paid plan.
- Pricing: Subscription
- Rate limits: Lookups per day by plan: Basic 2,000, Plus 5,000, Pro no daily limit. Per-minute limits are 60 for Basic and Plus, 120 for Pro. Accounts younger than 48 hours have lower daily caps.
- Vendor docs: https://netapi.com/help/api/

## Overview

NetAPI publishes domain data: zone lists, hosting and DNS provider datasets, registrar datasets, a list of compromised domains and IPs, and per-domain and per-IP lookups. This reference covers the two lookup methods of the CSV API. The docs also describe a JSON API at `https://netapi.com/api-json/`, bulk downloads and free methods such as `compromised-check`, `domain-rank` and `tld-stats`, which are not detailed here.

Calls are `GET https://netapi.com/api2/?method=<method>&...`. The lookup methods need a `token` from the dashboard and an active paid plan (Basic, Plus or Pro); prices are on the plans page. Responses are CSV rows.

Limits are per account and reset at 00:00 UTC. Exceeding them returns 429 with a Retry-After header.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | Rate limit exceeded; see the Retry-After header |

## Lookups

### Look up one domain: DNS, hostname, IP, country, registrar and compromised flag.

`GET /?method=lookup-domain`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Plan: Active paid plan

Send method=lookup-domain. Needs an active paid plan. Returns a CSV row.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `method` | query | string | yes | Must be lookup-domain Example: lookup-domain |
| `domain` | query | string | yes | Domain to look up Example: example.com |

Response fields:

- `URL` (string): Domain
- `DNS1` (string): First name server
- `DNS2` (string): Second name server
- `HOSTNAME` (string): Hostname
- `IP` (string): Server IP
- `COUNTRY_CODE` (string): Domain country
- `REGISTERED_AT` (string): Registration date
- `EXPIRING_AT` (string): Expiry date
- `REGISTRAR_ID` (string): Registrar id
- `WHOIS_CHECKED_AT` (string): When WHOIS was last checked
- `COMPROMISED` (string): Compromised flag

```bash
curl 'https://netapi.com/api2/?method=lookup-domain&method=lookup-domain&domain=example.com&token=YOUR_API_KEY'
```

Example response (200):

```
URL,DNS1,DNS2,HOSTNAME,IP,COUNTRY_CODE,REGISTERED_AT,EXPIRING_AT,REGISTRAR_ID,WHOIS_CHECKED_AT,COMPROMISED
example.com,ns1.example.net,ns2.example.net,www.example.com,203.0.113.7,US,2000-01-01,2030-01-01,1,2026-01-01,0
```

### Look up one IP: up to 3 domains hosted there with hostname and name servers.

`GET /?method=lookup-ip`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Active paid plan

Send method=lookup-ip. Needs an active paid plan. Returns up to 3 CSV rows.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `method` | query | string | yes | Must be lookup-ip Example: lookup-ip |
| `ip` | query | string | yes | IP address to look up Example: 203.0.113.7 |

Response fields:

- `DOMAIN` (string): Domain on this IP
- `HOSTNAME` (string): Hostname
- `DNS1` (string): First name server
- `DNS2` (string): Second name server

```bash
curl 'https://netapi.com/api2/?method=lookup-ip&method=lookup-ip&ip=203.0.113.7&token=YOUR_API_KEY'
```

Example response (200):

```
DOMAIN,HOSTNAME,DNS1,DNS2
example.com,www.example.com,ns1.example.net,ns2.example.net
```

---

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/
