{"uid":"cap_3cYoCwxpGvEc-bcgKS8ar","slug":"one-engine-array-max-54c1e744","name":"ONE Engine Array 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/array/max?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","description":"Non-empty array of finite numbers, maximum 1000 items"}}},"responseSchema":{"type":"json","example":{"value":9}},"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_FKiYoud8g5zzT1NDGCzy2","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 value from a provided array of numbers","exampleAgentPrompt":"Find the maximum value in this list of numbers: [3, 17, 2, 99, 45, 8, 61].","exampleUseCases":[{"title":"Peak score from user ratings","prompt":"I have a list of user ratings from this week — [4, 2, 5, 3, 5, 1, 4, 5, 2] — what's the highest score anyone gave?"},{"title":"Highest sensor reading detection","prompt":"Here are temperature readings from my sensors today: [72.1, 68.5, 81.3, 79.9, 66.0, 83.7, 77.4] — what was the peak temperature recorded?"},{"title":"Max bid value in auction data","prompt":"I've got a list of auction bids in USDC — [0.50, 1.20, 0.85, 2.30, 1.75, 0.60] — what's the highest bid so far?"}],"resultDescription":"A JSON object with a single field 'value' containing the maximum numeric value found in the input array (e.g. {\"value\": 9}).","failureModes":["Empty array input returns an error since array must be non-empty","Array exceeding 1000 items is rejected","Non-finite values (NaN, Infinity) in the array may cause errors","Non-numeric array elements will likely cause a validation error","Missing 'values' field in request body returns an error"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call computation of the maximum value from a numeric array without spinning up local compute or a heavier analytics service. Ideal for autonomous agents on Base using x402 micropayments that need simple math utilities without managing infrastructure. At $0.0009 USDC per call it is extremely cost-effective for frequent programmatic use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:26.177Z","isFirstParty":false,"canonicalSlug":"one-engine-array-max-54c1e744"}