{"uid":"cap_iS1dVcUEmAt7e4STdvEzk","slug":"delx-commerce-array-drop-arr-drop-b1424ad3","name":"Delx Commerce — Array Drop (arr-drop)","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-drop?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","description":"Input field: n."},"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":2,"items":[3,4],"schema":"delx/util-arr-drop/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_IGt1qvmbwajcx4wmQspXt","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":"Removes the first N elements from an array and returns the remaining items","exampleAgentPrompt":"Drop the first 2 items from the array [1, 2, 3, 4, 5] and give me what's left.","exampleUseCases":[{"title":"Paginate through a list by skipping leading items","prompt":"I have the array [10, 20, 30, 40, 50, 60] and I want to skip the first 3 entries — give me everything after that."},{"title":"Remove already-processed queue items","prompt":"My processing queue is [\"task-A\", \"task-B\", \"task-C\", \"task-D\"] and the first 1 item has already been handled — drop it and return the remaining tasks."},{"title":"Trim header rows from a data array","prompt":"I have a flat array [\"header1\", \"header2\", 100, 200, 300] and need to drop the first 2 elements so I only keep the actual data values."}],"resultDescription":"A JSON object containing the count of remaining items, the trimmed array of items after dropping the first N elements, and a schema identifier ('delx/util-arr-drop/v1') for result verification.","failureModes":["Invalid or missing 'n' integer — API may return an error or unexpected result","Invalid or missing 'items' array — request rejected or empty result","n larger than array length — may return empty array or error","Payment failure via x402 — 402 response if USDC payment not provided or insufficient","Network timeout or service unavailability"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use, no-signup array drop operation with verifiable delivery and micro-payment via USDC on Base or Solana. It is ideal for AI agents that require trustless, auditable utility computation without managing API keys or subscriptions. Prefer it over in-code solutions when you want a standardized result schema and on-chain payment provenance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.003Z","isFirstParty":false,"canonicalSlug":"delx-commerce-array-drop-arr-drop-b1424ad3"}