Domain Lookup
by Domain & Email Security in Developer tools
Everything about a domain in one call: DNS records (A, AAAA, NS, MX, TXT, CAA, CNAME), email security graded A-F (mail provider, SPF, DMARC policy, DKIM at common selectors, BIMI, with findings) and RDAP registration (registrar, created, expires, age in days, status, nameservers, DNSSEC).
https://onchaincheck.dev/domain/lookup- Price
- $0.003
- per call in USDC
- Uptime
- 97.7%
- last 30 days
- Response time
- 91 ms
- 594 ms slowest 5%
- Last check
- Passed
- 7 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://onchaincheck.dev/domain/lookup
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://onchaincheck.dev/domain/lookup?domain=stripe.comParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain, URL or email address (stripe.com) |
Example response
The provider's example. We can't check it without paying.
Example response, 115 lines
{
"checkedAt": "2026-11-05T05:44:33.506Z",
"dns": {
"A": [
"198.202.176.41",
"198.137.150.41"
],
"AAAA": [],
"CAA": [
"0 iodef \"mailto:[email protected]\"",
"0 issue \"amazon.com\"",
"0 issue \"digicert.com\"",
"0 issue \"visa.com\""
],
"CNAME": [],
"MX": [
"10 aspmx.l.google.com",
"20 alt1.aspmx.l.google.com",
"20 alt2.aspmx.l.google.com",
"30 aspmx2.googlemail.com",
"30 aspmx3.googlemail.com"
],
"NS": [
"ns-1087.awsdns-07.org",
"ns-1882.awsdns-43.co.uk",
"ns-423.awsdns-52.com",
"ns-705.awsdns-24.net"
],
"TXT": [
"00D50000000JV6w=1TBTQ0000000CIv;00DDn000000HWol=1TBVY00000002Hx;00D4x000003vxGL=1TBPQ00000008Tp;00Dfn00000BUlWD=1TBan0000000LPR",
"MS=ms80697640",
"VISA=38A3D7A1AA5D71E43525144DD886F6B8",
"_2m7hdcar6jar33f5vyr8h0xaru6rvrn",
"_c2ygqoyhcuwjjnqk7h1mcm0x144rm1z"
]
},
"domain": "stripe.com",
"email": {
"bimi": false,
"dkim": {
"selectorsChecked": [
"google",
"selector1",
"selector2",
"k1",
"s1"
],
"selectorsFound": [
"google",
"s1"
]
},
"dmarc": {
"pct": 100,
"policy": "reject",
"record": "v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:[email protected]; ruf=mailto:[email protected];",
"reporting": true,
"subdomainPolicy": null
},
"findings": [],
"grade": "A",
"mx": [
{
"host": "aspmx.l.google.com",
"priority": 10
},
{
"host": "alt1.aspmx.l.google.com",
"priority": 20
},
{
"host": "alt2.aspmx.l.google.com",
"priority": 20
},
{
"host": "aspmx2.googlemail.com",
"priority": 30
},
{
"host": "aspmx3.googlemail.com",
"priority": 30
}
],
"provider": "Google Workspace",
"spf": {
"all": "~",
"lookups": 3,
"multiple": false,
"record": "v=spf1 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com include:_spf.qualtrics.com ~all"
}
},
"notes": "DNS from Cloudflare's resolver (1.1.1.1 over HTTPS). email grades SPF, DMARC and DKIM (common selectors only; a custom selector won't be found) A-F. registration is RDAP from the registry (null when t… (240 chars, truncated in this example)",
"registration": {
"ageDays": 11377,
"created": "1995-09-12T04:00:00Z",
"dnssec": false,
"expires": "2027-09-11T04:00:00Z",
"nameservers": [
"ns-1087.awsdns-07.org",
"ns-1882.awsdns-43.co.uk",
"ns-423.awsdns-52.com",
"ns-705.awsdns-24.net"
],
"registrar": "SafeNames Ltd.",
"source": "rdap.verisign.com",
"status": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited",
"server delete prohibited",
"server transfer prohibited"
],
"updated": "2025-10-01T01:39:51Z"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://onchaincheck.dev/domain/lookup?domain=stripe.com'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://onchaincheck.dev/domain/lookup?domain=stripe.com' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fonchaincheck.dev%2Fdomain%2Flookup
const res = await pay("https://onchaincheck.dev/domain/lookup?domain=stripe.com");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://onchaincheck.dev/domain/lookup?domain=stripe.com")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 7 h ago | Passed | 402 | 159 ms | $0.003 |
| 17 h ago | Passed | 402 | 26 ms | $0.003 |
| 36 h ago | Timed out | - | - | - |
| 4 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 62 ms | $0.003 |
Show 10 older checks
| 5 days ago | Passed | 402 | 196 ms | $0.003 |
| 5 days ago | Passed | 402 | 40 ms | $0.003 |
| 6 days ago | Passed | 402 | 97 ms | $0.003 |
| 6 days ago | Passed | 402 | 235 ms | $0.003 |
| 7 days ago | Passed | 402 | 94 ms | $0.003 |
| 7 days ago | Passed | 402 | 106 ms | $0.003 |
| 7 days ago | Passed | 402 | 102 ms | $0.003 |
| 7 days ago | Passed | 402 | 52 ms | $0.003 |
| 8 days ago | Passed | 402 | 41 ms | $0.003 |
| 8 days ago | Passed | 402 | 766 ms | $0.003 |