
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.
概覽
一個遠端 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 付款。需要能連線至該端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AgentPay Domain & Network Lookup,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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.
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.
Paying
x402 (no account)
Call any endpoint. You get 402 Payment Required with a base64 PAYMENT-REQUIRED header (x402 v2) offering:
- Base —
eip155:8453, USDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, exact scheme (EIP-3009) - Algorand —
algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, USDC ASA31566704, exact scheme
Any x402 v2 client handles this automatically:
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
Cursor / Claude Desktop / any client with remote MCP support
Example responses
GET /lookup/v1/whois?domain=anthropic.com
GET /lookup/v1/ip?ip=1.1.1.1
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- v1.1.0最新Oct 1, 2026
