{"uid":"cap_HucoOnPb3BpPPK51QxMVo","slug":"delx-price-ceiling-check-973f2fe6","name":"Delx Price Ceiling Check","description":"Check whether a published USDC price stays under a buyer ceiling — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that alread…","url":"https://api.delx.ai/api/v1/x402/price-ceiling-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"buffer_pct":{"type":"integer","description":"Input field: buffer pct."},"price_usdc":{"type":"number","description":"Input field: price usdc."},"ceiling_usdc":{"type":"number","description":"Input field: ceiling usdc."}}},"responseSchema":{"type":"json","example":{"ok":true,"schema":"delx/util-price-ceiling-check/v1","status":"within_budget","allowed":true,"buffer_pct":0,"price_usdc":0.01,"ceiling_usdc":0.02,"headroom_usdc":0.01,"effective_ceiling_usdc":0.02}},"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_BSWCEgqw3ldISZYQCBc1x","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 price falls within a buyer-specified ceiling, optionally with a buffer percentage, and returns a deterministic pass/fail result.","exampleAgentPrompt":"Before I approve this payment, check if the quoted price of 0.05 USDC is under my ceiling of 0.10 USDC with a 10% buffer.","exampleUseCases":[{"title":"Preflight payment budget check","prompt":"I'm about to pay 0.003 USDC for an API call — can you verify that's under my ceiling of 0.005 USDC before I authorize it? Use a 5% buffer."},{"title":"Agent spend limit enforcement","prompt":"My agent is about to spend 0.08 USDC on a service but I've set a hard ceiling of 0.075 USDC with no buffer — check if this will pass or fail so I can decide whether to proceed."},{"title":"Dynamic pricing gate for automation","prompt":"Check whether a price of 0.02 USDC is within my ceiling of 0.025 USDC using a 0% buffer, so I can decide if my workflow should continue automatically."}],"resultDescription":"Returns deterministic machine-readable JSON indicating whether the supplied price_usdc passes or fails the ceiling_usdc threshold, factoring in any optional buffer_pct. The result is advisory and stateless — no side effects, no data retention.","failureModes":["Missing required fields (price_usdc or ceiling_usdc) result in a validation error","Non-numeric or negative values for price or ceiling may return an error response","buffer_pct outside expected integer range may produce unexpected results","Network timeout returns no result; caller must retry"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, cheap, stateless preflight check to confirm a USDC price is within a buyer-specified budget ceiling before authorizing a payment or continuing a workflow. Prefer it over manual comparison logic when you need a standardized, machine-readable JSON result with optional buffer tolerance built in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:49.090Z","isFirstParty":false}