{"uid":"cap_bjrKCuzX6VEsi5q8MQGVt","slug":"agent-toolbox-credits-purchase-20-e67c64f3","name":"Agent Toolbox Credits Purchase ($20)","description":"Everyday tools for AI agents, paid per call with x402: image generation, web pages and documents to Markdown, speech to text, embeddings, translation, summaries, email checks, exchange rates, DNS and domain records.","url":"https://agent-toolbox.zafermemon87.workers.dev/v1/credits/20?utm_source=zero.xyz","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":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"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":{"key":"atb_6f1c0e9a4b2d7c8e5f3a1b0c9d8e7f6a5b4c3d2e1f0a9b8c","plain":"New API key with $5.50 of credits. Send it as Authorization: Bearer atb_... on any tool or MCP call.","key_id":"3f2a91c07d5e","balance":"GET /account with the key","paid_usd":5,"bonus_usd":0.5,"credits_added_usd":5.5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"20","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":"$20/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kl4GYOb8r2LeGE9gCgalu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"20","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase $20 USDC worth of API credits for the Agent Toolbox service, receiving an API key loaded with credit balance for subsequent tool calls.","exampleAgentPrompt":"I want to buy $20 of credits on Agent Toolbox so I can start using the image generation, translation, and web-to-Markdown tools — go ahead and make the payment and give me the API key.","exampleUseCases":[{"title":"Fund agent toolbox for automation pipeline","prompt":"Top up my Agent Toolbox account with $20 so my automation agent has credits to call the web scraping, embeddings, and translation tools throughout the day."},{"title":"First-time setup for AI agent tools","prompt":"I want to get started with Agent Toolbox — pay $20 and get me an API key I can use to call image generation and speech-to-text."},{"title":"Replenish depleted credit balance","prompt":"My Agent Toolbox credits ran out — can you purchase another $20 top-up so I can keep using the DNS lookup and document-to-Markdown tools?"}],"resultDescription":"Returns a new API key (Bearer token prefixed with 'atb_'), a key ID, the paid amount, any bonus credits applied, and the total credits added to the account (e.g. $5.50 for a $5 purchase with 10% bonus). The key can then be sent as an Authorization: Bearer header on subsequent Agent Toolbox tool calls.","failureModes":["Payment failure via x402 protocol — insufficient funds or unsupported payment method results in 402 error","Invalid request body — missing required 'input' fields returns 400 validation error","Network or worker timeout — Cloudflare Worker may return 5xx if overloaded","Duplicate payment attempts may create multiple keys rather than topping up existing account"],"whenToPreferThis":"Use this endpoint when you need to acquire or replenish API credits for the Agent Toolbox suite of tools (image generation, web-to-Markdown, speech-to-text, embeddings, translation, summaries, email checks, exchange rates, DNS lookups). This is the payment/onboarding step — call this before attempting to use any other Agent Toolbox endpoint that requires a Bearer token.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T06:40:06.083Z","isFirstParty":false,"canonicalSlug":"agent-toolbox-credits-purchase-20-e67c64f3"}