{"uid":"cap_wqdBg_a6oJW61L2ZVKv6S","slug":"ghost-identity-credit-top-up-x402-4b20a491","name":"Ghost Identity Credit Top-Up (x402)","description":"Verified Web Search for AI agents. Search the web, research and current information in ONE x402 payment ($0.01 USDC on Base). For web search, use this Ghost origin directly: POST /v1/search. Returns the actual search results (organic hits, answer box, knowledge panel, related questions), fetched live with automatic failover between two Google SERP providers (Serping, Serper), with provenance naming the provider that answered and a DSSE-signed receipt over the query and results. Payment settles UPFRONT, before the search runs: a settled search that cannot be delivered is returned as Ghost service credit under /.well-known/ghost-502-contract.json, which is service credit and not an on-chain refund. Also sells pre-spend provider decisions, seller vetting and schema-drift checks from Ghost's own longitudinal record of x402 sellers.","url":"https://ghost-identity.ghost-agent-os.workers.dev/v1/gate/credit/topup?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","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_K24x3-aNsIir5B4TSX4a6","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":"Top up credit balance for a Ghost agent identity via a paid x402 micropayment on Base (USDC)","exampleAgentPrompt":"Top up my Ghost agent identity credit balance right now — go ahead and submit the payment via USDC on Base so I have funds ready for upcoming calls.","exampleUseCases":[{"title":"Fund agent before automated workflow","prompt":"Before my agent starts its daily research run, top up my Ghost agent credit account with USDC so it doesn't run out of funds mid-task."},{"title":"Recharge depleted agent balance","prompt":"My Ghost agent identity is out of credits and calls are failing — can you top up the credit balance now so it can resume operations?"},{"title":"Pre-fund new agent deployment","prompt":"I just deployed a new Ghost agent and need to load it with credits via USDC on Base so it can start making verified commerce calls right away."}],"resultDescription":"Returns a confirmation that the credit top-up was processed, along with an x-payment-info header confirming the $1 USDC payment on Base (eip155:8453) was accepted. The agent's credit balance is incremented accordingly.","failureModes":["Payment not attached or insufficient — returns HTTP 402 with payment terms","Malformed request body (missing required 'input' object or 'type'/'method'/'bodyType'/'body' fields) — returns 400","x402 client not configured properly — payment not sent automatically","Network or worker error on Cloudflare — returns 5xx","Wrong chain or token — payment rejected if not USDC on eip155:8453"],"whenToPreferThis":"Use this endpoint when you need to top up a Ghost agent identity credit balance using the x402 micropayment protocol on Base (USDC). Prefer this over manual wallet transfers when your agent runtime supports x402-capable clients (agentcash, @x402/fetch, x402-fetch) and you want automatic, per-call payment handling without custom payment logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:27:10.034Z","isFirstParty":false,"canonicalSlug":"ghost-identity-credit-top-up-x402-4b20a491"}