{"uid":"cap_3GX27XXStamG_yv1QGdvm","slug":"one-engine-array-chunk-bf085ff1","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/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9As_41-FdBMOwnyvkTyRG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","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 starting at an offset, for downstream agent processing.","exampleAgentPrompt":"Split this list of 200 product IDs into chunks of 25 so I can process them in parallel batches.","exampleUseCases":[{"title":"Batch API calls from large list","prompt":"I have an array of 500 user IDs and I need to send them to an API that only accepts 50 at a time — can you chunk them into groups of 50?"},{"title":"Paginate search results for display","prompt":"Take these 120 search results and split them into pages of 10 items each, starting from item 30."},{"title":"Parallel processing of dataset","prompt":"I need to split this array of 1000 records into chunks of 100 so I can process each chunk in parallel — can you do that?"}],"resultDescription":"An object containing the original array partitioned into sub-arrays (chunks) of the specified size. Each chunk is an array of consecutive elements from the input. If an offset is provided, chunking begins at that index. An optional comparison array can be supplied for differential operations.","failureModes":["Input array exceeds 1000-item limit — request rejected","Missing required 'values' field — validation error","Non-integer size or offset values — schema validation failure","Empty array input — may return empty chunk array","Payment failure via x402 — 402 response, call not executed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to split a large array into fixed-size batches for parallel processing, pagination, or rate-limited downstream API calls. Prefer it over manual chunking logic when operating inside an agent workflow that already uses x402 micropayments on Base, making it a cheap ($0.0065 USDC) drop-in utility step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:24.193Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-b6b04367"}