{"uid":"cap_sm7SgZS-T_ZqqRVkjygqm","slug":"one-engine-number-max-9ad82f1b","name":"ONE Engine Number Max","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/max?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"number"},"b":{"type":"number"}}},"responseSchema":{"type":"json","example":{"value":10}},"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_3OpeLm5XT3NWTuvXXbaMY","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 maximum of two numbers via a pay-per-call API using x402 on Base.","exampleAgentPrompt":"What's the maximum of 47 and 83? Use the ONE Engine number comparison to find out.","exampleUseCases":[{"title":"Agent decision threshold check","prompt":"I need to know which is larger: 512 or 349 — use ONE Engine to compare them and tell me the max."},{"title":"Dynamic pricing cap enforcement","prompt":"Compare the two price values 19.99 and 24.50 and tell me the higher one using ONE Engine."},{"title":"Score leaderboard tie-break","prompt":"I have two scores, 9750 and 9820 — which one is the maximum? Run the ONE Engine max check for me."}],"resultDescription":"Returns a JSON object with a single field 'value' containing the maximum of the two input numbers, e.g. {\"value\": 10}.","failureModes":["Missing or non-numeric input for 'a' or 'b' may result in an error or unexpected result","Payment failure via x402 if insufficient USDC balance on Base","Rate limiting or service unavailability from the Cloudflare Worker"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cheap ($0.0009 USDC), pay-per-call maximum computation for two numbers inside an autonomous agent workflow on Base, especially when you want to avoid spinning up local compute or when the x402 payment protocol is already integrated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:15.487Z","isFirstParty":false,"canonicalSlug":"one-engine-number-max-9ad82f1b"}