Domain lookup API and MCP for AI agents
TollNode gives Claude, Cursor or any AI agent facts about any domain (DNS records, HTTPS certificate, registration and expiry, email security score), each a fraction of a cent, over API and MCP.
Ask in plain words, like 'will stripe.com's email pass SPF, DKIM and DMARC', and get a score and what to fix.
No subscription · Sign-up optional · From $0.003 per call · Charged only when it works · No account needed
Check stripe.com's email security: SPF, DKIM and DMARC
TollNode · email_auth$0.003 · 1 domain · 2 s
| Check | Result |
|---|---|
| Score | 100 |
| DMARC policy | reject |
| DKIM selectors found | |
| SPF | present |
Real result.
What your agent can check about a domain
- from $0.003
DNS and registration
Domain lookup API: DNS, SSL and registration
Where it points and who registered it.
- Domain
- stripe.com
- Registrar
- SafeNames Ltd.
- Registered
- 1995-09-12
- Expires
- 2027-09-11 (299 days)
You get
- a records: the IP addresses it resolves to
- mx: mail servers and priorities
- ns: name servers
- registrar: who registered it
- expires: the date it lapses
- from $0.003
Certificate and email security
Is the certificate fine and will email pass?
- Certificate valid
- Yes, issued by DigiCert, Inc.
- Days left
- 175
- Email score
- 100
- DMARC policy
- reject
You get
- valid: whether the certificate checks out
- days left: days until it expires
- issuer: who issued it
- score: email security score 0 to 100
- fixes: what to change in SPF, DKIM or DMARC
Every result is structured JSON your agent can sort, filter, summarize or turn into a spreadsheet.
What people ask their AI to do with it
IT admins
Catch an expiring certificate
“How many days until the certificate on our main domain expires?”
ssl
Cost today$0.003
Email marketers
Fix deliverability
“Will our newsletter domain pass SPF, DKIM and DMARC, and what should I change?”
email auth
Cost today$0.003
Domain investors
Check a domain before you bid
“Who is the registrar for this domain and when does it expire?”
registration
Cost today$0.003
Security teams
Review a vendor
“Where does this vendor's domain point and what is its email policy?”
dns + email auth
Cost today$0.006
Developers
Debug a launch
“Is the DNS for our new domain pointing where I expect?”
dns
Cost today$0.003
Agencies
Audit a client
“Run all four checks on the client's domain”
dns + ssl + email auth + registration
Cost today$0.012
Use it as a Domain lookup MCP server in Claude, Cursor or Codex
Connect once. Then just ask.
Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Domain lookup node. Call POST https://tollnode.com/api/v1/nodes/domain with an "action" (dns, ssl, email_auth, registration) and its fields: domain (required). Each action has its own price and is charged only when it returns a result. Over MCP, call the "domain" tool; use list_models to see prices. Return results as tables when I ask for lists.4 actions, one node
Send action plus the fields that action needs, to the same address. Each action has its own price, charged only when it returns a result. Leave out action and you get dns.
- dns$0.003
Every public DNS record of a domain. A, AAAA, CNAME, MX, NS, TXT and CAA records, from public resolvers.
needs: domain
- ssl$0.003
The HTTPS certificate a domain serves. Whether it is valid, issuer, valid from and to, days left, covered names and TLS version.
needs: domain
- registration$0.003
Who registered a domain and when it expires. Registered and expiry dates, days to expiry, registrar, status and name servers.
needs: domain
- email_auth$0.003
How well a domain's email is authenticated. MX, SPF, DMARC policy, DKIM selectors found, a 0-100 score and the fixes to make.
needs: domain
{"action":"dns","domain":"stripe.com"}{"action":"ssl","domain":"stripe.com"}POST either body to https://tollnode.com/api/v1/nodes/domain. From an AI assistant you don't write this yourself: ask in plain words and it picks the action.
Charged only when a call returns a result. Failed or empty calls cost $0.
Domain lookup without running your own tools
No subscription, no credit packs
Pay per action: dns is $0.003, ssl is $0.003, email auth is $0.003.
No DNS tools, no registrar account, no email-testing service
Your agent calls TollNode. You never set up billing or request access with anyone else.
Only charged when it works
If a call returns nothing or fails, it costs nothing.
One connection, much more
The same setup also gives your agent Google search, YouTube, Maps, images and video, so one prompt can chain them.
FAQ
- Is this an official registry lookup?
- It uses public DNS and registration data. TollNode runs the checks itself and returns them as structured JSON, one action per kind of check.
- Can I use it as a Domain lookup MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "domain" tool appears with its fields and price.
- What are the four actions?
- dns returns the records, ssl returns the certificate and days left, registration returns registrar and expiry, email_auth scores SPF, DKIM and DMARC and lists fixes.
- Can it buy or transfer a domain?
- No. It only reads public facts. Registrant contact details are redacted by registries.
- What do I send?
- action and domain, for example stripe.com. A full URL also works.
- Do I need an account with another service?
- No. Your agent calls TollNode, and you never log in to another service or share cookies.
- What if nothing comes back?
- You're not charged. TollNode only collects payment when a usable result is returned, and your agent can try a different input.
Works well with
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/domain
Input
| Field | Type | Notes |
|---|---|---|
| action* | enum | What to check; each action has its own price. Default dns (dns, ssl, registration, email_auth) |
| domain* | string | A domain name, e.g. stripe.com (a URL works too) |
Example response
{
"mx": [
{
"host": "aspmx.l.google.com",
"priority": 10
}
],
"spf": "v=spf1 ip4:198.2.180.60/32 include:spf1.stripe.com ~all",
"dmarc": {
"policy": "reject",
"record": "v=DMARC1; p=reject; pct=100; rua=mailto:dmarc-reports@stripe.com;",
"reports": "mailto:dmarc-reports@stripe.com"
},
"fixes": [],
"score": 100,
"domain": "stripe.com",
"dkimSelectorsFound": [
"google",
"s1",
"s2"
]
}Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.