Skip to content
OSINTtools.io

NetAPI API

Domain data API: zone lists by TLD, registrar or DNS provider, domain and reverse-IP lookups, and free compromised domain and IP feeds.

Base URL
https://netapi.com/api2
Sign-in
API key
Pricing
Subscription
Format
REST, Bulk files
Endpoints
2

Compiled by OSINTtools.io editors from netapi.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with NetAPI and copy your api key. Where to get it

  2. Make your first request

    Look up one domain: DNS, hostname, IP, country, registrar and compromised flag.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://netapi.com/api2/?method=lookup-domain&method=lookup-domain&domain=example.com&token=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    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

Authentication

Send your API key in the token query parameter of every request.

Lookups need an active paid plan.

Get a key from NetAPI

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

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.

Pricing: subscription.

Errors

StatusMeaning
429Rate limit exceeded; see the Retry-After header

Lookups

  • Takes: Domain
  • Passive: the target is not contacted
  • Plan: Active paid plan

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

Query parameters

methodstringrequired

Must be lookup-domain

Example: lookup-domainDefault: lookup-domain
domainstringrequiredtakes your domain

Domain to look up

Example: example.com
Response fields · 11Show

URLstring

Domain

DNS1string

First name server

DNS2string

Second name server

HOSTNAMEstring

Hostname

IPstring

Server IP

COUNTRY_CODEstring

Domain country

REGISTERED_ATstring

Registration date

EXPIRING_ATstring

Expiry date

REGISTRAR_IDstring

Registrar id

WHOIS_CHECKED_ATstring

When WHOIS was last checked

COMPROMISEDstring

Compromised flag

curl 'https://netapi.com/api2/?method=lookup-domain&method=lookup-domain&domain=example.com&token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
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

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

Query parameters

methodstringrequired

Must be lookup-ip

Example: lookup-ipDefault: lookup-ip
ipstringrequiredtakes your ip address

IP address to look up

Example: 203.0.113.7
Response fields · 4Show

DOMAINstring

Domain on this IP

HOSTNAMEstring

Hostname

DNS1string

First name server

DNS2string

Second name server

curl 'https://netapi.com/api2/?method=lookup-ip&method=lookup-ip&ip=203.0.113.7&token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
DOMAIN,HOSTNAME,DNS1,DNS2
example.com,www.example.com,ns1.example.net,ns2.example.net