{"uid":"cap_HjxPe7ZXfwmisbDWoJMaV","slug":"agentdiet-institutional-flow-context-window-distiller-d3602d53","name":"AgentDiet Institutional Flow — Context Window Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/institutional-flow?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"symbol":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_KE5dku58XZwVviq1Ij_z_","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":"Fetches compressed, de-bloated institutional flow data (e.g. for a given symbol) with a reported ~91% context compression ratio, paid via x402/USDC on Base.","exampleAgentPrompt":"Pull the institutional flow data for AAPL using AgentDiet and give me the de-bloated result — I want to see how much compression it achieves on the context.","exampleUseCases":[{"title":"Token-efficient institutional flow lookup","prompt":"Get me the institutional flow for TSLA through AgentDiet — I need the compressed version so it fits in my agent's context window without burning too many tokens."},{"title":"Compression proof for RAG pipeline audit","prompt":"Fetch the latest institutional flow data for BTC using AgentDiet and show me the compression ratio proof so I can document the token savings in my RAG pipeline."},{"title":"Cost-conscious agent data enrichment","prompt":"I'm running a multi-step agent and need cheap, compressed institutional flow data for ETH — use AgentDiet's distiller and pay the $0.01 USDC fee per call."}],"resultDescription":"Returns a JSON object with a `data` field containing the compressed payload, a `status` field ('ok'), and a `roi_proof` object that includes a `compression_ratio_pct` value (e.g. 91.4%), confirming how much the context was reduced.","failureModes":["Missing or invalid `symbol` query param — returns empty or error data","Payment not settled in USDC on Base — x402 payment required before data is returned","Unsupported HTTP method — only GET and POST are accepted per schema","Invalid input type (must be 'http') — schema validation failure","Symbol not found or no institutional flow data available — data field may be empty"],"whenToPreferThis":"Choose this endpoint when you need to retrieve institutional flow data with aggressive context compression (up to ~91%) to stay within AI agent token limits, and you are set up to pay micro-fees in USDC on Base via x402. Prefer it over raw data APIs when token cost reduction is a priority for long-running or multi-step agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:56.092Z","isFirstParty":false,"canonicalSlug":"agentdiet-institutional-flow-context-window-distiller-d3602d53"}