AgentPay Domain & Network Lookup

io.github.noah-silverv1.1.0更新于 Oct 1, 2026

Pay-per-call DNS, WHOIS/RDAP, IP and domain reports for agents. x402 USDC on Base or Algorand.

已验证Streamable HTTP可网页运行Web Search & ScrapingFinance

概览

AI 生成的概览

一个远程 MCP 服务器,让助手按次付费执行 DNS、WHOIS/RDAP、IP 和域名报告查询,可用 USDC 或预付额度结算。

功能
提供四个查询工具:lookup_dns 查询 A、AAAA、CNAME、MX、NS、TXT、SOA、CAA、PTR、SRV 等记录;lookup_whois 通过 RDAP 返回注册商、创建与到期时间、状态和名称服务器;lookup_ip 返回网络所有者、地址段、国家和反向 DNS;lookup_domain_report 一次调用汇总注册信息、DNS、邮件服务商、SPF/DMARC 和托管信息。列出工具免费,每次调用工具需付费。数据来自 DNS over HTTPS 和权威注册局 RDAP 服务器。
适用场景
适合助手在任务中需要域名或网络情报的场景,例如核实域名归属、检查 DNS 或邮件认证记录、在进一步操作前了解主机的网络与托管情况。也适合只需偶尔查询、不想注册服务的用户。
运行要求
远程 Streamable HTTP 端点,无需本地运行时或安装包。需要两种方式之一:在 Authorization 头中提供从额度购买端点获得的 Bearer 额度 API 密钥,或使用支持 x402 的客户端在 Base 或 Algorand 上按次以 USDC 付款。需要能访问该端点的网络。
安装前请注意
调用工具会产生费用:每次调用约 0.005 至 0.02 USDC,预付额度购买金额为 1 至 500 美元。使用 x402 按次付款需要能签署 USDC 支付的客户端,即需要处理钱包私钥或等效签名凭据。Authorization 头携带的额度 API 密钥应妥善保密。查询内容会发送到提供方的端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AgentPay Domain & Network Lookup,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "agentpay-lookup": {
      "type": "http",
      "url": "https://agentpay-lookup.agentpay-apis.workers.dev/mcp"
    }
  }
}

README

AgentPay — pay-per-call APIs and MCP tools for AI agents

Web extraction, domain/network intelligence, and document tools that agents can use without signing up. Pay per request with x402 in USDC on Base or Algorand, or prepay credits for an API key. Every product is available as a REST API and as a remote MCP server.

ProductWhat it doesBase URLMCP server
Web ExtractAny URL → clean, LLM-ready markdown + title, metadata, Open Graph, canonical URL and linkshttps://agentpay-extract.agentpay-apis.workers.dev…/mcp
Domain & Network LookupDNS records, WHOIS/RDAP registration, IP ownership + reverse DNS, one-call domain report (email provider, SPF/DMARC, hosting)https://agentpay-lookup.agentpay-apis.workers.dev…/mcp
Doc ToolsPDF → per-page text, RSS/Atom/JSON Feed → JSON, sitemap (via robots.txt) → URL listhttps://agentpay-tools.agentpay-apis.workers.dev…/mcp
BundleAll of the above on one hosthttps://agentpay.agentpay-apis.workers.dev…/mcp

Machine-readable docs: /llms.txt · /openapi.json · /.well-known/x402

Endpoints and pricing

Same price on Base and Algorand. Invalid input is rejected before payment, and x402 payments are only settled if the call succeeds — failed calls cost nothing.

EndpointDescriptionPrice (USDC)
GET /extract/v1/page?url=Web page → markdown, metadata, links (maxChars optional)$0.005
GET /lookup/v1/dns?name=&type=A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, SRV$0.005
GET /lookup/v1/whois?domain=Registrar, created/updated/expires, status, nameservers (RDAP)$0.01
GET /lookup/v1/ip?ip=Network owner, range, country, reverse DNS$0.01
GET /lookup/v1/domain-report?domain=Registration + DNS + email provider + SPF/DMARC + hosting$0.02
GET /tools/v1/pdf-text?url=Per-page text from a PDF URL (≤20 MB)$0.01
GET /tools/v1/feed?url=&limit=RSS / Atom / JSON Feed → normalized items$0.005
GET /tools/v1/sitemap?url=&limit=Site URLs from sitemaps, following robots.txt and indexes$0.005
GET /credits/buy?usd=Prepaid credits ($1–$500) → API key. +10% bonus at $5, +20% at $20= amount

