{"uid":"cap_1oEkTXJrW_yRIXJVBN_kx","slug":"one-engine-array-chunk-c1111e23","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/t6?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nmURIKjxtkwdur9R1j-Ad","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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 a chunk of items at a given offset and size, optionally compared against another array.","exampleAgentPrompt":"Take this array of 200 product IDs and give me a chunk of 25 items starting at offset 50.","exampleUseCases":[{"title":"Paginating large result sets","prompt":"I have a list of 500 user records and I want to display them 20 at a time — give me page 3, so items starting at offset 40 with a chunk size of 20."},{"title":"Batch processing pipeline segment","prompt":"Split this array of 300 task IDs into a chunk of 50 starting at offset 100 so I can process that batch next."},{"title":"Comparing array slices","prompt":"I have two arrays — my master list and a secondary list — can you extract 30 items from the master starting at offset 0 and compare them against the secondary array?"}],"resultDescription":"Returns an object containing the sliced/chunked portion of the input array based on the specified offset and size, with optional comparison results if a second array is provided.","failureModes":["Missing required 'values' array returns a validation error","Array exceeds 1000-item limit returns rejection","Non-integer offset or size may cause unexpected behavior","Empty array returns empty chunk","Offset beyond array length returns empty result","Payment failure via x402 returns 402 status"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call array chunking/slicing operation without standing up server-side logic — especially in autonomous agent pipelines on Base that already use x402 micropayments. Ideal for paginating through large arrays on-the-fly or extracting fixed-size windows from a dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:27.181Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-b6b04367"}