x4PayAPI Market · Marketplace

Price first, receipt after

On PayAPI Market, an agent sees the exact per-call USDC price before any money moves, and a public on-chain receipt after the payment settles. The price is in the HTTP 402. The receipt is the settled USDC transfer, which anyone can open on a block explorer.

Last updated: 2026-12-03

Price first

An agent calls a provider endpoint with no API key and no account. When the call is not yet paid, the server answers with HTTP 402. That response states the price, the network and the wallet that should be paid. The networks are Base, Solana, Algorand or Polygon, whichever the 402 itself names.

The agent reads that amount before it signs. If the price is above a ceiling you set, the agent can refuse the call. Discovery over MCP is free. Payment happens on the listing's 402, not on the search.

The listing catalogue can show a price range. /agent/get returns price_min and price_max. Those figures are a preview, read from the live challenge when the catalogue was built. The challenge on the call is the amount you will be asked to sign. If the two disagree, trust the challenge for that call.

To set a ceiling on what an agent may spend, read how to cap what an AI agent spends.

Receipt after

The agent signs a USDC payment authorization and retries the call. A facilitator verifies the payment and settles it on-chain. The provider returns the product. The settled payment is a receipt anyone can look up on a block explorer.

PayAPI Market does not sit in that path, and it does not hold the funds. The USDC settles to the provider's wallet, the one named in the 402. PayAPI takes 0% of each job.

Settlement-verified receipts already on file

Settlement-verified means a real on-chain USDC payment settled for a real product response, checkable by anyone. PayAPI Market paid one named route from its own wallet, got real product back, and links the receipt. The badge covers the route that was paid, not every route on the listing.

You can check receipts yourself. Each settlement-verified listing page shows the paid route and its receipt. verified-routes.csv and verified-routes.json list each paid route with the transaction hash. /agent/get returns verified_routes, with a receipt link for each paid route.

Example: CanonicalHash, POST /v1/canonicalize, $0.002 USDC on Base. Receipt: 0x78c4904db8263fd8ceac4d715a824ff7b9c087d69a9f8e15f7918280c6e3157a

How we verify sets out what that receipt proves and what it does not. A receipt is evidence about that past call. It is not a promise that the next call will succeed.

For teams running whole-job agents

When an agent is doing a whole job, you need to know the price of each call before it pays, and you need a receipt you can show after. The 402 gives you the first. The on-chain transfer gives you the second.

PayAPI Market does not issue a card or a spend mandate. How to cap what an AI agent spends explains the dedicated wallet and the per-call ceiling.

A worked job that stayed inside a few cents, with public receipts, is give your agent a job and a budget.

Checks and setup already on the site

If you are listing an API and you want a check that the 402 names a price, a network and a payTo, run the free agent-readiness audit. The full audit and fix plan is $49 one time, or 49 USDC on Base.

If your API does not speak x402 yet, the $299 done-for-you setup wraps it, points payments at your own wallet, lists it and runs a test payment. You host the wrapper. Listing itself stays free. Free to list, PayAPI takes 0% of each job.

Run the audit

See the $299 setup

List your API

Frequently asked questions

When does an agent see the price?

On the HTTP 402, before it signs. The unpaid call returns the price, the network and the wallet. No money moves until the agent accepts that challenge and retries.

Where is the receipt after a paid call?

The settled USDC transfer is a public on-chain receipt. Each settlement-verified listing page links the receipt for the route PayAPI paid. verified-routes.csv, verified-routes.json and /agent/get also publish those transaction hashes.

Does PayAPI hold the funds?

No. Payments settle to the provider's wallet, the one named in the 402. PayAPI Market is not in the payment path and takes 0% of each job.

What does it cost to list?

Free to list, PayAPI takes 0% of each job. A provider whose API does not speak x402 yet can buy a $299 done-for-you setup. The full agent-readiness audit is $49 one time. Those charges are optional.

Which networks?

The networks are Base, Solana, Algorand or Polygon. That is the list llms.txt publishes. The HTTP 402 on a listing names which of those that call uses.

Does a receipt mean the next call will work?

No. A receipt is evidence about that past call. It is not a promise that a later call will succeed. How we verify sets out what a settlement-verified receipt proves and what it does not.

Related: home · marketplace · how agents find and pay · how we verify · how to cap spend · list your API