llms.txt Content
# AgentPay APIs
> Pay-per-call web, domain and document APIs for AI agents. No signup: pay per request with x402 (USDC on Algorand or Base) or with prepaid credits.
## Web Extract — Any URL to clean, LLM-ready markdown and structured metadata.
Fetches a web page and returns the main content as markdown, plus title, description, Open Graph metadata, canonical URL and all outbound links. Built for agents that need to read the web cheaply without running a browser.
- GET https://agentpay.agentpay-apis.workers.dev/extract/v1/page?url=https%3A%2F%2Fexample.com — Fetch a URL and return markdown, metadata and links. ($0.005 per call)
- url (required): http(s) URL to read
- maxChars: Max markdown characters (1000-200000, default 50000)
## Domain & Network Lookup — DNS, WHOIS/RDAP, IP ownership and one-call domain reports.
Authoritative-source lookups for agents doing research, lead qualification, security triage or ops: DNS records over HTTPS, registry WHOIS via RDAP, IP network ownership with reverse DNS, and a combined domain report (registration, DNS, email provider, SPF/DMARC, hosting).
- GET https://agentpay.agentpay-apis.workers.dev/lookup/v1/dns?name=example.com — Resolve DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, SRV). ($0.005 per call)
- name (required): Hostname to resolve
- type: Record type, default A
- GET https://agentpay.agentpay-apis.workers.dev/lookup/v1/whois?domain=example.com — Domain registration data (registrar, created/expires, status, nameservers) via RDAP. ($0.01 per call)
- domain (required): Domain name
- GET https://agentpay.agentpay-apis.workers.dev/lookup/v1/ip?ip=1.1.1.1 — IP network owner, range, country and reverse DNS. ($0.01 per call)
- ip (required): IPv4 or IPv6 address
- GET https://agentpay.agentpay-apis.workers.dev/lookup/v1/domain-report?domain=example.com — One-call domain report: registration, DNS, email provider, SPF/DMARC, hosting. ($0.02 per call)
- domain (required)
OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"AgentPay APIs","version":"1.1.0","contact":{"name":"AgentPay","email":"nasilver20@gmail.com","url":"https://github.com/noah-silver/agentpay"},"description":"Pay per call with x402 v2 in USDC on Algorand (algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k) or Base (eip155:8453), or use a prepaid credits key."},"servers":[{"url":"https://agentpay.agentpay-apis.workers.dev"}],"paths":{"/extract/v1/page":{"get":{"operationId":"extract_page","tags":["Web Extract"],"summary"