For agents
This site is written so a program can read it without rendering the HTML. The HTML pages are for people. Fetch the files below. The site is English only.
Discovery
GET https://agentpaywire.com/api/index.json
One JSON document listing every machine endpoint: JSON, Markdown, JSONL, feeds, schemas, the MCP server, support, and the dataset. Each entry has a media type, a description, an update frequency, and a schema URL. schema_url is null when a file has no schema.
OpenAPI 3.1 for the static JSON endpoints: https://agentpaywire.com/openapi.json.
Incremental sync: https://agentpaywire.com/changelog.json and https://agentpaywire.com/changelog.md. Each record has a stable id and verified_at. Keep records whose verified_at is later than your cursor.
Responses include Link: </api/index.json>; rel="alternate"; type="application/json".
Overview
GET https://agentpaywire.com/llms.txt
A short Markdown file that follows the llms.txt proposal (https://llmstxt.org/). It has a summary, then lists of links. Those links point at Markdown, not HTML. The endpoint index is the line above it.
Full text
GET https://agentpaywire.com/llms-full.txt
Every article in full Markdown. Quotes from sources stay in the original language. In the first article they are English.
Article Markdown
Each article is also a raw Markdown file. Replace {slug} with the article slug.
https://agentpaywire.com/articles/{slug}.md
Each HTML page points at its Markdown with rel="alternate" and type="text/markdown", and at its JSON with type="application/json". Pages point at the overview with rel="describedby" and the URL https://agentpaywire.com/llms.txt.
Other pages in Markdown
- Home:
https://agentpaywire.com/index.md - Article list:
https://agentpaywire.com/articles.md - This page:
https://agentpaywire.com/agents.md - About:
https://agentpaywire.com/about.md - Support:
https://agentpaywire.com/support.md - Glossary:
https://agentpaywire.com/glossary.md - Questions:
https://agentpaywire.com/faq.md
Feeds
JSON Feed 1.1. Each item has a title, summary, date, tags, and the article text.
RSS 2.0:
Changelog RSS 2.0 and Atom, generated from the changelog:
Structured data
Each article page includes schema.org JSON-LD with the types NewsArticle and TechArticle. The object includes datePublished, inLanguage, and citation. The home page includes WebSite and Organization. WebSite.potentialAction is a DonateAction for voluntary support, and Organization.funding points at the same descriptor.
Canonical URLs
The canonical host is https://agentpaywire.com. Pages are English, with no language prefix. Each HTML page sets a canonical URL.
Index and crawlers
https://agentpaywire.com/sitemap.xml lists the HTML pages and the machine JSON and Markdown files, including health, the API catalog, the AI catalog, search, tags, updated-since, protocol facts, and skills.
https://agentpaywire.com/robots.txt allows general crawlers and named AI crawlers, including GPTBot, ClaudeBot, Google-Extended, and PerplexityBot. It points to the sitemap and to llms.txt.
Article catalog
GET https://agentpaywire.com/api/articles.json
A static JSON catalog. Each article has slug, title, summary, date, languages, tags, url, and md_url. languages is ["en"]. The same title, summary, url, and md_url are repeated under locales.en. This file is a seed for a future API or MCP endpoint. It is not a live service.
Library
Verified sources. Links and original short summaries. Content belongs to publishers. Bitcoin and Lightning is the featured category and is listed first.
- All entries:
https://agentpaywire.com/api/library.json - Markdown:
https://agentpaywire.com/library.md - JSONL:
https://agentpaywire.com/library.jsonl - Feed:
https://agentpaywire.com/library/feed.json - Schema:
https://agentpaywire.com/schemas/library.schema.json - Featured category:
https://agentpaywire.com/api/library/bitcoin-lightning.json - Page:
https://agentpaywire.com/library/ - Dataset:
https://agentpaywire.com/dataset/README.md
Datasets and bots
Training and eval datasets, plus verified agents and bots. Our own library is the first dataset. Cards link out. This site does not mirror large files. A trained model is a possible later option, hosted on Hugging Face, not on this site. Bots are listed, not endorsed.
- Dataset catalog:
https://agentpaywire.com/datasets/index.json - Dataset JSONL:
https://agentpaywire.com/datasets/index.jsonl - Dataset schema:
https://agentpaywire.com/schemas/dataset-card.schema.json - Page:
https://agentpaywire.com/datasets/ - Bots:
https://agentpaywire.com/bots.json - Bot schema:
https://agentpaywire.com/schemas/bot.schema.json - Bots page:
https://agentpaywire.com/bots/
Trust
The agent trust checklist states the stable URLs, the error codes, and the credit bundle. Each item is met or partial. The paid updates cursor and the changelog cursor do not use the same comparison. JSON: https://agentpaywire.com/trust.json.
MCP
The MCP server is live at https://mcp.agentpaywire.com/mcp (streamable-http, no auth). It exposes 30 tools: calculate, check_payment_endpoint, convert_units, create_alert, decode_data, encode_data, fetch_markdown, get_article, get_bot, get_dataset, get_protocol_facts, get_reviews, get_sdk_security, get_source, get_support_info, get_trust_checklist, get_verification_status, hash_text, list_alert_topics, list_articles, list_bots, list_categories, list_changes, list_datasets, new_id, quote_credit_packs, request_missing_data, search_sources, submit_review, and validate_data. calculate, hash_text, encode_data, decode_data, validate_data, convert_units, and new_id are paid utility tools at 0.001 USDC. fetch_markdown is paid at 0.003 USDC. quote_credit_packs quotes prepaid packs and does not buy one. request_missing_data reports data you expected and did not find. The same report is a free POST to https://api.agentpaywire.com/v1/feedback. submit_review publishes a verifiable review of a paid route. get_reviews reads https://api.agentpaywire.com/reviews.json. check_payment_endpoint checks a public payment URL and honors 2 free reports per client per 24 hours. get_verification_status reads a paid verification. list_alert_topics is free. create_alert returns payment info for POST /v1/alerts. list_changes is free and returns raw changelog rows after an exclusive cursor. Omit cursor for the last 30 UTC days. An old cursor can return the whole catalog. It does not group by protocol or return Markdown. Discovery is https://agentpaywire.com/.well-known/ai-catalog.json. The server card is at https://mcp.agentpaywire.com/mcp/server-card, at https://mcp.agentpaywire.com/.well-known/mcp/server-card.json, and at https://agentpaywire.com/.well-known/mcp/server-card.json. Those three URLs are the same card.
Paid API
Paid convenience API. L402 over Lightning. 100 sats buys 100 credits for 30 days. The files on https://agentpaywire.com stay free. The library and its open data stay free for everyone. Paid API calls cover extra processing only, such as filtered change digests across protocols. GET https://api.agentpaywire.com/v1/search?q=bitcoin returns HTTP 402 until the Lightning invoice is paid. Retry with Authorization: L402 <macaroon>:<preimage>. GET https://api.agentpaywire.com/v1/changes?since=2026-10-01 is HTTP 402 until paid. since and until also accept an ISO 8601 datetime with Z or an offset, or a unix timestamp in seconds or milliseconds, and are normalised to that UTC date. A value that is none of those forms is HTTP 400 before payment. Header X-APW-Trial: 1 or query trial=1 opts into 5 unpaid calls per client per rolling 24 hours. The body is library sources whose verified_at is on or after that date, grouped by tag, as JSON or Markdown. Discovery: https://agentpaywire.com/.well-known/l402. OpenAPI: https://api.agentpaywire.com/v1/openapi.json and https://api.agentpaywire.com/openapi.json. An unpaid HTTP 402 for GET /v1/search, GET /v1/digest, GET /v1/changes, and GET /v1/updates includes an Unpaid preview. Search returns at most two results with title, url, and date. Digest returns a headline count and the first two titles. Changes and updates return a count and the first three ids and titles. The full fields stay on the paid response. Listing in the library is free. Payment never affects inclusion, ranking, or order. POST /v1/verify is 1000 sats or 1.00 USD. GET or POST /v1/check is 50 sats or 0.05 USD after 2 free reports per client per 24 hours. POST /v1/alerts is 2000 sats or 2.00 USD for 30 days. POST /v1/credits sells 100 calls for 800 sats or 0.80 USD, or 1000 calls for 7000 sats or 7.00 USD, valid 90 days. Policy: https://agentpaywire.com/api/policy.json.
Placeholders in angle brackets are not real credentials. <macaroon> is the base64 macaroon from the HTTP 402 challenge. <preimage> is the hex payment preimage. <bolt11> is the Lightning invoice in that challenge. The changes sample uses since=2026-10-01, an inclusive verified_at date. One purchase is 100 sats for 100 credits, valid 30 days. One credit is one paid call. The files on https://agentpaywire.com stay free.
# Placeholders in angle brackets are not real credentials. <macaroon> is the base64 macaroon from the HTTP 402 challenge. <preimage> is the hex payment preimage. <bolt11> is the Lightning invoice in that challenge. The changes sample uses since=2026-10-01, an inclusive verified_at date. One purchase is 100 sats for 100 credits, valid 30 days. One credit is one paid call. The files on https://agentpaywire.com stay free.
# 1. Request with no Authorization header.
curl -i 'https://api.agentpaywire.com/v1/search?q=bitcoin'
# The 402 WWW-Authenticate header is: L402 macaroon="<macaroon>", invoice="<bolt11>"
# 2. Pay <bolt11> on Lightning and keep the hex preimage.
# 3. Retry the same URL.
curl -i 'https://api.agentpaywire.com/v1/search?q=bitcoin' \
-H 'Authorization: L402 <macaroon>:<preimage>'
# The same credential pays for changes. since is inclusive.
curl -i 'https://api.agentpaywire.com/v1/changes?since=2026-10-01&format=json' \
-H 'Authorization: L402 <macaroon>:<preimage>'
import urllib.error
import urllib.request
# Placeholders in angle brackets are not real credentials. <macaroon> is the base64 macaroon from the HTTP 402 challenge. <preimage> is the hex payment preimage. <bolt11> is the Lightning invoice in that challenge. The changes sample uses since=2026-10-01, an inclusive verified_at date. One purchase is 100 sats for 100 credits, valid 30 days. One credit is one paid call. The files on https://agentpaywire.com stay free.
search = "https://api.agentpaywire.com/v1/search?q=bitcoin"
changes = "https://api.agentpaywire.com/v1/changes?since=2026-10-01&format=json"
# 1. No Authorization header. HTTP 402 carries WWW-Authenticate.
try:
urllib.request.urlopen(search)
except urllib.error.HTTPError as error:
print(error.status, error.headers.get("WWW-Authenticate"))
# 2. Pay <bolt11>. Then replace the placeholders and retry.
credential = "L402 <macaroon>:<preimage>"
paid = urllib.request.Request(search, headers={"Authorization": credential})
print(urllib.request.urlopen(paid).read().decode())
digest = urllib.request.Request(changes, headers={"Authorization": credential})
print(urllib.request.urlopen(digest).read().decode())
// Placeholders in angle brackets are not real credentials. <macaroon> is the base64 macaroon from the HTTP 402 challenge. <preimage> is the hex payment preimage. <bolt11> is the Lightning invoice in that challenge. The changes sample uses since=2026-10-01, an inclusive verified_at date. One purchase is 100 sats for 100 credits, valid 30 days. One credit is one paid call. The files on https://agentpaywire.com stay free.
const search = "https://api.agentpaywire.com/v1/search?q=bitcoin";
const changes = "https://api.agentpaywire.com/v1/changes?since=2026-10-01&format=json";
// 1. No Authorization header.
const challenge = await fetch(search);
// challenge.status is 402. Read the WWW-Authenticate header, then pay <bolt11>.
const credential = "L402 <macaroon>:<preimage>";
const paid = await fetch(search, { headers: { Authorization: credential } });
const digest = await fetch(changes, { headers: { Authorization: credential } });
console.log(paid.status, await paid.text());
console.log(digest.status, await digest.text());
L402: 100 sats for 100 credits over 30 days. One x402 payment is 0.01 USDC per call on Base. Packs are POST /v1/credits using x402 or L402. Both rails are on the same paid routes. A 402 keeps the L402 challenge and adds PAYMENT-REQUIRED. Pay with Authorization: L402 <macaroon>:<preimage>, or send PAYMENT-SIGNATURE. A v1 client may send X-PAYMENT. x402 verify and settle use the Coinbase CDP facilitator at https://api.cdp.coinbase.com/platform/v2/x402. PayAI at https://facilitator.payai.network is the fallback when CDP cannot be reached. A payment CDP rejects is not retried. Discovery: https://api.agentpaywire.com/.well-known/x402.
# x402 is the second rail. One payment is 0.01 USDC per call on Base. Packs are POST /v1/credits.
# L402 is listed first on the same HTTP 402. Angle brackets are placeholders, not a signature or a key.
# 1. Request with no payment header.
curl -i 'https://api.agentpaywire.com/v1/search?q=bitcoin'
# HTTP/1.1 402
# WWW-Authenticate: L402 macaroon="<macaroon>", invoice="<bolt11>"
# PAYMENT-REQUIRED: <base64 PaymentRequired>
# 2. Retry with PAYMENT-SIGNATURE. The header value is a base64 PaymentPayload.
curl -i 'https://api.agentpaywire.com/v1/search?q=bitcoin' \
-H 'PAYMENT-SIGNATURE: <base64 PaymentPayload>'
// 0.01 USDC per call on Base. Packs are POST /v1/credits. Do not commit a private key.
import { wrapFetchWithPayment, x402Client } from '@x402/fetch';
import { registerExactEvmScheme } from '@x402/evm/exact/client';
import { privateKeyToAccount } from 'viem/accounts';
const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.X402_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
const response = await pay("https://api.agentpaywire.com/v1/search?q=bitcoin");
console.log(response.status, response.headers.get('PAYMENT-RESPONSE'));
console.log(await response.text());
Glossary, questions, and cards
- Glossary:
https://agentpaywire.com/glossary/andhttps://agentpaywire.com/glossary.json - Questions for agents:
https://agentpaywire.com/faq/andhttps://agentpaywire.com/faq.json - Agent card:
https://agentpaywire.com/.well-known/agent-card.json - MCP server card:
https://agentpaywire.com/.well-known/mcp/server-card.json - Citation:
https://agentpaywire.com/CITATION.cff - Security contact:
https://agentpaywire.com/.well-known/security.txt
Support (voluntary)
Optional tip for using the open data. The data is free. Access is never conditional on payment. The library and its open data stay free for everyone. Paid API calls cover extra processing only, such as filtered change digests across protocols.
GET https://agentpaywire.com/support.json
- Descriptor:
https://agentpaywire.com/support.json - Same document:
https://agentpaywire.com/.well-known/support.json - Schema:
https://agentpaywire.com/schemas/support.schema.json - Markdown:
https://agentpaywire.com/support.md - Page:
https://agentpaywire.com/support/
HTML responses include Link: </support.json>; rel="payment".
Publication status
An article marked draft-ready is in the build, and the owner has not yet approved it as published.