{"uid":"cap_XnTuRVkvAF9lftflftlPi","slug":"x402-wallet-spend-lookup-e08f692b","name":"x402 Wallet Spend Lookup","description":"Data about the x402 market: the CDP Bazaar's listings, sellers, prices and categories, new listings and price changes from snapshots every 6 hours, uptime we measure for every paid listing, and x402 spending of any wallet and revenue of any seller on Base.","url":"https://data.kagurazaka.dev/v1/spend?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["payer"],"properties":{"days":{"type":"integer","description":"period in days (1-14, default 7)"},"payer":{"type":"string","description":"the paying wallet address (0x...)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"by_day":{},"payments":{},"by_seller":{},"total_usd":{}}}}}}},"responseSchema":{"type":"json","example":{"by_day":[{"usd":0.05,"date":"2026-10-24","payments":8}],"payments":8,"by_seller":[{"usd":0.03,"pay_to":"0x...","origins":["https://api.example"],"payments":3}],"total_usd":0.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KOGFW1p3c8CqsFyovlSMy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns on-chain USDC spend breakdown for a wallet address on x402 APIs over a configurable period, including totals, per-seller, per-day, and individual payment records.","exampleAgentPrompt":"Show me the x402 API spending breakdown for my wallet 0x1234...abcd over the last 14 days — I want to see totals, which sellers I paid the most, and the day-by-day breakdown.","exampleUseCases":[{"title":"Weekly x402 API cost audit","prompt":"Pull up the x402 spending summary for wallet 0xAbCd...1234 over the last 7 days — I want to know the total USDC spent, which APIs I paid for, and how much went to each seller."},{"title":"Daily spend trend for a wallet","prompt":"Show me the day-by-day x402 API spend for 0xDEF...5678 over the past 14 days so I can see if usage is growing."},{"title":"Identify top x402 API vendors","prompt":"For wallet 0x9999...AAAA, which x402 sellers did I pay the most to in the last 7 days? Break it down by seller with their API origins and payment counts."}],"resultDescription":"Returns a JSON object with: total_usd (aggregate spend), payments (total call count), by_day (array of date/usd/payments), by_seller (array of pay_to address, associated API origins, usd spent, payment count). Non-x402 USDC transfers are counted separately.","failureModes":["Missing or invalid payer address returns an error","Days parameter outside 1-14 range may be rejected or clamped","Wallet with no x402 activity returns zero totals","On-chain data may have brief indexing lag","Rate limiting or payment required if x402 payment not provided"],"whenToPreferThis":"Use this endpoint when you need on-chain verified spend data for a specific wallet's x402 API usage on Base, broken down by seller and time. Prefer this over off-chain analytics when auditability and chain-sourced accuracy matter, or when you need per-seller attribution for cost tracking of x402 API calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:36:12.049Z","isFirstParty":false,"canonicalSlug":"x402-wallet-spend-lookup-e08f692b"}