{"uid":"cap_6p-S48CUh79KiAfQ3tIm2","slug":"one-engine-array-chunk-bcbd45b9","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/t3?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.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_z8hUIctJ5rj3XkY2jx881","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 a JSON array into fixed-size chunks, optionally offset and compared against another array","exampleAgentPrompt":"Split this list of 500 product IDs into chunks of 50 items each, starting from offset 0: [array of IDs goes here].","exampleUseCases":[{"title":"Paginating large API result sets","prompt":"I have a list of 800 user records and I need to process them 100 at a time — can you chunk that array into groups of 100 starting from the beginning?"},{"title":"Batching items for parallel processing","prompt":"Take this array of 300 job IDs and break it into batches of 25 so I can fan them out to workers in parallel."},{"title":"Comparing chunked slices of two arrays","prompt":"I have two arrays of transaction IDs — can you chunk the first one into groups of 50, offset by 100, and compare them against the second array?"}],"resultDescription":"Returns an object containing the input array partitioned into sub-arrays of the specified chunk size, starting at the given offset. If a comparison array is provided, results may include comparison metadata between the chunked segments and the other array.","failureModes":["Array exceeds 1000-item limit — request rejected","Invalid or non-integer size/offset values — validation error","Missing required 'values' field — 400 bad request","Payment failure via x402 — 402 payment required before response is returned","Empty array input may return empty chunks"],"whenToPreferThis":"Choose this endpoint when you need a simple, low-cost ($0.001 USDC) utility to split arrays into fixed-size partitions for pagination, batch processing, or parallel fan-out. Prefer it over implementing custom chunking logic when operating in an autonomous agent context on Base using x402 micropayments. Best for arrays up to 1000 items.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:59.668Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-b6b04367"}