Home / Market / netapi

netapi

Check domains and IPs against a free compromised feed, find newly registered lookalike domains, and get TLD stats and Top 1M ranks from NetAPI, with no API key.

skill★ 507590 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: netapi description: "Check domains and IPs against a free compromised feed, find newly registered lookalike domains, and get TLD stats and Top 1M ranks from NetAPI, with no API key." category: security risk: safe source: self source_type: self date_added: "2026-10-27" author: NetAPI tags: [threat-intel, ioc, domains, phishing, osint, dns, registrar, mcp] tools: [claude, cursor, codex, gemini] metadata: publisher: NetAPI homepage: https://netapi.com/ docs: https://netapi.com/help/api/ mcp-docs: https://netapi.com/help/mcp/ mcp-server: https://mcp.netapi.com/mcp

---

NetAPI Domain Intelligence

Overview

NetAPI (https://netapi.com/) tracks the registered domains of more than 1,500 zones and publishes free data built from them: a compromised feed of domains and IP addresses reported by public threat feeds, the daily lists of newly registered domains, zone statistics and the NetAPI Top 1M popularity ranking. This skill answers domain and IP questions with NetAPI's JSON API. The free methods need no account and no API key. Risk is safe: every call is a read-only HTTPS GET, and the only data sent is the indicator or search text itself.

When to Use This Skill

How It Works

Step 1: Pick the method

Every call is GET https://netapi.com/api-json/?method=<method>&<parameters> and returns JSON.

| Method | Parameters | Answers | |---|---|---| | compromised-check | value: domain, hostname, URL or IP | listed_now (reported within the last 24 hours), listed_ever, first_seen, last_seen, block_reason (source tag), matched_value, registrar. For a hostname the parent domains are checked too. | | search-new | q (4+ characters), days (1-7), tld, match (contains or starts), limit | Domains registered in the last days whose name contains or starts with q, from the zones that publish daily lists (1,100+ TLDs). | | domain-rank | domain | Position in the NetAPI Top 1M and inside its TLD (in_top_1m, rank, rank_in_tld). | | tld-stats | tld (com, io, ...) | Domain count, daily new and deleted counts where the registry publishes them, abuse share, registry. | | registrar-info | q: registrar name or id | Size, rank by size and abuse rate of a registrar. | | dns-provider-info | q: provider name or nameserver root | Size and market share of a DNS provider. | | top-1m | limit, offset | A slice of the Top 1M. | | top-websites | country: name or two-letter code | The most visited websites in a country. | | zones | min_domains, cctld (1 or 0) | Every tracked zone with its figures. |

Step 2: Call the API and handle errors

Errors come back as {"error": {"code": "...", "message": "..."}} with an HTTP status: 400 for invalid input (invalid_value, query_too_short), 404 for an unknown zone or name, 429 when a limit is reached (the response carries Retry-After). Report the message instead of guessing.

Step 3: Report the result

Examples

Example 1: Check an indicator

curl -s "https://netapi.com/api-json/?method=compromised-check&value=example.com"
{
  "value": "example.com",
  "type": "domain",
  "listed_now": false,
  "listed_ever": false,
  "matched_value": null,
  "first_seen": null,
  "last_seen": null,
  "block_reason": null,
  "note": "Not in the current or historical compromised feed."
}

A URL or a subdomain can be passed as it is: value=https://login.example.com/path is checked as login.example.com and then example.com.

Example 2: Watch for lookalike registrations

curl -s "https://netapi.com/api-json/?method=search-new&q=paypal&days=2&limit=50"

Each result has domain, tld and added_on. Use match=starts to keep only names that begin with the text, and tld=com to narrow it to one zone.

Example 3: Enrich a list of indicators (Python, standard library only)

import json
import time
import urllib.parse
import urllib.request

def netapi(method, **params):
    url = "https://netapi.com/api-json/?" + urllib.parse.urlencode({"method": method, **params})
    with urllib.request.urlopen(url, timeout=30) as response:
        return json.load(response)

for indicator in sorted(set(["example.com", "203.0.113.10"])):
    result = netapi("compromised-check", value=indicator)
    print(indicator, result["listed_now"], result["last_seen"])
    time.sleep(2)  # stays under the 30 requests a minute allowed without a key

A non-200 answer raises urllib.error.HTTPError; read its body for the JSON error message.

Example 4: Connect the MCP server instead

The same data is available as MCP tools. https://mcp.netapi.com/mcp/public offers the free tools without an account; https://mcp.netapi.com/mcp signs in with OAuth and adds the account tools. Setup per client: https://netapi.com/help/mcp/

Best Practices

Limitations

Security & Safety Notes

Common Pitfalls

Solution: The search text must be at least 4 characters.

Solution: Pass one domain, hostname, URL or IP per call, without spaces or lists.

Solution: The per-minute or daily limit is used up; wait for Retry-After, or use a free account token.

Related Skills