{"uid":"cap_c19O7xLgysuxXrGwtEEoy","slug":"delx-commerce-ceiling-ceil-n-math-utility-91078660","name":"Delx Commerce — Ceiling (Ceil-N) Math Utility","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/ceil-n?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"value":4,"schema":"delx/util-ceil-n/v1"}},"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_--IUUgO4sB2gRwhwDkHua","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":"Returns the ceiling (rounded-up integer) of a given numeric value via a pay-per-call API using USDC micropayments.","exampleAgentPrompt":"What is the ceiling of 3.7? Round it up to the nearest integer.","exampleUseCases":[{"title":"Rounding up fractional item counts","prompt":"I have 7.3 units needed for a project — what's the ceiling of that so I know the minimum whole number of units to order?"},{"title":"Ceiling of a price calculation","prompt":"My computed cost per user is 2.14 dollars — what's the ceiling of 2.14 so I can round up to the next whole dollar?"},{"title":"Agent math step in pipeline","prompt":"As part of my calculation, I need the ceiling of -1.5 — can you compute that for me?"}],"resultDescription":"A JSON object containing the ceiling (rounded-up integer) of the input value, plus a schema identifier string ('delx/util-ceil-n/v1') confirming the response format.","failureModes":["Missing or non-numeric 'value' field returns a validation error","Non-finite inputs (NaN, Infinity) may return an error or unexpected result","Payment failure (insufficient USDC balance) results in HTTP 402 and no computation","Network timeout returns no result"],"whenToPreferThis":"Use this endpoint when your AI agent needs a lightweight, no-signup ceiling math operation billed per call via USDC micropayments on Base or Solana — ideal for agent pipelines that need verifiable, pay-as-you-go arithmetic without embedding a math library or managing subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:40:07.056Z","isFirstParty":false,"canonicalSlug":"delx-commerce-ceiling-ceil-n-math-utility-91078660"}