{"uid":"cap_j7YKg5ih8Q7QTscK6aG3y","slug":"one-engine-array-reverse-c1e3b700","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m7YkPR0UcFbtQ7JAmTdnu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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 controls.","exampleAgentPrompt":"Reverse this array of values for me: [\"apple\", \"banana\", \"cherry\", \"date\", \"elderberry\"] — start from offset 1 and only process 3 items.","exampleUseCases":[{"title":"Reverse paginated result order","prompt":"I have a list of search results in this order: [\"result1\", \"result2\", \"result3\", \"result4\", \"result5\"] — can you reverse them so the last result appears first?"},{"title":"Flip a ranked leaderboard","prompt":"Reverse this leaderboard array so the lowest-ranked player appears first: [\"Alice\", \"Bob\", \"Carol\", \"Dave\"]"},{"title":"Invert a sequence for processing","prompt":"I need to process this queue in reverse order: [10, 20, 30, 40, 50, 60] — can you flip it starting at offset 2, limiting to 4 items?"}],"resultDescription":"Returns a JSON object containing the reversed array, produced by flipping the order of elements from the input values array, optionally constrained by offset and size parameters.","failureModes":["Array exceeds 1000-item limit — request rejected","Missing required 'values' field — validation error","Malformed JSON body — parse error","Payment failure via x402 — 402 response with payment instructions","Network timeout on Cloudflare Worker edge node"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap, pay-per-call array reversal without spinning up compute infrastructure. At $0.0007 USDC per call via x402 on Base, it is ideal for autonomous agents that need occasional array transformations without maintaining persistent services or API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:37.049Z","isFirstParty":false,"canonicalSlug":"one-engine-array-reverse-c1e3b700"}