{"uid":"cap_O8AENivpOZhkdurtbx50v","slug":"delx-commerce-chunk-list-utility-e8488f9f","name":"Delx Commerce — Chunk List Utility","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/chunk-list?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"integer","description":"Input field: size."},"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"size":2,"count":3,"chunks":[[1,2],[3,4],[5]],"schema":"delx/util-chunk-list/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_WhfCP0LvszP_p5j09NNvO","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":"Splits an array of items into evenly-sized chunks of a specified size, returning all chunks and their count.","exampleAgentPrompt":"Split this list of 15 product IDs into chunks of 5: [101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115].","exampleUseCases":[{"title":"Batch API calls in parallel","prompt":"I have a list of 50 user IDs and I want to send them to an API that only accepts 10 at a time — can you split them into groups of 10 for me?"},{"title":"Paginate product catalog display","prompt":"I have 23 products and want to show them 6 per page — split the list into pages of 6 so I can render each page separately."},{"title":"Distribute tasks across workers","prompt":"I have 30 jobs to process and 4 workers — split the job list into chunks of 8 so each worker gets a roughly equal share."}],"resultDescription":"Returns a JSON object containing: the requested chunk size, the total number of chunks produced, and an array of arrays where each sub-array contains up to 'size' items from the original list. Also includes a schema identifier ('delx/util-chunk-list/v1') for result verification.","failureModes":["Invalid or missing 'size' field (non-integer or zero) — likely returns a 4xx error","Empty or missing 'items' array — may return zero chunks or an error","Payment failure via x402 protocol — endpoint returns 402 Payment Required if USDC payment on Base/Solana is not completed","Oversized item arrays may hit undocumented payload limits"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call, no-signup utility to partition any array into fixed-size chunks — especially in agentic workflows where you want verifiable, metered execution paid in USDC via x402 on Base or Solana. Prefer it over custom code when you want deterministic, reproducible chunking with a verifiable result schema in a trustless agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:52.975Z","isFirstParty":false,"canonicalSlug":"delx-commerce-chunk-list-utility-e8488f9f"}