zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Dev Tools/DNS Lookup
Logo DNS Lookup

DNS Lookup

Query DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) via secure DNS-over-HTTPS resolver.

1 endpoint1 endpoint on this scraper20 calls20 calls so farupdated 3 months agoLast updated 6/13/2026, 2:24:53 AMBusy: 10+ calls so farllms.txt
Endpoints1

1/1 passing
checked 22 hours ago · daily 01:00 WIB

Lookup

Perform lookup dengan input yang diberikan.

GET/v1/dev-tools:dns-lookup/lookup5m cache2 paramschecking key…
Parameters
domainstringrequired

Domain name (akan di-normalize: strip protocol, www, path)

typeenum

DNS record type. Default: A

·
Response
EXAMPLE
{
  "type": "A",
  "count": 6,
  "domain": "google.com",
  "source": "dns",
  "status": "NOERROR",
  "records": [
    {
      "ttl": 281,
      "data": "142.250.4.100",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.139",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.101",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.138",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.102",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.113",
      "name": "google.com",
      "type": "A"
    }
  ]
}

Code

Lookup
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("dev-tools:dns-lookup", "lookup", {
  "domain": "google.com",
  "type": "A"
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

1 endpoint · plain text
GET
Lookup/v1/dev-tools:dns-lookup/lookup
2 params

Parameters

domainstringrequired
Domain name (akan di-normalize: strip protocol, www, path)
typeenumoptional
DNS record type. Default: A Values: A, AAAA, MX, TXT, NS, CNAME, SOA, CAA.

Request

curl -X GET "https://api.zapi.ink/v1/dev-tools:dns-lookup/lookup?domain=google.com&type=A" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "type": "A",
  "count": 6,
  "domain": "google.com",
  "source": "dns",
  "status": "NOERROR",
  "records": [
    {
      "ttl": 281,
      "data": "142.250.4.100",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.139",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.101",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.138",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.102",
      "name": "google.com",
      "type": "A"
    },
    {
      "ttl": 281,
      "data": "142.250.4.113",
      "name": "google.com",
      "type": "A"
    }
  ]
}

Related APIs

More in dev-tools

CF Sitekey Extractor

dev-toolscf-sitekey

Mengekstrak Cloudflare Turnstile sitekey dari halaman web dengan multiple fetch mode.

3636 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

IP Geolocation

dev-toolsip-geo

IP geolocation lookup — country, region, city, ISP, ASN, koordinat untuk IPv4 dan IPv6.

1313 calls so far5mResponses cached for 5m
Busy: 10+ calls so far

WHOIS Lookup

dev-toolswhois-lookup

WHOIS / RDAP domain lookup — registrar, registration & expiry dates, nameservers, status, registrant contact.

1313 calls so far5mResponses cached for 5m
Busy: 10+ calls so far

SSL Labs

dev-toolsssl-labs

Retrieve SSL/TLS analysis report for a hostname.

66 calls so far5mResponses cached for 5m

Meta/OG Preview

dev-toolsmeta-preview

Fetch link preview metadata dari URL — Open Graph, Twitter Card, favicon, canonical, theme color (kayak WhatsApp/Slack link preview).

66 calls so far5mResponses cached for 5m

HTTP Headers Inspector

dev-toolshttp-headers

Inspect HTTP response headers and redirect chain for any URL.

44 calls so far5mResponses cached for 5m
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.