{"uid":"cap_eLqQIk4jjMH8u70Ds6NoQ","slug":"one-engine-array-reverse-9a5fc7d5","name":"ONE Engine Array Reverse","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/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D_RLieyd-Ap7-otEV0YSm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reverses the order of elements in a JSON array, with optional size and offset parameters.","exampleAgentPrompt":"Reverse the order of this array for me: [\"apple\", \"banana\", \"cherry\", \"date\", \"elderberry\"]","exampleUseCases":[{"title":"Reverse paginated result order","prompt":"I have this list of search results and I need them in reverse order: [\"result1\", \"result2\", \"result3\", \"result4\", \"result5\"] — can you flip the sequence?"},{"title":"Invert a ranked leaderboard","prompt":"Take this leaderboard array and reverse it so the last-place item comes first: [\"Alice\", \"Bob\", \"Carol\", \"Dave\"]"},{"title":"Reverse a time-series data array","prompt":"I have these timestamps in chronological order and need them reversed to show newest first: [\"2024-01-01\", \"2024-01-02\", \"2024-01-03\", \"2024-01-04\"]"}],"resultDescription":"Returns a JSON object containing the reversed array. The response is an object with the transformed array elements in reversed order, potentially scoped by the provided size and offset parameters.","failureModes":["Array exceeds 1000 item limit — returns an error response","Invalid or non-array values field — returns a validation error","Malformed JSON body — returns a parse error","Payment failure via x402 — returns 402 Payment Required before processing"],"whenToPreferThis":"Choose this endpoint when you need a simple, low-cost ($0.0025 USDC) pay-per-call array reversal via the x402 micropayment protocol on Base, without setting up your own compute infrastructure. Ideal for autonomous agents that need lightweight array transformation utilities on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:08.250Z","isFirstParty":false,"canonicalSlug":"one-engine-array-reverse-c1e3b700"}