{"uid":"cap_jqikZ7y6W6AhOZICpzxk5","slug":"one-engine-number-floor-23f4a7cb","name":"ONE Engine Number Floor","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/number/floor?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number"}}},"responseSchema":{"type":"json","example":{"value":12}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BZfKGKWGIdWR8fpn50ZfN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","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.","exampleAgentPrompt":"What is the floor of 7.83? Just give me the largest integer that's less than or equal to it.","exampleUseCases":[{"title":"Rounding down a price calculation","prompt":"I calculated a price of 19.97 USDC — what's the floor of that value so I can display the whole-dollar amount?"},{"title":"Normalizing sensor reading to integer","prompt":"My sensor is returning 42.6 as a temperature reading — can you floor that to the nearest whole number?"},{"title":"Flooring a negative decimal","prompt":"What's the floor of -5.3? I need the largest integer that's still less than or equal to it for my budget calculation."}],"resultDescription":"A JSON object containing a single field 'value' set to the floor integer result of the input number. For example, input 12.9 returns {\"value\": 12}.","failureModes":["Missing or non-numeric 'value' field in request body may return an error or unexpected result","Payment failure via x402 protocol if insufficient USDC balance on Base","Network timeout if the Cloudflare Worker is temporarily unavailable","Passing non-finite values (NaN, Infinity) may produce undefined behavior"],"whenToPreferThis":"Choose this endpoint when you need a simple, cheap, pay-per-call floor operation for autonomous agent workflows on Base using the x402 micropayment protocol. Ideal when you need a trustless, on-chain-payment-compatible math utility without spinning up your own compute. At $0.0009 USDC per call it is cost-effective for high-frequency agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:36.033Z","isFirstParty":false,"canonicalSlug":"one-engine-number-floor-23f4a7cb"}