A buyer, usually an AI agent, sees a price, pays per request, and gets access. No checkout page, no API key, no account. The payment settles on Stellar and the service becomes discoverable in the Bazaar.
Agents buy in cents, thousands of times a day. No card rail fits that.
Payments, discovery, the tools that plug agents in, and two live surfaces to see it working.
Checks and settles every payment on Stellar. Network fees are covered, funds never pass through it, and the buyer needs nothing but the money to pay with.
A searchable catalog of paid services. A service is listed the moment its first payment settles. No sign-up, no submission form.
One SDK for buyers and sellers, a command line, and an MCP server, so an agent can find and pay for a service from inside its own runtime.
x402 is an open standard that lets any web service charge per request. Rail402 brings it to Stellar.
An agent asks for the service, with no payment attached.
The server answers 402 Payment Required: here is the price, the currency, and where to pay.
The buyer approves exactly that one payment. Nothing more can ever be taken from the account.
The same request goes out again, this time with the approval attached.
Rail402 checks the approval and settles it on Stellar, covering the network fee itself.
The service responds, with proof of payment attached. And the service is now discoverable in the Bazaar.
The buyer never talks to Rail402 directly. The seller's server does, on the buyer's behalf.
The buyer approves the exact price, and exactly that amount is paid. Any standard x402 client can pay this way, with no extra code.
The buyer approves a maximum, and only the actual usage is charged. Never more. Built for metered work: tokens, compute, pay-for-what-you-read.
Rail402 wrote the Stellar version of the upto standard. It ships with the on-chain contract that enforces it: every approval works exactly once, expires quickly, and can never exceed the maximum.
A buyer can be a plain keypair or a programmable smart account. Both settle through the same rail, proven on-chain for both schemes.
There is no listing form and no registry. A service enters the catalog when its first payment settles, only the seller who actually gets paid can own a listing, and search understands plain language. Try it:
The MCP server drops into any agent runtime: one tool searches for free, one pays under a hard cap.
Ask in plain language, get ranked paid services. Every result comes back ready to judge:
Finds the price, pays under your cap, returns the resource. HTTP endpoints and MCP tools alike.
Every rejection is a contract. 122 codes, each with a machine code, a human reason, and a retry flag. A reason can't even be left empty.
Ten packages on npm, all Apache-2.0. Pick a door:
It reads the ledger directly and classifies every x402 payment it finds, from any facilitator, registered or not.
Read off the ledger itself, never self-reported.
Recent history for everyone it sees; full chain history for verified facilitators.
It probes your /supported itself. An announcement is a lead, never a fact.
No wallet, no API key, nothing to install. It funds a test account for you and runs a real x402 payment in front of you.
A genuine x402 payment settles on the Stellar test network.
Your settlement shows up in the live feed moments later.
The same loop from your terminal when the browser gets small.
Live totals from the Explorer, across every facilitator it can see.
Find a service and pay per request, always under a spending limit. From code, the terminal, or an agent runtime.
Try the playgroundPrice an endpoint you already run. Your first settled payment lists it in the Bazaar, and built-in checks catch setup mistakes early.
Read the seller guideYou run the rail those two settle on: hosted, one Docker image, or embedded inside your own server.
Hosted and free on testnet, no API key. Every step past that is one env var, one Docker image, or one import.
facilitator.rail402.dev, free on testnet, no API key.
Start it bare: it makes its own funded testnet signer.
One env var. Every setting is real 12-factor config.
Facilitator and Bazaar ship as a single container.
Verify and settle in-process, no HTTP hop at all.
Rail402 doesn't grade its own homework: the standard's own test suite, unmodified, runs against the live deployment.
Everything on this page is checkable: from your terminal, on the Explorer, and on chain.