{"uid":"cap_rxoh025L5dhYu1lLbnMQ9","slug":"one-engine-array-chunk-b301e7f2","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/t9?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.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wX_gdSgZMj1tC2WwJt9Ee","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","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 smaller chunks of a specified size, optionally with an offset, for batch processing by autonomous agents.","exampleAgentPrompt":"Split this list of 200 product IDs into chunks of 25 each, starting from offset 0, so I can process them in parallel batches.","exampleUseCases":[{"title":"Batch API request preparation","prompt":"I have an array of 500 customer IDs and I need to process them in groups of 50 — can you chunk that array into batches of 50 starting from the beginning?"},{"title":"Paginated data display","prompt":"Take this list of 120 search results and split it into pages of 10 items each, starting from page offset 30, so I can show the right page to the user."},{"title":"Parallel processing workload division","prompt":"I need to divide this array of 300 image URLs into equal chunks of 30 so I can send each chunk to a different worker for parallel processing."}],"resultDescription":"Returns an object containing the chunked sub-arrays derived from the input values array, split according to the specified size and optional offset parameters.","failureModes":["Input array exceeds 1000-item limit — request rejected","Invalid chunk size (zero or negative integer) — may return error or unexpected output","Missing required 'values' field — validation error returned","Payment failure via x402 — 402 Payment Required response before processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call array chunking utility with no setup overhead, especially within autonomous agent workflows on Base using x402 micropayments. Ideal for agents that need to partition arrays on-the-fly without running local code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:23.472Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-b6b04367"}