{"uid":"cap_a1rhYs1VsH0dDujytDPB5","slug":"api-hyperd-ai-8aa1ec40","name":"HyperD Budget Guardian – Agent USDC Spend Tracker","description":"","url":"https://api.hyperd.ai/api/budget/guardian","method":"POST","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":["address"],"properties":{"chain":{"enum":["base","ethereum","polygon","arbitrum","optimism","avalanche","bnb"],"type":"string","description":"Chain to compute spend on. Default 'base'."},"window":{"enum":["1h","24h","7d","30d"],"type":"string","description":"Lookback window. Default '24h'."},"address":{"type":"string","description":"0x EVM wallet address"},"cap_usd":{"type":"number","description":"Optional self-imposed USDC cap. When provided, response includes under_cap, remainingUsd, and anyTxExceedsTenthOfCap."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"base","window":"24h","address":"0x1234567890123456789012345678901234567890","cap_usd":50}}},"response":{"chain":"base","capUsd":50,"window":"24h","address":"0x1234567890123456789012345678901234567890","txCount":0,"underCap":true,"totalUsdc":0,"truncated":false,"computedAt":"2026-05-29T22:44:49.261Z","avgPerTxUsdc":0,"remainingUsd":50,"usdcContract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","byDestination":[],"windowSeconds":86400,"projected24hUsdc":0,"excluded_variants":["USDC.e","bridged_usdc"],"projection_method":"uniform-rate-extrapolation","anyTxExceedsTenthOfCap":false}},"exampleRequest":{"chain":"base","window":"24h","address":"0x1234567890123456789012345678901234567890","cap_usd":50},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.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_NN17kQrl7oxth9qq2LzTh","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":"Aggregates recent outbound USDC transfers from an EVM wallet over a configurable time window and returns total spend, per-destination breakdown, projected 24h rate, and optional budget cap compliance flags.","exampleAgentPrompt":"Before you make the next paid call, check how much USDC my wallet 0xAbC123...dEf has spent on Base in the last 24 hours and flag whether I'm still under my $50 cap.","exampleUseCases":null,"resultDescription":"Returns a JSON object with total USDC spent in the requested window, a by-destination breakdown of outbound transfers, a projected 24h spend rate, and (if cap_usd was provided) under_cap boolean, remainingUsd, and anyTxExceedsTenthOfCap flag.","failureModes":["Invalid or missing wallet address returns 400 with validation error","Unsupported chain value returns 400 enum error","No USDC transfer activity found returns total spend of 0 with empty breakdown","Network or RPC timeout returns 503 or 504","cap_usd missing causes under_cap fields to be absent from response (not an error)"],"whenToPreferThis":"Use this endpoint when an AI agent needs to self-enforce a USDC spending budget before initiating further paid x402 calls, or when you need a quick aggregated view of outbound USDC flows from a wallet rather than raw transaction history. Prefer this over generic block explorers when you need projected spend rates and budget cap compliance checks in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:34:34.359Z","isFirstParty":false}