{"uid":"cap_8cxawZf6E7FAjqmJ7r1b1","slug":"one-engine-array-chunk-ff39a92f","name":"ONE Engine Array Chunk","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/chunk/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_6boLM3iMg8SbNv8AJj2oe","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":"Splits a JSON array into fixed-size chunks, optionally offset, for paginated or batched processing of up to 1000 items.","exampleAgentPrompt":"Split this list of 500 product IDs into chunks of 50 items each, starting from offset 0: [id1, id2, ..., id500].","exampleUseCases":[{"title":"Paginating large search results","prompt":"I have a list of 300 customer emails and I need to process them in batches of 25 — can you split the array into chunks of 25 starting from the beginning?"},{"title":"Parallel batch job partitioning","prompt":"Take this array of 200 task IDs and break it into chunks of 10 so I can send each chunk to a different worker in parallel."},{"title":"Sliding window data comparison","prompt":"I have an array of 150 transaction records — slice out 30 items starting at offset 60 so I can compare that page against yesterday's records."}],"resultDescription":"Returns a JSON object containing the chunked sub-arrays derived from the input values array, split according to the specified size and optional offset parameters.","failureModes":["Array exceeds 1000 item limit — request rejected","Invalid or non-integer size/offset values — schema validation error","Empty values array — returns empty chunk result","Payment not included or insufficient — 402 Payment Required response","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap ($0.01 USDC), pay-per-call API to partition arrays into fixed-size chunks without spinning up custom logic. Ideal for autonomous agents on Base that need to paginate, batch, or parallelize processing of lists up to 1000 items on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:41.194Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-b6b04367"}