Use this Nevermined plan ID:
The purchase is for API credits, not for a single search request.
27800462147494506865542649899724877617306579171265399959488097895839186996870The purchase is for API credits, not for a single search request.
POST /team-management/nevermined/purchase-key provisions a new Exa API key and adds $7 of credits. If the key runs out, mint a fresh x402 token with the same Nevermined wallet/card details and call the same endpoint again. Exa returns the same API key with another $7 of credits added.
Buy a key
- Cost: $7 per purchase, charged to the card delegated to the x402 token.
- Response (new payer):
{ status: "ok", apiKey: "…", expiresAt: null }— a new Exa API key with $7 of credits. - Response (returning payer):
{ status: "ok", apiKey: "…", expiresAt: null }— the same Exa API key with $7 more credits. - Response (replayed token): cached result, no new charge.
- Missing/invalid signature:
402 Payment Requiredwith payment requirements in the body.
What $7 buys
Credits are consumed at standard Exa API pricing. At current rates, $7 of credits covers roughly:
Search requests include text and highlights for up to 10 results. Extra results beyond 10 and AI summaries are billed separately.
For full pricing details, see Exa pricing.
Sample request
Mint an x402 token with the Nevermined SDK using the Exa purchase plan ID, then POST it to Exa. The Nevermined API key and card enrollment come from Nevermined — see NVM Pay docs for SDK setup and card enrollment.Parameters you get from Nevermined
When the key runs out
Exa returnsHTTP 402 on the regular API endpoints once the API key’s credits are exhausted:
/purchase-key endpoint. Exa adds another $7 of credits to the same API key.