{"uid":"cap_qlP6-vl0Xgq5FvTlG2Uj6","slug":"delx-commerce-floor-number-floor-n-4da0f9b3","name":"Delx Commerce — Floor Number (floor-n)","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/floor-n?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"value":3,"schema":"delx/util-floor-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_sFAq6ghmN_rzPgqoY9oxb","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 floor (largest integer less than or equal to) of a given numeric value, paid per-call via USDC on Base or Solana.","exampleAgentPrompt":"What is the floor of 7.85 — round it down to the nearest integer using Delx Commerce's pay-per-result math API.","exampleUseCases":[{"title":"Floor a price for display","prompt":"I have a price of 14.97 and I need to display just the whole dollar amount rounded down — can you floor that number for me?"},{"title":"Integer page count calculation","prompt":"I have 23.6 pages worth of content and need to know how many complete pages that is — can you floor 23.6 to get the whole number?"},{"title":"Floor a division result","prompt":"I divided 100 by 7 and got roughly 14.2857 — can you floor that result to give me the integer part?"}],"resultDescription":"Returns a JSON object containing the floored integer value (e.g. {\"value\": 3, \"schema\": \"delx/util-floor-n/v1\"}), where 'value' is the largest integer less than or equal to the input number.","failureModes":["Missing or non-numeric 'value' field in request body returns an error","Providing a non-finite number (NaN, Infinity) may result in an error or unexpected output","Payment failure via x402 (insufficient USDC balance or unsupported chain) will prevent the call from completing","Network timeout if the Delx Commerce endpoint is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a simple, verifiable, pay-per-call floor computation without any signup or subscription — especially in agentic workflows that use USDC micropayments via the x402 protocol on Base or Solana. Ideal for agents that need guaranteed, auditable math operations billed per result rather than via a monthly API key plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.934Z","isFirstParty":false,"canonicalSlug":"delx-commerce-floor-number-floor-n-4da0f9b3"}