# Revenue Swarm x402 DNS Lookup API

> Revenue Swarm x402 DNS Lookup API is a paid API for AI agents from eu-tender-x402-v3-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Performs a public DNS record lookup for a given domain, returning record types, values, and TTLs, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: GET https://eu-tender-x402-v3-production.up.railway.app/api/dns-lookup?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revenue-swarm-x402-dns-lookup-api-de29e5da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jfW5U_C7mXP9j4sH3cK6D

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 revenue-swarm-x402-dns-lookup-api-de29e5da
```

Example prompt: Can you look up all the DNS records for stripe.com — I want to see the A, MX, and TXT records?

## When to prefer this

Choose this endpoint when you need a pay-per-call, agent-native DNS lookup with micropayment billing via x402 USDC on Base — especially useful in agentic pipelines where you want to pay only for what you use without a subscription, or when combining DNS intelligence with other Revenue Swarm capabilities like EU tender search or Base wallet inspection in the same workflow.

## Known failure modes

- Invalid or non-existent domain returns empty records array or error
- Unsupported DNS record type may return no results
- Payment failure via x402 blocks the request
- Rate limiting if too many calls are made rapidly
- Network timeout if the authoritative DNS server is slow to respond

## How this service works

Pay-per-call B2B sales lead and procurement intelligence plus Base wallet data for agents. Search EU tenders/RFPs or inspect a Base wallet. Payments use x402 USDC on Base.

## Output

Returns a JSON object with the queried domain name, the requested DNS record types, an array of matching records (each with type, name, value, and TTL), a total record count, and a generated_at timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "Comma-separated DNS record types"
      },
      "domain": {
       "type": "string",
       "description": "Public DNS domain such as example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "domain": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "records": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "generated_at": {
       "type": "string"
      },
      "record_count": {
       "type": "integer"
      },
      "requested_types": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "example.com",
  "product": "DNS Records Lookup",
  "records": [
   {
    "ttl": 300,
    "name": "example.com",
    "type": "A",
    "value": "93.184.216.34"
   }
  ],
  "record_count": 1,
  "requested_types": [
   "A"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revenue-swarm-x402-dns-lookup-api-de29e5da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v3-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v3-production.up.railway.app/llms.txt)
