{"uid":"cap_MrUwX4bNT7-NTWpzMjJcP","slug":"one-engine-array-chunk-t5-8d59e9ab","name":"ONE Engine Array Chunk (T5)","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/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7CyQS2yIU2CYpHI2elUAp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","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, with optional comparison against a second array.","exampleAgentPrompt":"Can you split this list of 500 product IDs into chunks of 50, starting from item 100? Here are the values: [1,2,3,...].","exampleUseCases":[{"title":"Batch processing a large dataset","prompt":"I have a list of 800 user IDs and need to process them in batches of 25 — can you split the array for me so I can send each chunk to a downstream API?"},{"title":"Paginating search results for display","prompt":"Take this array of 200 search result items and split it into pages of 10, starting from item 30, so I can show the right page to the user."},{"title":"Comparing chunked arrays","prompt":"Here are two arrays — chunk the first one into groups of 20 and compare it against the second array so I can see which items differ between them."}],"resultDescription":"Returns an object containing the array partitioned into sub-arrays (chunks) of the specified size, beginning at the given offset. May include comparison results if an optional second array is provided.","failureModes":["Array exceeds 1000-item limit — request rejected","Invalid or non-integer chunk size — validation error","Malformed JSON body — parse error","Payment not included or insufficient — 402 Payment Required","Offset out of bounds — empty or partial result"],"whenToPreferThis":"Use this endpoint when you need a cheap, pay-per-call utility to split arrays into fixed-size chunks without standing up your own infrastructure. Particularly useful for AI agents performing pagination, batch API calls, or parallel workload distribution on Base/x402-compatible pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:57.644Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-t5-8d59e9ab"}