A whole job, one payment.
101 packs · $0.05–$1.50 · partial-success per stepOne payment runs a whole job: a pack orchestrates the right tools server-side and returns every step's result in one envelope. Callable as MCP prompts too.
Three ways in.
Same surface underneath - payment handled automatically: proof-of-work for free tools, your x402 wallet for paid.
Pay in code with any x402 client - @x402/fetch, axios, or your framework.
// signs USDC, retries on 402
await payFetch(
"…/api/extract", { url })
read the docs →
Paste the hosted connector URL - zero install. Pure-CPU tools run free, rate-limited.
# Settings → Connectors
https://agent402.tools/mcp
add connector →
The agent402-client SDK resolves a task to a tool and pays automatically.
// free tier, zero deps
await a.call("hash",
{ text, algo:"sha256" })
install the SDK →
The index - 516 tools.
deterministic · flat-priced · no LLM in the path415 tools + 101 skill packs, each tested against its own example on every deploy and priced to market. It grows only when a tool is worth calling.
Not just a seller -
the neutral index.
An open index and Smart Order Router, ranked by real on-chain USDC volume. Route a task across every x402 seller, not just ours.
The other side of the ledger.
no signup · non-custodial · your wallet, your fundsAgents are buying. If you run an API - or a site AI crawlers keep hitting - the same rails pay you.
Serve x402 challenges and list it on /sell (free) and the index crawler picks it up - free, health-ranked, routed by the Smart Order Router next to 516 of our own tools.
# we probe, you appear
POST /api/index/register
{ "origin": "https://api.you.com" }
list your API →
Humans browse free; known AI crawlers get 402 and pay in USDC - or solve proof-of-work. Express, edge, proxy, or WordPress. MIT, no CDN lock-in.
# one middleware
npm i agent402-tollbooth
gate your crawlers →
Every claim, checkable.
No sales calls, no contracts. Deterministic outputs, flat prices, a named maintainer, fully open source - asserted by nobody, verifiable by anybody.
0xaBF4…a9D0github.com/…/Agent402re-tested per deployx402/discoveryGET /openapi.jsonQuestions.
What is Agent402?+
A place where software buys small jobs, one at a time. 415 web tools and 101 skill packs - read a page, decode a barcode, check a domain, run a query - each with a price and each callable without a signup. The customers are mostly AI agents rather than people, so there is no account to create and no API key to manage.
What is x402?+
When the web was designed, HTTP set aside a response for "payment required" - status code 402 - and then left it unused for about thirty years. x402 finally fills it in: ask for something, get a price back, pay, and the same request goes through. It is an open standard rather than anything we invented, and it is what lets a program buy one thing in one round trip with no subscription and no checkout page. There is a plain-English explainer on the what-is-x402 page.
Why would software need to buy anything?+
An AI agent working on a real task keeps running into things it cannot answer from memory: fetch a live page, pull a filing, convert a file, look up an address on a blockchain. Signing up for twenty different APIs is not something an agent can do on its own - it has no email, no credit card, and no way to agree to terms. Paying a fraction of a cent per call is something it can do.
Do I need crypto or a wallet to try it?+
No. 220 of the 516 tools run free on proof-of-work: your own computer solves a short puzzle instead of paying, which costs a second of CPU and nothing else. A wallet only matters for tools that cost real money to run, and those quote their price before anything is charged.
How do I know the money side is honest?+
The whole server is open source, so the payment code can be read line by line. Settlement happens on a public blockchain, so every payment is independently verifiable. And a failed call is never charged - payment only completes on a successful response, so if a tool breaks, no money moves.
I have a website or an API. Is there anything here for me?+
Yes, it runs in both directions. If you have an API, you can charge for it the same way and buyers pay straight into your wallet with nothing taken in between. If you have a website that AI crawlers keep hitting, agent402-tollbooth is an open-source gate that charges them per page instead of blocking them. Listing is free.