{"uid":"cap_pVXj6WjnuXiHEWlkT9NWP","slug":"lukka-prediction-markets-total-volume-e2a6896e","name":"Lukka Prediction Markets Total Volume","description":"Time-bucketed total prediction-market volume across all exchanges.","url":"https://api.predictionmarketdata.io/prediction-total-volume","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to","interval"],"properties":{"to":{"type":"string","description":"UTC end timestamp in ISO-8601 format."},"from":{"type":"string","description":"UTC start timestamp in ISO-8601 format."},"interval":{"type":"string","description":"Bucket size in milliseconds."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"time":"2026-06-07T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","totalVolumeUsd":"6034873863.04"}],"count":48,"dataType":"prediction-total-volume-summary"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CtqIQYtm4eRmtvl_nxBSw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns time-bucketed total trading volume in USD for prediction market exchanges (e.g. Polymarket) over a specified time range.","exampleAgentPrompt":"Pull the total prediction market trading volume from Lukka from January 1, 2025 to June 1, 2025 in daily buckets (86400000 ms intervals) so I can see how activity trended across exchanges like Polymarket.","exampleUseCases":null,"resultDescription":"A JSON array of time-bucketed volume records, each containing a UTC timestamp, source ID, exchange entity code (e.g. POLYMARK), exchange name (e.g. Polymarket), and total volume in USD for that bucket. Also includes a total count of records and a dataType identifier.","failureModes":["Missing required query params (from, to, interval) returns a 400 error","Invalid ISO-8601 timestamps cause parsing errors","Interval value not a valid millisecond bucket size may return empty or malformed data","Date range too large may result in timeout or rate limiting","Payment not completed (x402) returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need aggregated historical trading volume for prediction market exchanges over a custom time range with configurable bucket granularity. Prefer this over individual contract-level data when you want exchange-wide or platform-wide volume trends.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:13.656Z","isFirstParty":false}