Api Endpoint

DNS Lookup

Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.

Open interactive test console

Offering

Provider
agentsvc.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Infrastructure
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agentsvc.io/api/v1/proxy/dns-lookup
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
dns-lookup, dns-records, DNS, Network, domain

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  }
]

Observed health

Status
Healthy
Latest latency
1305 ms
Average latency
887 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "domain": {
          "type": "string",
          "description": "Domain name to look up (e.g. 'example.com', 'mail.google.com')"
        },
        "types": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "A",
              "AAAA",
              "MX",
              "TXT",
              "CNAME",
              "NS"
            ]
          },
          "default": [
            "A"
          ],
          "description": "DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS"
        }
      },
      "required": [
        "domain"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "required": [
            "domain"
          ],
          "properties": {
            "types": {
              "type": "array",
              "items": {
                "enum": [
                  "A",
                  "AAAA",
                  "MX",
                  "TXT",
                  "CNAME",
                  "NS"
                ],
                "type": "string"
              },
              "default": [
                "A"
              ],
              "description": "DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS"
            },
            "domain": {
              "type": "string",
              "description": "Domain name to look up (e.g. 'example.com', 'mail.google.com')"
            }
          }
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "required": [
            "success",
            "data"
          ],
          "properties": {
            "data": {
              "type": "object",
              "required": [
                "domain",
                "records",
                "resolved_at"
              ],
              "properties": {
                "domain": {
                  "type": "string",
                  "description": "The queried domain name"
                },
                "records": {
                  "type": "object",
                  "properties": {
                    "A": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "IPv4 addresses"
                    },
                    "MX": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "exchange": {
                            "type": "string"
                          },
                          "priority": {
                            "type": "integer"
                          }
                        }
                      },
                      "description": "Mail exchange records"
                    },
                    "NS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Nameserver records"
                    },
                    "TXT": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "TXT records (joined entries)"
                    },
                    "AAAA": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "IPv6 addresses"
                    },
                    "CNAME": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Canonical name records"
                    }
                  },
                  "description": "Map of DNS record type → array of records"
                },
                "resolved_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the lookup"
                }
              }
            },
            "success": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}