{"uid":"cap_hjmLuj4ZZTqj91Jwa2RHb","slug":"one-engine-array-chunk-t1-582466ac","name":"ONE Engine Array Chunk (t1)","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A0TDW_xTSpw8oSKfKg1Ds","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 200 product IDs into chunks of 25 — here's the array: [1,2,3,...,200].","exampleUseCases":[{"title":"Batch API calls from large dataset","prompt":"I have a list of 500 user IDs and I need to send them to an API that only accepts 50 at a time — can you chunk the array into groups of 50 for me?"},{"title":"Paginated display of search results","prompt":"I've got an array of 120 search results and I want to show them 10 at a time — split the array into chunks of 10 starting at offset 30 to get the fourth page."},{"title":"Parallel task distribution","prompt":"Here are 300 job items I need to distribute across workers — split them into chunks of 100 so I can send each chunk to a separate worker process."}],"resultDescription":"Returns an object containing the input array split into sub-arrays of the specified chunk size, starting at the given offset. If a comparison array is provided, the result may include comparative data between the chunked values and the other array.","failureModes":["Array exceeds 1000-item limit — request rejected","Missing required 'values' field — validation error","Invalid size or offset type (non-integer) — schema error","Payment failure via x402 — 402 response, call not processed","Empty array input returns empty chunks"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call array chunking utility without spinning up your own infrastructure. Ideal for autonomous agents that occasionally need to partition arrays as part of a larger workflow, especially when operating on the Base blockchain with x402 micropayments. Prefer this over writing custom chunking logic when you want a stateless, serverless call with no setup cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:10.288Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-t1-582466ac"}