{"uid":"cap_fEdC2qa9QDvuB1_8Ov5yc","slug":"agentdiet-token-intel-4a57ab66","name":"AgentDiet Token Intel","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/token-intel?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":{"token":{"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_c1ZwkcE3kZ1iLzI55cBy2","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":"Retrieves token intelligence and context compression metadata for a given token, reporting compression ratios and ROI proof for context window optimization.","exampleAgentPrompt":"Can you pull token intelligence from AgentDiet for the token 'abc123' and tell me the compression ratio it achieved on my context window?","exampleUseCases":[{"title":"Context budget monitoring for agent pipeline","prompt":"Check the AgentDiet token intel for token 'pipeline-v2' and tell me what compression ratio we're getting — I want to know if we're staying under our context budget."},{"title":"Validating ROI of context distillation","prompt":"Pull the token intelligence report from AgentDiet for token 'session-xyz' so I can see the ROI proof and compression percentage before deciding whether to keep using this distillation node."},{"title":"Debugging token efficiency in multi-agent workflow","prompt":"Fetch the token intel data for token 'agent-run-007' from AgentDiet — I need to see the compression stats to figure out why my agents are hitting context limits."}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing token intelligence details, and an roi_proof object that includes compression_ratio_pct — indicating what percentage of context was compressed (e.g. 91.4%).","failureModes":["Missing or invalid token query parameter returns error or empty data","Payment not settled in USDC on Base causes 402 Payment Required response","Malformed input object (missing required 'type' or 'method' fields) returns schema validation error","Token not found returns empty data object with ok status","Network or node unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically retrieve compression statistics and ROI proof for a specific token processed through AgentDiet's context distillation pipeline. It is most useful for monitoring, auditing, or validating the efficiency of context compression in A2A or MCP agent workflows. Prefer this over generic analytics endpoints when you specifically need AgentDiet's deterministic compression ratio metrics settled via x402/USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:14.414Z","isFirstParty":false,"canonicalSlug":"agentdiet-token-intel-4a57ab66"}