{"uid":"cap_y0ZiNCp4FhN1S0pG8NInI","slug":"aisa-mpp-data-apis-polymarket-batch-prices-history-4975fa9e","name":"Polymarket Batch Prices History","description":"Retrieve historical price data for multiple markets in a single request.\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","url":"https://api.aisa.one/apis/v1/polymarket/batch-prices-history?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["markets"],"properties":{"end_ts":{"type":"number","format":"double","description":"Filter by items before this unix timestamp (seconds)."},"markets":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"List of market asset ids to query. Maximum 20."},"fidelity":{"type":"integer","description":"Accuracy of the data expressed in minutes. Default is 1 minute."},"interval":{"enum":["max","all","1m","1w","1d","6h","1h"],"type":"string","description":"Time interval for data aggregation."},"start_ts":{"type":"number","format":"double","description":"Filter by items after this unix timestamp (seconds)."}}},"responseSchema":{"type":"object","properties":{"history":{"type":"object","description":"Map of market asset id to array of price data points.","additionalProperties":{"type":"array","items":{"type":"object","properties":{"p":{"type":"number","format":"float"},"t":{"type":"integer","format":"uint32"}}}}}}},"example":null,"exampleRequest":null,"tags":["web-search","financial-data","prediction-markets","weather","travel","data","search"],"displayCostAmount":"0.012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.012/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yYBvWQK4k0_Av3KhIRyXZ","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"AIsa MPP Data APIs","brandSlug":"aisa-mpp-data-apis-mpp","brandBaseUrl":"https://aisa.one","brandDocsUrl":null,"whatItDoes":"Retrieves historical price time-series data for up to 20 Polymarket prediction market assets in a single request.","exampleAgentPrompt":"Can you pull the hourly price history for the last week for these three Polymarket market assets — 0xabc123, 0xdef456, and 0x789ghi — so I can see how their prices moved over time?","exampleUseCases":[{"title":"Comparing market price trends over time","prompt":"Fetch the daily price history for these five Polymarket markets — 0xaaa111, 0xbbb222, 0xccc333, 0xddd444, 0xeee555 — for the past month so I can compare how each one trended."},{"title":"Backtesting a prediction market strategy","prompt":"I need all available price data at 1-minute fidelity for markets 0x111aaa and 0x222bbb on Polymarket — can you get the full max history so I can backtest a trading strategy?"},{"title":"Monitoring price movements around an event","prompt":"Pull the 6-hour interval price history for markets 0xpoly1, 0xpoly2, and 0xpoly3 on Polymarket between January 10 and January 20 2025 — I want to see how prices moved around that event window."}],"resultDescription":"A JSON object with a 'history' map where each key is a market asset ID and the value is an array of price data points, each containing a price ('p' as float) and a unix timestamp ('t' as uint32).","failureModes":["More than 20 market IDs provided — request rejected with validation error","Invalid market asset ID format — returns empty or missing data for that key","start_ts greater than end_ts — may return empty arrays or error","Invalid interval enum value — returns 400 bad request","Market ID not found on Polymarket — returns empty array for that market","Network or upstream Polymarket data unavailability — may return partial results or 503"],"whenToPreferThis":"Use this endpoint when you need historical price data for multiple Polymarket prediction market assets in one call rather than making separate per-market requests. It is ideal for batch analysis, backtesting, or cross-market comparison workflows where efficiency matters. Choose this over single-market endpoints when processing 2–20 markets simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:46:27.139Z","isFirstParty":false,"canonicalSlug":"aisa-mpp-data-apis-polymarket-batch-prices-history-4975fa9e"}