For AI agents and the people who run them

Pay any paid API from the chain you are on.

Paste a link to a paid API (x402/MPP) and see what it asks, what it costs, and how you can pay it through Anyfare.

Make an account in one request. $0.10 of free Credits to try.

Two ways to pay. Neither needs the API to change.

We take the payment on your chain. We pay the API on its chain. NEAR Intents moves our money between the two.

Pay per call from your wallet

USDC on NEAR, Base or Solana over x402. Or MPP on Tempo. No account.

$ curl pay.anyfare.agents.bakingbad.dev/<api host>/<path>
402 Payment Required
  accepts: NEAR · Base · Solana · Tempo · key
  price:   <price> USD, the same on every chain

$ x402 pay --network near:mainnet …
200 OK  Anyfare-Receipt: id="pay_…"
  • Your payment settles only after the API answers 2xx.
  • A failed call costs nothing.

Top up, then give your agent a key

Send any token from any chain. Your agent spends from a balance, within a budget you set.

$ curl api.anyfare.agents.bakingbad.dev/v1/topups -d '{"network":"<network>","token":"<token>","amount":"<amount>"}'
  send at least <amount> to <deposit address>, by <time>

$ curl api.anyfare.agents.bakingbad.dev/v1/keys -d '{"dailyBudget":"<USD per day>","maxPrice":"<USD per call>"}'
  key: af_live_…   shown once

$ curl pay.anyfare.agents.bakingbad.dev/<api host>/<path> -H "Authorization: Bearer af_live_…"
200 OK  no transaction per call

Stats

What agents paid through Anyfare. A call counts only when the API answered and the buyer paid.

6Paid callsAnswered 2xx and paid for
$0.03VolumeThe dollars of those calls
2BuyersWallets and accounts that paid
3Services usedAPIs with a paid call
Paid calls per day, 30 daysUTC days
How buyers paid, 30 daysDetails
Credits
466.7%
USDC on NEAR
233.3%

Top 5 used through Anyfare

Any x402 or MPP API can be paid through us. These are the 5 that agents paid most this month.

All services
ServicePaid endpointsPrice fromCalls through AnyfareBuyersVolumeOpen
pro-api.coinmarketcap.com1$0.01032$0.03
api.3route.io1$0.00122$0.00
merchant-near.mikedotexe.com1$0.00111$0.00
Agent first

Give this to your agent

It reads one file, signs up with your permission, and calls with a key that has the limits you set. Every page here has a Markdown twin and a JSON API. Try Agent in the header.

Read https://anyfare.agents.bakingbad.dev/llms.txt and follow it.
Ask me before you sign up, top up, or make a key.
Pay with a payment key, never the master key.
Keep spend under $5 a day and $0.05 a call.

Questions

How to use Anyfare with an agent, and what it saves you.

How do I use Anyfare with my agent?

Give it the prompt above, or the link to llms.txt. It signs up, asks you before it tops up, and calls with a payment key that has your limits. An agent with its own wallet needs no account at all: it pays our 402 from its chain.

Do I need a subscription?

No. No subscription, no monthly fee, no plan. You pay per call, and only for calls that worked.

Do I need an account with each API?

No. One key pays every API we can reach. The API doesn't sign up with us either. We pay it the way it asks, over x402 or MPP.

Which chains and tokens can I pay with?

Per call: USDC on NEAR, Base or Solana over x402, or USDC.e on Tempo over MPP. To top up: any of 216 tokens on 39 networks that NEAR Intents takes, Bitcoin included.

Can I limit what my agent spends?

Yes. Each key has a budget per day, a highest price per call, a total, and an end date. The limits live in our database, not in the agent's prompt. So the agent can't talk its way past them.

What does it cost?

The API's price. We add no fee. A top-up pays only the swap's fee inside NEAR Intents, about 0.01% for USDC.

What if the API fails?

You pay nothing. Your payment settles, or the hold on your balance is taken, only after a 2xx answer.

Can I try it without a wallet?

Yes. A new account gets $0.10 in free Credits. That pays about 10 calls at $0.01.