Domain API

Download domain lists and datasets directly to your server.

Base endpoint: https://netapi.com/api/


List of existing domain zones :: Get the list of supported domain zones in .CSV format

GET Request Format:

https://netapi.com/api/zones/

This returns a list of current supported domain zones in .CSV format with the following fields:

Output data:

zoneTLD - zone TLD (extension)
isUpdatedDaily - 1 if the zone is updated daily, 0 if not
isCountryCode - 1 if the zone is country code, 0 if not

* You can also download a list of all supported zones in .CSV format by clicking HERE.

Domain lists and datasets : Download any domain zone list, dataset or part of them

GET Request Format:

https://netapi.com/api/download/zone-tld/dataset-type/data-type/?token=your-token&format=plain

Output data:

Majestic rank Majestic top 1mln websites rank, integer (if any)
DNS 1 DNS server 1
DNS 2 DNS server 2
Hostname Remote server hostname
Emails Emails scrapped from the website (one field, comma-separated)
Phones Phone numbers scrapped from the website (one field, comma-separated)
Server IP Remote server IP
Domain Country The two-digit country code of the website domain, determined by the domain IP

Input data:

zone-tld

[Required] TLD (extension) of the required zone.

To get a common dataset of all domains (all zones at once), use the all-zones parameter. For IDN-domains, use the original IDN-tilde. Example:

all-zones - all domain zones at once

com - .com zone

xn--3ds443g - IDN zone ( 在线 )

dataset-type

[Required] Dataset type.

list - Contains only list of domains, one domain per line.

dataset - Contains additional data (domain, server DNS, ipi, emails, phone numbers, etc.). Read more →

data-type

[Required] Data type.

active - Full list of domains of the required zone

new - Domains found for the last 24 hours in this zone (recently delegated).

New parameter is available only for classic and gTLD zones. For country-code zones, only active parameter is available. Read more →

your-token

[Required] API access token.

Your unique API token that can be found in the HOME section of your account.

format

[Optional] The format of the response file.

By default, you will receive the dataset in the compressed .GZ format. If you require plain-text format, you can add the &format=plain parameter to your request.

⚡ Warning. Plain-text files tend to be very large (for example, for .COM zone, the file size can be up to several gigabytes). Use this parameter only if necessary.

Response and Error Codes

Our List/Dataset Download API returns one of the following HTTP response codes:

Code Description
200 OK
401 401 Unauthorized: Missed user token. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Missed zone type. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Invalid zone tld. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Missed dataset type. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Invalid dataset type. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Missed filter type. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Invalid filter type. Details: https://netapi.com/help/api/
403 403 Forbidden: No active/paid plan. Details: https://netapi.com/dashboard/
403 403 Forbidden: Your current plan does not allow downloading of detailed datasets. Details: https://netapi.com/dashboard/
IP -> Domains Lists (Reverse DNS Lists)

GET Request Format:

https://netapi.com/api/download-ip/?token=your-token&format=plain

Returns a list of IP addresses and domains associated with these addresses in .CSV format (two fields):

Output data:

IP - IP (V4 or V6)
"domain1, domain2, domain3" - List of associated domains, comma-separated

Input data:

your-token

[Required] API access token.

Your unique API token that can be found in the HOME section of your account.

format

[Optional] The format of the response file.

By default, you will receive the dataset in the compressed .GZ format. If you require plain-text format, you can add the &format=plain parameter to your request.

⚡ Warning. Plain-text files tend to be very large (up to several gigabytes). Use this parameter only if necessary.

Response and Error Codes

Our IP2Domains API returns one of the following HTTP response codes:

Code Description
200 OK
401 401 Unauthorized: Missed user token. Details: https://netapi.com/help/api/
403 403 Forbidden: No active/paid plan. Details: https://netapi.com/dashboard/
Domain Lookup API : Get information about a specific domain

GET Request Format:

https://netapi.com/api/lookup-domain/domain.com/?token=your-token

Returns data for the specified domain in .CSV format:

Output data:

URL - Requested domain
DNS1 - DNS server 1
DNS2 - DNS server 2
HOSTNAME - Server hostname
IP - Server IP
COUNTRY_CODE - Two-letter country code (according to the server IP)

Input data:

domain.com

[Required] Domain name (for example, domain.com)

your-token

[Required] API access token.

Your unique API token that can be found in the HOME section of your account.

Response and Error Codes

Our Domain Lookup API returns one of the following HTTP response codes:

Code Description
200 OK
401 401 Unauthorized: Missed user token. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Invalid domain zone (.tld). Details: https://netapi.com/help/api/
405 405 Method Not Allowed: Domain name is too long. Details: https://netapi.com/help/api/
IP Lookup API : Get information about a specific IP

GET Request Format:

https://netapi.com/api/lookup-ip/IP/?token=your-token

Returns data for the specified IP in .CSV format (one result per line):

Output data:

DOMAIN - Domain name whose IP matches the given IP
HOSTNAME - Hostname whose domain matches the given IP
DNS1 - Domain / DNS server 1
DNS2 - Domain / DNS server 2

Input data:

domain.com

[Required] IP (for example, 172.67.69.160)

your-token

[Required] API access token.

Your unique API token that can be found in the HOME section of your account.

Response and Error Codes

Our IP Lookup API returns one of the following HTTP response codes:

Code Description
200 OK
401 401 Unauthorized: Missed user token. Details: https://netapi.com/help/api/
405 405 Method Not Allowed: IP is too long. Details: https://netapi.com/help/api/

Server UTC time: 01:28:05pm

Service Status    Terms of Service    Privacy Policy    Contact Us   

English    German    Spanish   

Made with favorite in Cyprus