{"uid":"cap_AhTqDRwl9mA28GDg1zoU9","slug":"agentdiet-pair-analytics-92ded6bb","name":"AgentDiet Pair Analytics","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/pair-analytics?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_C3OVuOyIt9azHynYCZiaI","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 pair analytics data with compression ROI proof from the AgentDiet context distillation platform","exampleAgentPrompt":"Pull the pair analytics for token 'USDC-ETH' from AgentDiet and show me the compression ratio and ROI proof it returns.","exampleUseCases":[{"title":"Token pair compression audit","prompt":"Fetch the pair analytics for the USDC-BASE token pair from AgentDiet and tell me what compression ratio we're getting in the ROI proof."},{"title":"Agent pipeline efficiency check","prompt":"Run a GET request against AgentDiet's pair analytics for token 'ETH-USDC' and report back the compression stats and status so I can decide if it's worth routing context through there."},{"title":"Benchmarking context distillation ROI","prompt":"I want to benchmark how well AgentDiet compresses context — can you pull the pair analytics data for our token and show me the compression_ratio_pct from the roi_proof field?"}],"resultDescription":"Returns a JSON object with a 'data' field containing pair analytics, a 'status' field ('ok' on success), and an 'roi_proof' object including 'compression_ratio_pct' (e.g. 91.4) demonstrating the context compression efficiency achieved.","failureModes":["Missing or invalid 'token' query parameter returns empty or error data","Payment not settled in USDC on Base causes 402 Payment Required response","Invalid HTTP method (not GET or POST) returns 400 or 405 error","Service unavailable returns 5xx with no analytics data","Malformed input schema triggers schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need to retrieve pair-level analytics and compression ROI proof from AgentDiet's context distillation platform, particularly to verify how efficiently a token pair's context is being compressed before routing agent-to-agent communication through the service. It is appropriate when cost-per-call ($0.01 USDC on Base via x402) is acceptable for read-only analytics lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:24.192Z","isFirstParty":false,"canonicalSlug":"agentdiet-pair-analytics-92ded6bb"}