{"uid":"cap_KP-faU-9ekikMMFOsU0zB","slug":"agentdiet-usdc-quote-audit-8a03807e","name":"AgentDiet USDC Quote Audit","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/usdc-quote-audit?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":{"url":{"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_qu26DNiH0gJfWTzZ1LINv","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":"Audits and returns a USDC cost quote with compression ratio proof for a given HTTP endpoint call through the AgentDiet context distillation service","exampleAgentPrompt":"Before I run my full context distillation pipeline, can you get me an AgentDiet USDC quote audit for a GET request to https://api.example.com/data so I can see the expected compression ratio and ROI proof?","exampleUseCases":[{"title":"Pre-flight token savings estimate","prompt":"I'm about to pipe a large external API response through AgentDiet — can you first pull a USDC quote audit for a GET request to https://api.openai.com/v1/models so I know what compression ratio to expect before I commit?"},{"title":"Agent pipeline cost validation","prompt":"My agent is calling a lot of endpoints and I want to see if AgentDiet is worth it — run a quote audit on a POST call to https://mydata.io/v2/feed and show me the ROI proof and compression percentage."},{"title":"Comparing distillation efficiency across endpoints","prompt":"I need to decide which of my endpoints will benefit most from context compression — get me a USDC quote audit from AgentDiet for a GET request to https://news.api.io/headlines so I can see the compression ratio proof."}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing quote details, and an roi_proof object that includes a compression_ratio_pct value (e.g. 91.4%) showing how much the context can be compressed relative to the raw input.","failureModes":["Missing or invalid 'url' query parameter returns an error or empty data object","Unsupported HTTP method (not GET or POST) causes schema validation failure","Payment not settled in USDC on Base results in 402 response before data is returned","Target URL is unreachable or returns non-200, leading to empty or error data","Rate limiting or quota exhaustion may return a non-ok status"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.01 USDC) pre-flight check to estimate token compression savings and ROI before committing to a full AgentDiet distillation call. It is ideal for agents that need to validate whether context compression is worthwhile for a specific HTTP endpoint before paying for the full pipeline, or for cost-optimization workflows that need to benchmark distillation efficiency across multiple URLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:39.155Z","isFirstParty":false,"canonicalSlug":"agentdiet-usdc-quote-audit-8a03807e"}