{"uid":"cap_quYNSly3ZDtdzK9Ig38QC","slug":"quicknode-x402-credits-purchase-50223651","name":"QuickNode x402 Credits Purchase","description":"Payment for credits to access Quicknode Core API","url":"https://x402.quicknode.com/credits","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["jsonrpc","method"],"properties":{"id":{"type":["number","string"],"description":"Request identifier"},"method":{"type":"string","description":"JSON-RPC method name (e.g., eth_blockNumber, eth_call)"},"params":{"type":"array","description":"Method parameters"},"jsonrpc":{"type":"string","const":"2.0"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":1,"result":"0x1234567","jsonrpc":"2.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1xExk1PlaKUbMJY85FfeJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase USDC credits to access QuickNode's Core API and blockchain RPC services via the x402 payment protocol","exampleAgentPrompt":"I need to purchase $10 worth of QuickNode Core API credits using USDC via x402 so I can start making blockchain RPC calls — go ahead and complete that payment.","exampleUseCases":[{"title":"Autonomous blockchain indexer funding","prompt":"My agent needs to continuously scan Ethereum transactions for a DeFi protocol. Can you purchase $50 in QuickNode credits using USDC so it can make those RPC calls without interruption?"},{"title":"Self-service smart contract deployment","prompt":"I'm deploying a new smart contract to mainnet and need reliable RPC access. Go ahead and buy $25 worth of QuickNode Core API credits via x402 so the deployment can proceed."},{"title":"Real-time price feed aggregation","prompt":"Set up my price oracle agent with QuickNode blockchain access by purchasing $100 in USDC credits through x402 — it needs to fetch live on-chain data every few seconds."}],"resultDescription":"Returns a JSON-RPC 2.0 style response confirming the credit purchase with an id, result hash, and jsonrpc version field, granting access to QuickNode Core API services.","failureModes":["Insufficient USDC balance — payment rejected with 402 Payment Required","Invalid x402 payment header — authentication or payment proof malformed","Network or chain issues causing payment verification failure","Credits already funded — duplicate payment attempt may be rejected","QuickNode service unavailable — 503 or timeout response"],"whenToPreferThis":"Use this endpoint when an agent needs programmatic, crypto-native access to QuickNode's Core API and wants to pay per-use in USDC via the x402 micropayment protocol, rather than managing a traditional subscription or API key billing account. Ideal for autonomous agents that need to self-fund blockchain RPC access on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:59.244Z","isFirstParty":false}