{"uid":"cap_7_Vsl1rVDGkCkb0kou6JE","slug":"agentreader-credits-purchase-d0d09e96","name":"AgentReader Credits Purchase","description":"REST API and MCP server that turns web pages, JS apps and PDFs into clean Markdown or structured JSON. Free tier, then USDC pay-per-use via x402.","url":"https://agentreader.xyz/v1/credits/buy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bundle":{"enum":[500,5000],"type":"integer"}}},"responseSchema":{"type":"json","example":{"ok":true,"added":500,"apiKey":"ar_...","credits":500,"transaction":"0x..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3KzOmvCbrSNKybvCszFrp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a bundle of AgentReader API credits (500 or 5000) using USDC via x402 payment to enable web-page and PDF extraction calls","exampleAgentPrompt":"Buy me 500 AgentReader credits so I can start converting web pages and PDFs to Markdown — pay with USDC.","exampleUseCases":[{"title":"Fund new AgentReader account","prompt":"Top up my AgentReader account with a bundle of 500 credits so I can start extracting web pages to clean Markdown for my research project — use USDC to pay."},{"title":"Bulk credit purchase for heavy usage","prompt":"I'm building a pipeline that scrapes hundreds of pages a day — buy me the 5000-credit AgentReader bundle with USDC so I don't run out mid-run."},{"title":"Renew depleted AgentReader credits","prompt":"My AgentReader credits ran out — can you buy another 500-credit bundle using USDC so I can keep converting PDFs to JSON?"}],"resultDescription":"Returns a JSON object confirming the purchase: ok flag (true), number of credits added, the API key (ar_...) to use for subsequent extraction calls, updated total credits balance, and the on-chain transaction hash for the USDC payment.","failureModes":["Invalid bundle value (not 500 or 5000) — returns validation error","Insufficient USDC balance or failed x402 payment — returns payment error","Malformed or missing x402 payment header — returns 402 Payment Required","Network or blockchain transaction failure — returns error with no credits added","Rate limiting or account issues — returns 4xx error"],"whenToPreferThis":"Use this endpoint when an agent or developer needs to fund an AgentReader account before making web-page or PDF extraction calls. This is the required first step if the free tier is exhausted or an API key is needed. Choose the 500-credit bundle for light or trial usage and the 5000-credit bundle for high-volume pipelines. Prefer this over alternatives when you specifically need USDC-based crypto payments via x402 and want programmatic, on-chain verifiable credit purchases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T09:29:52.636Z","isFirstParty":false,"canonicalSlug":"agentreader-credits-purchase-d0d09e96"}