{"uid":"cap_RgKsOdRhRFH_24cWAOY7i","slug":"delx-commerce-agent-result-cost-check-44272522","name":"Delx Commerce Agent Result Cost Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/agent-result-cost-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cost_usdc":{"type":"string","maxLength":8192,"description":"Cost USDC supplied to Agent Result Cost Check; used only for this bounded calculation and processed in memory without retention."},"maximum_usdc":{"type":"string","maxLength":8192,"description":"Maximum USDC supplied to Agent Result Cost Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"amount_usdc":"0.001","maximum_usdc":"0.002","within_budget":true},"schema":"delx/util-agent-result-cost-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"22cac9b8faf2680905382f84e7f4ba215e19e1473c911e345e9e10defcc59533","external_calls":0},"operation":"delivery_contract:agent_result_cost_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D1fYHuHx7PwVJrHnuFQ_v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given USDC cost is within a specified budget maximum, returning a verifiable pass/fail result with evidence of no data retention.","exampleAgentPrompt":"Before I approve this next API step, check if the cost of 0.001 USDC is within my budget of 0.002 USDC and confirm no data is retained.","exampleUseCases":[{"title":"Pre-approve cost before agent payment","prompt":"My agent is about to pay 0.001 USDC for a result — can you check that this is within my max budget of 0.005 USDC before it goes through?"},{"title":"Budget guard for autonomous agent loop","prompt":"At each step of my agent workflow, I want to verify the per-call cost of 0.001 USDC stays within a 0.003 USDC ceiling — run that check now and confirm nothing is stored."},{"title":"Audit trail for cost compliance","prompt":"I need a verifiable record showing that a 0.002 USDC charge was within my 0.01 USDC spending limit, with proof that my input data wasn't retained or sent anywhere external."}],"resultDescription":"Returns a JSON object with the submitted cost amount, the maximum budget, a boolean within_budget flag, a pass/fail status, and an evidence block containing a SHA-256 hash of the input, a flag confirming no data retention, and a count of zero external calls made.","failureModes":["Invalid or non-numeric USDC string values cause parsing errors","Missing required fields returns a validation error","cost_usdc exceeds maximum_usdc returns within_budget: false with status fail","Malformed JSON body returns a 400 error","Payment of 0.001 USDC not included returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI agent needs a lightweight, verifiable, privacy-preserving check to confirm a USDC cost is within a budget before authorizing a pay-per-result payment. Prefer it over manual comparisons when you need cryptographic evidence (SHA-256 input hash, zero external calls, no retention) for compliance or audit purposes within agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.955Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-result-cost-check-44272522"}