{"uid":"cap_Uix4VuKayHk0-P72_77h3","slug":"one-engine-array-reverse-9ae6a6f2","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/t8?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C1D_d9XaWWVKjw6p7ryiu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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, optionally with offset and size parameters.","exampleAgentPrompt":"Reverse this array of values for me: [\"apple\", \"banana\", \"cherry\", \"date\", \"elderberry\"] — just give me the reversed list back.","exampleUseCases":[{"title":"Reverse a ranked leaderboard","prompt":"I have a leaderboard array sorted best-to-worst and I need it flipped to worst-to-best: [\"Alice\", \"Bob\", \"Carol\", \"Dave\", \"Eve\"]. Can you reverse that list?"},{"title":"Invert a processing queue","prompt":"Reverse this task queue array for me so the last items get processed first: [\"task_001\", \"task_002\", \"task_003\", \"task_004\"]"},{"title":"Flip a timeline of events","prompt":"I have a list of historical events in chronological order and I want them reversed into reverse-chronological order: [\"2020-01-01\", \"2021-06-15\", \"2022-03-10\", \"2023-11-22\"]. Please reverse that array."}],"resultDescription":"Returns a JSON object containing the reversed array, with elements in opposite order from the input. Optional size and offset parameters control how many elements are returned and where to start.","failureModes":["Array exceeds 1000-item limit — request rejected","Missing required 'values' field — validation error","Payment failure via x402 — 402 response, no transformation performed","Malformed JSON input — parse error returned"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call array reversal without spinning up server infrastructure. Ideal for autonomous agents on Base that need lightweight utility operations at $0.01 per call via x402. Best when the array has at most 1000 items and you want a fast, stateless transformation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:36.036Z","isFirstParty":false,"canonicalSlug":"one-engine-array-reverse-c1e3b700"}