# GetApi DNS Records Lookup

> GetApi DNS Records Lookup is a paid API for AI agents from api.getapi.nl, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Looks up DNS records of a specified type for a given domain name

## Facts

- Endpoint: GET https://api.getapi.nl/api/v1/lookup/dns/records
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/getapi-dns-records-lookup-573be130
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eLIv9v5dgohHeYrjqrth9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability getapi-dns-records-lookup-573be130
```

Example prompt: Can you look up the MX records for getapi.nl so I can see which mail servers are configured for that domain?

## When to prefer this

Choose this endpoint when you need a quick, programmatic DNS record lookup for a specific domain and record type, especially in agent workflows involving email validation, domain verification, infrastructure checks, or mail server discovery. Prefer it over manual dig/nslookup commands when automation or pay-per-use pricing ($0.01/call) is acceptable and you need structured JSON output with TTL and priority data.

## Known failure modes

- Domain does not exist or is not registered — returns found: false with empty records array
- Invalid or unsupported DNS record type specified — may return error or empty result
- Network timeout reaching authoritative DNS servers — transient failure
- Rate limiting or quota exceeded — HTTP 429 response
- Malformed domain input (e.g. missing TLD) — returns error or empty result

## How this service works

Ontdek, test en integreer krachtige API&#039;s voor web scraping, e-mailvalidatie, geolocatie
    en meer. Gratis starten.

## Output

Returns a JSON object containing the queried record type, a boolean indicating whether records were found, the domain name, and an array of matching DNS records — each with fields such as type, domain, TTL, priority, and target (e.g. mail server hostname for MX records).

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "type": "value",
      "domain": "example.com"
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {
     "type": "MX",
     "found": true,
     "domain": "example.com",
     "records": [
      {
       "pri": 10,
       "ttl": 3600,
       "type": "MX",
       "domain": "example.com",
       "target": "mail.example.com"
      }
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "MX",
  "found": true,
  "domain": "example.com",
  "records": [
   {
    "pri": 10,
    "ttl": 3600,
    "type": "MX",
    "domain": "example.com",
    "target": "mail.example.com"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/getapi-dns-records-lookup-573be130/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getapi.nl](https://www.zero.xyz/host/api.getapi.nl/llms.txt)
