Api Endpoint

1gateway

Use when an agent must check a domain: does it resolve, who hosts its DNS and mail, is email authenticated, how old is it, when does it expire. Input: domain (e.g. example.com; URLs accepted). Output: JSON DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA), mail provider, parsed SPF and DMARC, DNS provider, and RDAP registration (registrar, created, expires, age in days, status, DNSSEC). No contact data. Example: ?domain=google.com

Open interactive test console

Offering

Provider
1gateway.dev
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://1gateway.dev/v1/domain/lookup
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
domain, DNS, rdap-whois, email-security, spf-dmarc

Payment pricing

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

Payment option 1
0.0045 USDC
Atomic price: 4500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.0045 USDC
Atomic price: 4500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4500",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "4500",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
294 ms
Average latency
525 ms
HTTP status
402
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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "Public domain or hostname (punycode for IDNs, e.g. xn--...); a URL is reduced to its hostname. Internal/reserved names → 400 (not charged)",
          "maxLength": 2048,
          "examples": [
            "google.com"
          ]
        }
      },
      "required": [
        "domain"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "domain": {
              "description": "Public domain or hostname (punycode for IDNs, e.g. xn--...); a URL is reduced to its hostname. Internal/reserved names → 400 (not charged)",
              "examples": [
                "google.com"
              ],
              "maxLength": 2048,
              "type": "string"
            }
          },
          "required": [
            "domain"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "cache": {
              "type": "string"
            },
            "dns": {
              "additionalProperties": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "type": "object"
            },
            "dnsProvider": {
              "type": "string"
            },
            "dnsStatus": {
              "type": "string"
            },
            "domain": {
              "type": "string"
            },
            "mail": {
              "properties": {
                "acceptsMail": {
                  "type": "boolean"
                },
                "dmarc": {
                  "properties": {
                    "aggregateReportTargets": {
                      "type": "integer"
                    },
                    "alignmentDkim": {
                      "type": "string"
                    },
                    "alignmentSpf": {
                      "type": "string"
                    },
                    "forensicReportTargets": {
                      "type": "integer"
                    },
                    "pct": {
                      "type": "integer"
                    },
                    "policy": {
                      "type": "string"
                    },
                    "present": {
                      "type": "boolean"
                    },
                    "subdomainPolicy": {
                      "type": "null"
                    }
                  },
                  "type": "object"
                },
                "provider": {
                  "type": "string"
                },
                "spf": {
                  "properties": {
                    "all": {
                      "type": "string"
                    },
                    "includes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "lookupMechanisms": {
                      "type": "integer"
                    },
                    "multipleRecords": {
                      "type": "boolean"
                    },
                    "policy": {
                      "type": "string"
                    },
                    "present": {
                      "type": "boolean"
                    },
                    "record": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "mx": {
              "items": {
                "properties": {
                  "host": {
                    "type": "string"
                  },
                  "priority": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "registration": {
              "properties": {
                "ageDays": {
                  "type": "integer"
                },
                "available": {
                  "type": "boolean"
                },
                "created": {
                  "type": "string"
                },
                "daysUntilExpiry": {
                  "type": "integer"
                },
                "dnssec": {
                  "type": "boolean"
                },
                "domain": {
                  "type": "string"
                },
                "expires": {
                  "type": "string"
                },
                "nameservers": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "registeredDomain": {
                  "type": "string"
                },
                "registrar": {
                  "properties": {
                    "ianaId": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "source": {
                  "type": "string"
                },
                "status": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "updated": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "resolves": {
              "type": "boolean"
            },
            "sources": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "verificationTokens": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "domain",
            "resolves",
            "dnsStatus",
            "dns",
            "mx",
            "mail",
            "dnsProvider",
            "verificationTokens",
            "registration",
            "cache",
            "sources",
            "notes"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}