Paid in USDC on Base or Solana. Bodies, responses and errors match the free endpoints, and a
quoteToken works on either. Status, submit and every other call stay free: use the normal
endpoints.
- You pay only for a success. An error (any 4xx or 5xx, such as
NO_LIQUIDITYorQUOTE_EXPIRED) costs nothing. - Each IP has 30 slots, held by its failed calls (for about a minute) and its calls still
running. With none free, its calls get
429 RATE_LIMITED: retry afterdetails.retryAfterSec, and fix any request that keeps failing. - A payment buys one call. Sending it again gets
400: let your client sign a new one. - The price pays for the call, not the swap. Send your
x-api-keytoo and the quote carries your fee; without one it’s 0. /x402/quoteignoresbroadcastViaRavn(a free/quotemade with it still executes on/x402/execute), and refusescall(400 INVALID_REQUEST): quote calls on the free/quotewith a key. Hinkal and Fynd aren’t offered: execute them on the free endpoints.sandbox: trueworks, but the call is still charged.
How it works
- Call the endpoint. RAVN answers
402with the payment terms in thepayment-requiredheader (base64; the body is an empty{}). - Your x402 client signs a USDC payment and retries with it attached.
- RAVN runs the call, settles the payment only if it succeeded, and returns the normal response.
@x402/svm instead. If x402 is switched off, both endpoints answer
503 NOT_CONFIGURED: use the free ones.