Paying

x402 (no account)

Call any endpoint. You get 402 Payment Required with a base64 PAYMENT-REQUIRED header (x402 v2) offering:

  • Base — eip155:8453, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, exact scheme (EIP-3009)
  • Algorand — algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, USDC ASA 31566704, exact scheme

Any x402 v2 client handles this automatically:

js
import { wrapFetchWithPaymentFromConfig } from '@x402/fetch';import { ExactEvmScheme } from '@x402/evm';import { privateKeyToAccount } from 'viem/accounts';
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {  schemes: [{ network: 'eip155:8453', client: new ExactEvmScheme(privateKeyToAccount(process.env.EVM_PRIVATE_KEY)) }],});const res = await fetchWithPayment('https://agentpay-lookup.agentpay-apis.workers.dev/lookup/v1/domain-report?domain=example.com');console.log(await res.json());

Full example for both networks: examples/x402-client.mjs.

Prepaid credits (fastest for repeated use)

GET https://agentpay.agentpay-apis.workers.dev/credits/buy?usd=5 (paid once via x402) returns { "apiKey": "ak_…" }. Send Authorization: Bearer ak_… on any endpoint or MCP server. Failed calls are refunded automatically. Balance: GET /credits/balance. Algorand holders can also pay by transfer: examples/buy-credits.mjs.

Using the MCP servers

Remote MCP over Streamable HTTP. Listing tools is free; tool calls are paid via x402 (params._meta["x402/payment"], per the x402 MCP transport) or with a credits key header.

Claude Code

bash
claude mcp add --transport http agentpay-lookup https://agentpay-lookup.agentpay-apis.workers.dev/mcp --header "Authorization: Bearer ak_..."

Cursor / Claude Desktop / any client with remote MCP support

json
{  "mcpServers": {    "agentpay-extract": { "url": "https://agentpay-extract.agentpay-apis.workers.dev/mcp", "headers": { "Authorization": "Bearer ak_..." } },    "agentpay-lookup":  { "url": "https://agentpay-lookup.agentpay-apis.workers.dev/mcp",  "headers": { "Authorization": "Bearer ak_..." } },    "agentpay-tools":   { "url": "https://agentpay-tools.agentpay-apis.workers.dev/mcp",   "headers": { "Authorization": "Bearer ak_..." } }  }}
MCP serverTools
agentpay-extractextract_page
agentpay-lookuplookup_dns, lookup_whois, lookup_ip, lookup_domain_report
agentpay-toolstools_pdf_text, tools_feed, tools_sitemap
agentpay (bundle)all 8

Example responses

GET /lookup/v1/whois?domain=anthropic.com

json
{ "domain": "anthropic.com", "registered": true, "registrar": "MarkMonitor Inc.", "created": "2001-10-02T18:10:32Z",  "expires": "2033-10-02T18:10:32Z", "status": ["client delete prohibited", "client transfer prohibited"],  "nameservers": ["isla.ns.cloudflare.com", "randy.ns.cloudflare.com"], "source": "RDAP" }

GET /lookup/v1/ip?ip=1.1.1.1

json
{ "ip": "1.1.1.1", "version": 4, "reverseDns": ["one.one.one.one."],  "network": { "name": "APNIC-LABS", "range": "1.1.1.0 - 1.1.1.255", "country": "AU", "organization": "APNIC Research and Development" } }

Data sources

DNS over HTTPS (Cloudflare 1.1.1.1), IANA RDAP bootstrap → authoritative registry RDAP servers, and the regional internet registries. Web, PDF, feed and sitemap tools fetch the URL you provide at request time.

Support

Open an issue in this repository.

来源:README.md,提交 5df9d36

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.1.0最新Oct 1, 2026