{"uid":"cap_dslKJBzke8nL-9hDHP_SZ","slug":"one-engine-array-chunk-top-10-9236cb2c","name":"ONE Engine Array Chunk (Top 10)","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/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IWaENEFyECDl6kQpRZDHp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 chunks and returns the top 10 chunk at a specified offset, optionally compared against another array.","exampleAgentPrompt":"Split this list of 500 product IDs into chunks of 50 and give me the top 10 items starting at offset 100: [list of IDs].","exampleUseCases":[{"title":"Paginate large dataset results","prompt":"I have an array of 800 user records and I want to display them 25 at a time — can you chunk it and give me the top 10 records starting at offset 50?"},{"title":"Batch processing pipeline step","prompt":"Split this array of 300 transaction IDs into groups of 30 and return the chunk starting at offset 0 so I can process them in batches."},{"title":"Compare chunked array windows","prompt":"Take my list of 200 product SKUs, chunk them into groups of 20, and compare the chunk at offset 40 against this reference array of expected SKUs: [reference list]."}],"resultDescription":"Returns a JSON object containing the top 10 items from the chunked array at the specified offset, with optional comparison results if a second array was provided.","failureModes":["Input array exceeds 1000 items — request rejected","Missing required 'values' field — validation error","Non-integer size or offset — schema validation failure","Payment not completed via x402 — 402 Payment Required response","Empty array input — may return empty chunk"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call array chunking operation within an autonomous agent pipeline on Base using x402 micropayments. Ideal for agents that need to paginate or partition arrays without standing up custom infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:42:29.970Z","isFirstParty":false,"canonicalSlug":"one-engine-array-chunk-top-10-9236cb2c"}