AgentPay (all tools)

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

Pay-per-call web extract, DNS/WHOIS/IP lookup, PDF/RSS/sitemap tools. x402 USDC on Base/Algorand.

已驗證Streamable HTTP可網頁執行Web Search & ScrapingFiles & StorageDeveloper Tools

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理以按次付費方式擷取網頁內容、查詢 DNS/WHOIS/IP,並解析 PDF、摘要來源與網站地圖。

功能
提供八個付費工具:extract_page 把任意 URL 轉成乾淨的 markdown 及中繼資料與連結;lookup_dns、lookup_whois、lookup_ip 和 lookup_domain_report 回傳 DNS 記錄、RDAP 註冊資訊、IP 歸屬以及合併的網域報告;tools_pdf_text、tools_feed 和 tools_sitemap 回傳 PDF 逐頁文字、正規化後的 RSS/Atom/JSON 摘要項目與網站 URL 清單。列出工具免費,每次工具呼叫依請求計費。
適用情境
適合助理需要即時網頁內容、網域或網路情報,或需要解析文件與摘要來源,而不想自行建置抓取與查詢用戶端的情境。也適合呼叫量不大、按次付費比訂閱更划算的用途。
執行需求
使用遠端 Streamable HTTP 端點,不需要本機執行環境或安裝套件。需要具備 x402 支付能力的用戶端並在 Base 或 Algorand 上持有 USDC 錢包,或使用預付額度 API 金鑰,透過 Authorization 標頭以 Bearer 方式傳送。需要能連線到 AgentPay 的主機。
安裝前請注意
工具呼叫會產生費用:每次 0.005 至 0.02 USDC,或購買 1 至 500 美元的預付額度。使用 x402 支付需要能簽署 USDC 交易的私鑰或錢包,應視為敏感資訊。Authorization 標頭攜帶額度 API 金鑰。服務會抓取你提供的任意 URL,請求會傳送到第三方主機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AgentPay (all tools),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "agentpay-bundle": {
      "type": "http",
      "url": "https://agentpay.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