{"uid":"cap_d2UXsKZ_wC974ryziX6IF","slug":"agentdiet-x402-audit-endpoint-03d0a12e","name":"AgentDiet x402 Audit Endpoint","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/x402-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_q_LzpXtEVXHCdS0kMqSPy","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 an HTTP endpoint for x402 payment protocol compliance and returns compression/ROI proof metrics","exampleAgentPrompt":"Can you run an x402 audit on https://my-api.example.com using a GET request and tell me if it's compliant and what the compression ratio looks like?","exampleUseCases":[{"title":"Verify x402 payment compliance on new API","prompt":"I just launched a new API at https://api.myservice.com — can you audit it with a GET request to check if it's properly set up for x402 payments and show me the ROI proof?"},{"title":"Check compression ROI before agent deployment","prompt":"Before I deploy my agent pipeline, can you audit https://rag-pipeline.mycompany.dev with a GET request and tell me what compression ratio we're achieving?"},{"title":"Debug x402 integration on existing endpoint","prompt":"My endpoint at https://tools.myagent.ai doesn't seem to be passing x402 compliance checks — can you run an audit on it using GET and show me what the status and data look like?"}],"resultDescription":"Returns a JSON object with a status field ('ok' or error), a data object containing audit details, and an roi_proof object that includes a compression_ratio_pct value (e.g. 91.4%) indicating how efficiently the endpoint compresses context","failureModes":["Missing or invalid 'url' query parameter returns an error response","Unreachable target URL causes audit failure","Non-x402-compliant endpoints may return partial or negative audit data","Payment not settled in USDC on Base causes request rejection"],"whenToPreferThis":"Use this endpoint when you need to verify that an HTTP endpoint is properly configured for x402 payment protocol compliance, or when you want to measure the context window compression ROI of a specific URL. Prefer this over generic HTTP inspection tools when the goal is specifically x402 compliance auditing in an A2A or MCP pipeline context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:18.825Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-03d0a12e"}