{
"count": 5,
"items": [
{
"venue": "polymarket",
"marketId": "665374",
"eventId": "73130",
"eventTitle": "Will the U.S. invade Iran before 2027?",
"question": "Will the U.S. invade Iran before 2027?",
"outcomes": [
"Yes",
"No"
],
"yesPrice": 0.075,
"noPrice": 0.925,
"volume": 79865019.0853,
"volume24h": 235945.3295,
"liquidity": 318190.7688,
"openInterest": null,
"closeTime": "2027-01-01T04:59:00Z",
"status": "open",
"category": "Military Strikes",
"url": "https://polymarket.com/event/will-the-us-invade-iran-before-2027",
"impliedProbabilityPct": 7.5,
"fetchedAt": "2026-11-12T06:22:37Z"
},
{
"venue": "polymarket",
"marketId": "561251",
"eventId": "31552",
"eventTitle": "Presidential Election Winner 2028",
"question": "Will LeBron James win the 2028 US Presidential Election?",
"outcomes": [
"Yes",
"No"
],
"yesPrice": 0.0005,
"noPrice": 0.9995,
"volume": 55187134.9687,
"volume24h": 366.44,
"liquidity": 2177922.8367,
"openInterest": null,
"closeTime": "2028-11-08T04:59:00Z",
"status": "open",
"category": "President",
"url": "https://polymarket.com/event/presidential-election-winner-2028",
"impliedProbabilityPct": 0.05,
"fetchedAt": "2026-11-12T06:22:37Z"
},
{
"venue": "polymarket",
"marketId": "559687",
"eventId": "30829",
"eventTitle": "Democratic Presidential Nominee 2028",
"question": "Will Oprah Winfrey win the 2028 Democratic presidential nomination?",
"outcomes": [
"Yes",
"No"
],
"yesPrice": 0.0005,
"noPrice": 0.9995,
"volume": 54667909.1858,
"volume24h": 312,
"liquidity": 2736274.107,
"openInterest": null,
"closeTime": "2028-11-08T04:59:00Z",
"status": "open",
"category": "United States",
"url": "https://polymarket.com/event/democratic-presidential-nominee-2028",
"impliedProbabilityPct": 0.05,
"fetchedAt": "2026-11-12T06:22:37Z"
},
{
"venue": "polymarket",
"marketId": "559679",
"eventId": "30829",
"eventTitle": "Democratic Presidential Nominee 2028",
"question": "Will Bernie Sanders win the 2028 Democratic presidential nomination?",
"outcomes": [
"Yes",
"No"
],
"yesPrice": 0.0025,
"noPrice": 0.9975,
"volume": 52983452.2956,
"volume24h": 4410.063,
"liquidity": 224784.2866,
"openInterest": null,
"closeTime": "2028-11-08T04:59:00Z",
"status": "open",
"category": "United States",
"url": "https://polymarket.com/event/democratic-presidential-nominee-2028",
"matchedVenue": "kalshi",
"matchedMarketId": "KXPRESNOMD-28-BS",
"matchedQuestion": "Will Bernie Sanders be the Democratic Presidential nominee in 2028?",
"matchedYesPrice": 0.005,
"matchedUrl": "https://kalshi.com/markets/kxpresnomd-28",
"matchScore": 0.857,
"priceGapPts": 0.25,
"impliedProbabilityPct": 0.25,
"fetchedAt": "2026-11-12T06:22:37Z"
},
{
"venue": "polymarket",
"marketId": "559684",
"eventId": "30829",
"eventTitle": "Democratic Presidential Nominee 2028",
"question": "Will Chelsea Clinton win the 2028 Democratic presidential nomination?",
"outcomes": [
"Yes",
"No"
],
"yesPrice": 0.0075,
"noPrice": 0.9925,
"volume": 51133396.1102,
"volume24h": 257.4,
"liquidity": 177824.5623,
"openInterest": null,
"closeTime": "2028-11-08T04:59:00Z",
"status": "open",
"category": "United States",
"url": "https://polymarket.com/event/democratic-presidential-nominee-2028",
"impliedProbabilityPct": 0.75,
"fetchedAt": "2026-11-12T06:22:37Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14857/kalshi+markets+api/38673/prediction+markets+api?minVolume=OptionalminPriceMovePts=5&matchAcrossVenues=true&minPriceMovePts=5&maxResults=5&matchAcrossVenues=true&minPriceMovePts=5&minVolume=OptionalmatchAcrossVenues=true&maxResults=5&venues=polymarket,kalshi&maxResults=5&status=open&minVolume=Optionalstatus=open&venues=polymarket,kalshi&status=open&venues=polymarket,kalshi' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Kalshi市场 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
打开Kalshi事件合约,包括YES和NO价格、成交量、未平仓合约和关闭时间,可按关键字搜索,格式为JSON
从Polymarket和Kalshi的官方公共API读取预测市场赔率,使用一个统一的schema。每个市场一行:问题,YES/NO价格,隐含概率,交易量,24小时交易量,流动性,未平仓合约(Kalshi),结束时间,状态
每个请求最多100个结果 使用maxResults参数进行设置
每个请求从公共源收集实时数据 相同的请求可以从缓存中提供长达6小时
列表参数接受多个以逗号分隔的值,例如:伦敦,巴黎
该端点接受这些查询参数,均为可选项:query、venues、status、category、minVolume、maxResults、matchAcrossVenues、minPriceMovePts。查询:在市场和事件标题中搜索的词,例如比特币、选举、联邦利率。留空以获取按成交量排序的顶级市场。场所:要读取哪些预测市场。两者都是无须登录的官方公共API。多个值:用逗号分隔。状态:开放 = 可交易的市场,关闭 = 完成或结算的市场,全部 = 两者。类别:可选。仅保留类别或标签包含此文本的市场,例如政治、加密货币、经济、体育。留空以获取所有类别
预测市场API返回有关事件合约的数据,包括市场问题、是/否价格、隐含概率、交易量、流动性、未平仓合约、结束时间和市场状态,所有数据均以JSON格式结构化
关键字段包括事件ID 事件标题 结果(是/否)是价格 否价格 交易量 流动性 开盘利息 关闭时间 状态 和类别 提供对每个市场的全面洞察
响应数据以JSON结构组织,包括结果的“计数”和包含各个市场详细信息的“项目”数组。每个市场条目包含多个字段,便于访问特定信息
该API提供有关预测市场的信息,包括事件标题、结果、定价、交易量、流动性和市场状态,涵盖政治、经济和体育等广泛主题
用户可以使用可选参数自定义请求,例如查询(搜索词)、场所(特定市场)、状态(开放/关闭)、类别(特定主题)和音量阈值,从而实现定制化的数据检索
“yesPrice”和“noPrice”表示市场对每个结果的当前赔率 “volume”反映了总交易活动 而“openInterest”显示未平仓合约的总数 “closeTime”指示市场将何时结算
典型的使用案例包括市场分析、趋势预测以及在金融、政治和体育等各个领域的决策,使用户能够衡量公众情绪和市场动态
数据准确性通过直接从Kalshi和Polymarket的官方公共API获取信息来维护,确保用户获得可靠和最新的市场数据用于分析