api.3route.io/v1/8453/quote
Payable through AnyfareChecked
What the API asks
This API asks $0.001 for each call, over x402.
- Protocol
- x402
- Amount
- $0.001
Pay it through AnyfareFee $0.00
No way to pay is listed right now.
Your link through Anyfare
Put pay.anyfare.agents.bakingbad.dev/ in front of any paid link. The price that counts is the one the API asks at call time.
Pay it from your agent
1
Make a payment key
In the console, with a budget per day and a highest price per call.
2
Give your agent this
Call https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote through Anyfare. Pay with my payment key from $ANYFARE_PAYMENT_KEY. Don't pay more than $0.05 for one call.
3
Watch the calls
Each one shows under Last calls, and in your console's Payments.
An agent with its own wallet needs no key. It calls the link, gets our 402, and pays in USDC on NEAR, Base or Solana, or over MPP on Tempo.
The answer to GET pay.anyfare.agents.bakingbad.dev/_/check?url=…, as it came.
{
"payable": true,
"target": "https://api.3route.io/v1/8453/quote",
"price": {
"amount": "0.001",
"currency": "USD",
"asset": "base-usdc",
"network": "eip155:8453"
},
"quote": {
"amount": "0.001",
"fee": "0",
"currency": "USD"
},
"link": "https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote"
}$ curl -i https://api.3route.io/v1/8453/quote
curl https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote \ -H "Authorization: Bearer $ANYFARE_PAYMENT_KEY"
# 1. Call the pay link. It answers 402 and says what to pay. curl -i https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote # 2. Call it again with the payment your x402 client signed. curl https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote \ -H "PAYMENT-SIGNATURE: <the payment your x402 client made>"
Any x402 client does both steps for you: give it the pay link and it reads the 402, pays, and repeats the call.
Call https://pay.anyfare.agents.bakingbad.dev/api.3route.io/v1/8453/quote through Anyfare. Pay with my payment key from $ANYFARE_PAYMENT_KEY. Don't pay more than $0.05 for one call.