{"uid":"cap_nWxGgXU0D-TLIG99ehHgG","slug":"delx-commerce-array-reverse-27549266","name":"Delx Commerce — Array Reverse","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/arr-reverse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":[3,2,1],"schema":"delx/util-arr-reverse/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2NuYvb7t_Ddl_Y1Vs-OHg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 an array, returning the reversed list with a count via a pay-per-call API.","exampleAgentPrompt":"Can you reverse the order of this list for me: [1, 2, 3, 4, 5]?","exampleUseCases":[{"title":"Reverse a sorted leaderboard","prompt":"I have a leaderboard array ranked from lowest to highest score — can you flip it so the highest score comes first? The array is [100, 250, 400, 750, 1200]."},{"title":"Invert a processing queue","prompt":"My task queue is [\"task-a\", \"task-b\", \"task-c\", \"task-d\"] and I need to process it in reverse order — can you flip it around for me?"},{"title":"Reverse a list of timestamps","prompt":"I have these log timestamps in chronological order: [\"2024-01-01\", \"2024-01-02\", \"2024-01-03\"] and I need them reversed so the most recent one is first."}],"resultDescription":"Returns a JSON object containing the reversed array under 'items', the count of elements under 'count', and a schema identifier string 'delx/util-arr-reverse/v1'.","failureModes":["Missing or empty 'items' field returns an error","Non-array value for 'items' causes a validation failure","Payment not provided or insufficient USDC results in a 402 response","Malformed JSON body returns a parsing error"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic, pay-per-call array reversal with no signup required and verifiable delivery via x402 on Base or Solana. Useful when you want an auditable on-chain micropayment for a utility operation rather than relying on a free in-memory operation, or when operating in an agent context that uses x402 for trustless payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.769Z","isFirstParty":false,"canonicalSlug":"delx-commerce-array-reverse-27549266"}