Developer overview
How developers use NODRA to discover paid APIs and call them with a per-request USDC payment.
On this page
How it works for you
You don't sign up, get an API key or start a subscription. You find an API in the directory, call its gateway URL, and pay for each call with a USDC transfer on Solana that you sign at the time of the call. The payment is your credential.
- Find an API and its gateway URL in the directory.
- Call it. The gateway answers
402 Payment Requiredwith a quote. - Check the quote, sign a USDC transfer for it, and repeat the call with the payment in a header.
- Get the API's answer, plus a receipt naming the Solana transaction.
What you need
- A Solana wallet (a keypair your code can sign with) with a USDC token account holding enough for the calls you'll make. On devnet, use devnet USDC for the mint named in the quote.
- An HTTP client and a way to build and sign Solana transactions, such as
@solana/kit. - No SOL: NODRA is the fee payer for every payment.
What NODRA guarantees
- You pay the amount in the quote, which is the price shown in the directory.
- Your payment is submitted only after the API has answered in a way its billing rule charges for. Otherwise nothing is submitted and no money moves.
- A signed payment can be used once. Sending it again doesn't charge you twice.