{"uid":"cap_XyaEEVazI5Q-f9oSYo9sr","slug":"polymarket-markets-keyset-pagination-7fcf5413","name":"Polymarket Markets Keyset Pagination","description":"List Polymarket markets with cursor-based keyset pagination (same filters as /polymarket/markets)","url":"https://sol.blockrun.ai/api/v1/pm/polymarket/markets/keyset","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object","required":[],"properties":{}}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"data":{"type":"object"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0075","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.0095/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0095","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0095","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d5XEMf5WXl9OOGFC5tc85","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0095","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"List Polymarket prediction markets using cursor-based keyset pagination for efficient, stable traversal of large market lists","exampleAgentPrompt":"Can you pull the next page of Polymarket prediction markets using the cursor from the last request so I can keep scrolling through without missing any markets?","exampleUseCases":[{"title":"Building a full market index","prompt":"I want to crawl through all Polymarket prediction markets one page at a time — start from the beginning and give me the first batch, then I'll use the cursor to keep fetching until I've got them all."},{"title":"Monitoring new markets incrementally","prompt":"Can you fetch the latest batch of Polymarket markets starting from where we left off yesterday? Use the cursor we saved so we only get new ones and don't repeat old ones."},{"title":"Paginated market explorer dashboard","prompt":"Show me the next page of Polymarket markets after the cursor 'abc123xyz' — I'm building a scrollable list and need the stable keyset pagination version so the results don't shift around."}],"resultDescription":"Returns a paginated list of Polymarket prediction markets including market metadata (title, outcomes, status, volume, liquidity) along with a next-page cursor for continuing traversal in subsequent requests.","failureModes":["Invalid or expired cursor returns an error or restarts pagination from the beginning","No markets returned if filters are too restrictive combined with cursor position","Rate limiting or payment failure (402) if USDC balance is insufficient","Empty result set when cursor reaches the end of available markets","Malformed filter parameters may return 400 bad request"],"whenToPreferThis":"Use this endpoint when you need to reliably paginate through large sets of Polymarket markets without risk of duplicate or missed records — keyset pagination is more stable than offset-based pagination when the underlying dataset changes frequently. Prefer this over the standard /polymarket/markets endpoint when iterating through all markets in sequence or building continuous market feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:35.796Z","isFirstParty":false}