Api Endpoint

AveDaris Agent Utilities

DNS lookup over HTTPS: send a hostname and up to six record types (A, AAAA, CNAME, MX, TXT, NS) and get the public answers with TTLs. Use it to check mail routing, verification TXT records or where a domain points. $0.002 USDC per call on Base.

Open interactive test console

Offering

Provider
api.avedaris.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.avedaris.com/v1/paid/dns-lookup
MIME type
application/json
First seen
2026-10-16T03:04:46.000Z
Last seen
Tags
web-intelligence, DNS, mx-records, txt-records, 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
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6c10344d3f96511438458e07a6f2be568a76dfff"
  }
]

Observed health

Status
Healthy
Latest latency
570 ms
Average latency
994 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"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "hostname"
      ],
      "properties": {
        "hostname": {
          "type": "string",
          "minLength": 3,
          "maxLength": 253,
          "description": "Public hostname to resolve, without scheme or path, e.g. example.com. 3 to 253 characters. Private and internal names are rejected."
        },
        "types": {
          "type": "array",
          "maxItems": 6,
          "items": {
            "type": "string",
            "enum": [
              "A",
              "AAAA",
              "CNAME",
              "MX",
              "TXT",
              "NS"
            ]
          },
          "description": "Optional DNS record types to query, up to 6, from A, AAAA, CNAME, MX, TXT and NS. Defaults to A, AAAA and MX when omitted."
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "hostname": {
              "description": "Public hostname to resolve, without scheme or path, e.g. example.com. 3 to 253 characters. Private and internal names are rejected.",
              "maxLength": 253,
              "minLength": 3,
              "type": "string"
            },
            "types": {
              "description": "Optional DNS record types to query, up to 6, from A, AAAA, CNAME, MX, TXT and NS. Defaults to A, AAAA and MX when omitted.",
              "items": {
                "enum": [
                  "A",
                  "AAAA",
                  "CNAME",
                  "MX",
                  "TXT",
                  "NS"
                ],
                "type": "string"
              },
              "maxItems": 6,
              "type": "array"
            }
          },
          "required": [
            "hostname"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "result": {
              "description": "Output of dns.lookup. The fields below are the documented core; some responses add further detail fields.",
              "properties": {
                "hostname": {
                  "description": "The normalized hostname that was queried.",
                  "type": "string"
                },
                "records": {
                  "additionalProperties": {
                    "description": "Answers for one record type.",
                    "properties": {
                      "answers": {
                        "description": "Records returned; empty when none exist.",
                        "items": {
                          "properties": {
                            "data": {
                              "description": "Record value, e.g. an IP address or \"10 mail.example.com.\" for MX.",
                              "type": "string"
                            },
                            "name": {
                              "description": "Owner name of the record.",
                              "type": "string"
                            },
                            "ttl": {
                              "description": "Time to live in seconds.",
                              "type": "integer"
                            },
                            "type": {
                              "description": "Numeric record type, e.g. 1 = A, 28 = AAAA, 15 = MX, 16 = TXT.",
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "status": {
                        "description": "DNS response code; 0 means success (NOERROR), 3 means the name does not exist.",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "description": "One entry per requested record type (A, AAAA, MX, ...), each with the resolver status and answers.",
                  "type": "object"
                },
                "resolver": {
                  "description": "Resolver used for the lookup, e.g. cloudflare-doh.",
                  "type": "string"
                }
              },
              "required": [
                "hostname",
                "records",
                "resolver"
              ],
              "type": "object"
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}