{"uid":"cap_Kv23nfxQb31k45krnsVCo","slug":"x402-onchainexpat-com-4e08b829","name":"x402.onchainexpat.com Proxy Stats","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-proxy/stats?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","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"started_at":{"type":"string"},"total_errors":{"type":"integer"},"total_requests":{"type":"integer"},"total_bytes_sent":{"type":"integer"},"total_bytes_received":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{}},"example":{"request":{},"response":{"total_errors":0,"error_rate_pct":0,"total_requests":0,"tracking_since":"2026-06-13T01:27:04.493723","total_bytes_sent":0,"total_bandwidth_mb":0,"rate_limit_remaining":50,"total_bytes_received":0}},"exampleRequest":{},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NhS8EZ5vjS6dBmMNylUsd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns usage statistics for the x402 proxy service, including request counts, error rates, bandwidth, and rate limit remaining","exampleAgentPrompt":"Can you pull up the x402 proxy usage stats for me — I want to see how many requests have been made, the error rate, and how much rate limit I have left?","exampleUseCases":[{"title":"Monitor API consumption for cost control","prompt":"Hey, check my x402 proxy stats and let me know if I'm burning through my rate limit too fast. I want to make sure we're not overspending on requests this month."},{"title":"Diagnose proxy service reliability issues","prompt":"Pull up the usage statistics for the x402 proxy and tell me what the error rate looks like. I need to know if we're having stability problems or if something's misconfigured on our end."},{"title":"Track bandwidth usage across applications","prompt":"Can you give me a breakdown of the x402 proxy metrics? I'm especially interested in total bandwidth consumed and when the tracking period started so I can compare it to last week."}],"resultDescription":"Returns a JSON object with total_requests, total_errors, error_rate_pct, total_bytes_sent, total_bytes_received, total_bandwidth_mb, rate_limit_remaining, and tracking_since timestamp indicating when stat collection began.","failureModes":["Payment failure — insufficient USDC balance or x402 payment not accepted","Service unavailable — proxy stats endpoint offline","Empty/zero stats — if no requests have been made since tracking started, all numeric fields return 0"],"whenToPreferThis":"Use this endpoint when you need to audit or monitor usage of the x402 proxy service — specifically to check request volume, error rates, bandwidth consumption, or remaining rate limit quota. Ideal for agents that need to self-monitor API consumption or implement rate-limit-aware throttling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-15T21:41:16.453Z","lastSuccessfullyRanAt":"2026-06-15T21:41:16.453Z","lastHealthCheckAt":"2026-10-11T00:38:37.288Z","isFirstParty":false,"canonicalSlug":"x402-onchainexpat-com-4e08b829"}