{"uid":"cap_qxnvr2pY6VSXgzu5ivAhP","slug":"delx-commerce-pagination-plan-api-adabd9a5","name":"Delx Commerce Pagination Plan API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/pagination-plan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"response":{"type":"object","description":"Input field: response."}}},"responseSchema":{"type":"json","example":{"mode":"cursor","schema":"delx/util-pagination-plan/v1","has_next":true,"next_reference":"abc","stop_condition":"next reference absent","max_pages_recommended":100}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iyuGL47ZEmS0Tt36FVXlP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an API response object to generate a structured pagination plan, including mode, next reference cursor, stop condition, and recommended max pages.","exampleAgentPrompt":"I just got back a JSON response from an external API and I need to know how to paginate through the rest of the results — can you figure out the pagination mode, next cursor, whether there are more pages, and how many pages I should fetch at most?","exampleUseCases":[{"title":"Iterating through search result pages","prompt":"I'm pulling search results from an external API and got this first response back — can you analyze it and tell me the pagination mode, next cursor reference, and how many pages I should request before stopping?"},{"title":"Automated data pipeline pagination planning","prompt":"My agent just fetched the first batch of records from a data API. Here's the response — determine if there are more pages, extract the next reference cursor, and give me the recommended max pages to fetch so I don't over-paginate."},{"title":"Stop condition detection for API crawling","prompt":"I'm building a workflow that fetches data page by page from an API. Given this response object, what's the stop condition I should watch for, and is there a next reference I should use to get the next page?"}],"resultDescription":"Returns a structured pagination plan including: pagination mode (e.g. cursor-based), the next reference value to use in the subsequent request, a boolean indicating whether more pages exist, the stop condition description (e.g. 'next reference absent'), and the recommended maximum number of pages to fetch.","failureModes":["Malformed or non-standard response object may result in inability to detect pagination fields","Response lacks pagination metadata, leading to null/empty next_reference","Ambiguous response structure may produce incorrect mode detection","Payment failure via x402 protocol will block the request before processing"],"whenToPreferThis":"Use this endpoint when an AI agent needs to autonomously paginate through multi-page API responses without hardcoding pagination logic. It is especially useful in agentic workflows where the response format is varied or unknown, and the agent needs a reliable, interpreted pagination plan rather than parsing raw headers or fields manually. Prefer this over custom parsing code when working with cursor-based APIs at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:55.427Z","isFirstParty":false,"canonicalSlug":"delx-commerce-pagination-plan-api-adabd9a5"}