Api Endpoint

Domain DNS Lookup

Live DNS records resolved via Cloudflare 1.1.1.1 DNS-over-HTTPS (public facts, real time). Query: ?name=anthropic.com&type=MX (type in A|AAAA|MX|TXT|NS|CNAME, default MX). Or ?name=anthropic.com&check=email -> combined MX + SPF + DMARC with an email_ready boolean, useful before emailing or invoicing a contact. JSON with records list; 5 min cache.

Open interactive test console

Offering

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

Endpoint context

URL
https://data.greeneris.io/v1/domain/dns
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
DNS, domain, Email, MX, Verification

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": "0x6ab8efe305cce67daa48c97bde29c04402822dff"
  }
]

Observed health

Status
Healthy
Latest latency
98 ms
Average latency
874 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Domain to resolve, e.g. anthropic.com"
        },
        "type": {
          "type": "string",
          "enum": [
            "A",
            "AAAA",
            "MX",
            "TXT",
            "NS",
            "CNAME"
          ],
          "default": "MX",
          "description": "DNS record type"
        },
        "check": {
          "type": "string",
          "enum": [
            "email"
          ],
          "description": "check=email returns combined MX + SPF + DMARC instead of raw records"
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "json",
  "example": {
    "type": "MX",
    "domain": "anthropic.com",
    "source": "Cloudflare 1.1.1.1 DNS-over-HTTPS (live resolution)",
    "records": [
      {
        "ttl": 1800,
        "data": "1 aspmx.l.google.com.",
        "name": "anthropic.com"
      }
    ],
    "record_count": 1
  }
}