{"uid":"cap_6-37eXRFg0TyUoMGxX0ra","slug":"one-engine-minimum-of-two-numbers-3eab98ae","name":"ONE Engine Minimum of Two Numbers","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/min?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"number"},"b":{"type":"number"}}},"responseSchema":{"type":"json","example":{"value":4}},"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_oNE02FPTzr1axgMFQlIii","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 smaller of two numeric inputs","exampleAgentPrompt":"What's the minimum of 42 and 17?","exampleUseCases":[{"title":"Capping agent budget spend","prompt":"I have two budget limits — one from the department at 500 and one from the project at 320 — give me the smaller one so I know the actual cap to use."},{"title":"Finding lowest sensor reading","prompt":"I have two temperature sensor readings, 98.6 and 101.4 — which is the lower value?"},{"title":"Comparing bid prices","prompt":"Two vendors submitted bids: 2750 and 3100 dollars. Tell me the minimum so I can flag the cheaper option."}],"resultDescription":"Returns a JSON object with a single field 'value' containing the smaller of the two input numbers. Example: {\"value\": 4} when comparing 4 and 9.","failureModes":["Missing 'a' or 'b' parameters returns an error","Non-numeric input values cause a parse or validation error","Network timeout on the Cloudflare Worker edge","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap, pay-per-call minimum computation without spinning up local logic — especially in autonomous agent pipelines on Base using x402 micropayments where offloading arithmetic to a utility API is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:16.076Z","isFirstParty":false,"canonicalSlug":"one-engine-minimum-of-two-numbers-3eab98ae"}