{"uid":"cap_WPUalP_19-AAUAgffnpY_","slug":"one-engine-array-reverse-t9-15108080","name":"ONE Engine Array Reverse (T9)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/array/reverse/t9?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["values"],"properties":{"size":{"type":"integer"},"other":{"type":"array","description":"Optional comparison array"},"offset":{"type":"integer"},"values":{"type":"array","description":"JSON array with at most 1000 items"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sLJiy2p23o5qVOmv7KzUm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reverses a JSON array of up to 1000 items, optionally with offset and comparison array support, via a pay-per-call x402 API.","exampleAgentPrompt":"Reverse this array of values for me: [5, 12, 3, 99, 7, 1] — return them in the opposite order using the ONE Engine array reverse utility.","exampleUseCases":[{"title":"Reverse a ranked leaderboard list","prompt":"I have a leaderboard array like [\"Alice\",\"Bob\",\"Carol\",\"Dave\"] and I need it reversed so the last place is shown first — can you flip that array for me?"},{"title":"Flip a sequence for reverse playback","prompt":"Take this ordered sequence of timestamps [100, 200, 300, 400, 500] and reverse it so I can process them from latest to earliest."},{"title":"Reverse pipeline output for downstream agent","prompt":"My upstream agent returned this list of task IDs [\"t1\",\"t2\",\"t3\",\"t4\",\"t5\"] but I need them in reverse order for the next processing step — please reverse the array."}],"resultDescription":"A JSON object containing the input array reversed in order, returned after a successful x402 micropayment. The response may also include metadata about the transformed array such as size or offset details.","failureModes":["Array exceeds 1000-item limit — request rejected","Invalid or non-array 'values' field — schema validation error","Payment failure via x402 — 402 response returned before processing","Empty array input — may return empty result or error","Network timeout on Cloudflare Worker — retry advised"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call array reversal utility within an autonomous agent pipeline on Base using x402 micropayments. It is ideal for agentic workflows that need deterministic data transformation without spinning up custom compute, and works well for arrays up to 1000 items. Prefer over custom code execution when minimizing agent complexity or when operating in a serverless, payment-gated microservice architecture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:11.521Z","isFirstParty":false,"canonicalSlug":"one-engine-array-reverse-t9-15108080"}