{"uid":"cap_iUXqJv3KNLeewey5XW082","slug":"one-engine-array-reverse-eb8fdf34","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ue3s598u8qW45YxIgJm6Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 offset and size parameters.","exampleAgentPrompt":"Reverse this array for me: [\"apple\", \"banana\", \"cherry\", \"date\", \"elderberry\"] — I need the elements in the opposite order.","exampleUseCases":[{"title":"Reverse a ranked results list","prompt":"I have this ranked list of items [\"gold\",\"silver\",\"bronze\",\"honorable mention\"] and I need it reversed so the lowest rank comes first — can you flip the order of the array?"},{"title":"Reverse paginated data slice","prompt":"Take this array of 50 user records and reverse just 10 of them starting at offset 5, so I can display them in reverse chronological order on that page."},{"title":"Invert comparison array alignment","prompt":"I need to reverse this array [1,2,3,4,5,6,7,8,9,10] and compare it against [10,9,8,7,6,5,4,3,2,1] to check they match after flipping."}],"resultDescription":"Returns a JSON object containing the reversed array — elements of the input array in reverse order, optionally sliced by offset and size parameters.","failureModes":["Input array exceeds 1000 items — request rejected","Missing required 'values' field — validation error","Invalid JSON array format — parse error","Payment not provided or insufficient USDC — 402 response","Network timeout on the Cloudflare Workers edge"],"whenToPreferThis":"Choose this endpoint when you need a simple, cheap ($0.0005 USDC), pay-per-call array reversal with no setup or auth overhead, especially in an autonomous agent workflow using x402 payments on Base. Prefer it over custom code when you want a stateless, serverless utility call with optional slicing via offset and size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:29.829Z","isFirstParty":false,"canonicalSlug":"one-engine-array-reverse-c1e3b700"}