{"uid":"cap_Kh94lBD8HRnHCymdZN7tH","slug":"one-engine-array-chunk-t2-7e92002f","name":"ONE Engine Array Chunk (t2)","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v2p3srikVfvp8vH_AvXY2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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 or compared against another array, returning the chunked result.","exampleAgentPrompt":"Can you split this list of 200 product IDs into chunks of 25 so I can process them in parallel batches? Here's the array: [1, 2, 3, ...]","exampleUseCases":[{"title":"Paginating large dataset for UI","prompt":"I have an array of 500 user records and I need to break it into pages of 20 items each, starting from item 40. Can you chunk it for me?"},{"title":"Batching API calls in parallel","prompt":"I need to split this list of 300 order IDs into groups of 50 so I can send them to the fulfillment API in parallel — can you partition the array for me?"},{"title":"Comparing segmented data against reference","prompt":"I have a list of 100 transaction IDs and a reference list — can you chunk my list into groups of 10 and compare them against the reference array at each step?"}],"resultDescription":"Returns an object containing the original array partitioned into sub-arrays of the specified chunk size. If an offset is provided, chunking begins from that position. If a comparison array is provided, the result may include comparison data alongside each chunk.","failureModes":["Array exceeds 1000-item limit — request rejected","Missing required 'values' field — validation error","Non-integer size or offset — invalid input error","Payment not provided or insufficient — 402 Payment Required","Empty array input — may return empty chunks or error"],"whenToPreferThis":"Choose this endpoint when you need a simple, low-cost ($0.0007 USDC) pay-per-call utility to chunk or paginate a JSON array on Base via x402 protocol, especially in autonomous agent pipelines where you need reliable batch splitting without spinning up custom infrastructure. Best suited 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:44:25.915Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-t2-7e92002f"}