Events & Markets
Get market
One market, both sides, with the venue's payload attached.
GET/venues/{venue}/markets/{market_id}self-hosted · no auth
Self-hosted. Served by synpath serve on your own machine or host, which must be running. Nothing on this page runs on Synpath's servers.
Path parameters
| Name | Type | Description |
|---|---|---|
venue | string | Venue id: kalshi, polymarket or polymarket_us. |
market_id | string | A Synpath id (kalshi:KXFOO-25, polymarket:2252244) or this venue's own id. Another venue's id is refused. |
Response
The market. yes and no are the two sides with their quotes; info is the venue's own row.
import synpath
client = synpath.Client()
market = client.fetch_market("polymarket:2252244")
print(market.title, market.yes.quote.bid, market.no.quote.bid)200
{
"id": "kalshi:KXELONMARS-99",
"venue": "kalshi",
"venue_market_id": "KXELONMARS-99",
"event_id": "kalshi:KXELONMARS-99",
"title": "Will Elon Musk visit Mars before Aug 1, 2099?",
"description": "If Elon Musk visits Mars before the earlier of his death or Aug 1, 2099, then the market resolves to Yes.",
"slug": "kxelonmars-99",
"yes": {
"label": "Mars",
"quote": {
"bid": 0.1,
"bid_size": 79.35,
"ask": 0.12,
"ask_size": 265.22,
"mid": 0.11,
"last": 0.1,
"last_timestamp": 1775727076616,
"last_datetime": "2026-04-09T09:31:16.616000Z",
"spread": 0.02
},
"venue_token_id": null,
"price_change_24h": 0,
"info": {}
},
"no": {
"label": "Mars",
"quote": {
"bid": 0.88,
"bid_size": 265.22,
"ask": 0.9,
"ask_size": 79.35,
"mid": 0.89,
"last": 0.9,
"last_timestamp": 1775727076616,
"last_datetime": "2026-04-09T09:31:16.616000Z",
"spread": 0.02
},
"venue_token_id": null,
"price_change_24h": 0,
"info": {}
},
"status": "open",
"native_status": "active",
"active": true,
"market_type": "binary",
"open_timestamp": 1756413900000,
"close_timestamp": 4089243540000,
"resolution_timestamp": 4089279600000,
"open_datetime": "2025-08-28T20:45:00Z",
"close_datetime": "2099-08-01T04:59:00Z",
"resolution_datetime": "2099-08-01T15:00:00Z",
"tick_size": 0.01,
"face_value": 1,
"book_model": "shared_complement",
"stats": {
"volume_24h": 0,
"volume_total": 118801.05,
"liquidity": null,
"open_interest": 40065.58,
"volume_unit": "contracts",
"liquidity_unit": "collateral",
"as_of": 1775727076616
},
"url": "https://kalshi.com/markets/kxelonmars/kxelonmars/kxelonmars-99/kxelonmars-99",
"image_url": null,
"category": "World",
"tags": [
"World"
],
"series_id": "KXELONMARS",
"outcome_label": "Mars",
"neg_risk": false,
"settlement_sources": [
{
"name": "The Guardian",
"url": "https://www.theguardian.com"
},
{
"name": "local news outlets with verifiable mastheads in ",
"url": "https://kalshi.com/"
},
{
"name": "official social media accounts of or their official representatives",
"url": "https://kalshi.com/"
},
{
"name": "official government sources of ",
"url": "https://kalshi.com/"
},
{
"name": "official representatives or offices of ",
"url": "https://kalshi.com/"
},
{
"name": "The New York Times",
"url": "https://www.nytimes.com"
},
{
"name": "the Associated Press",
"url": "https://www.ap.org"
},
{
"name": "Reuters",
"url": "https://www.reuters.com"
},
{
"name": "Politico",
"url": "https://www.politico.com"
},
{
"name": "Semafor",
"url": "https://www.semafor.com/"
},
{
"name": "The Information",
"url": "https://www.theinformation.com/"
},
{
"name": "The Washington Post",
"url": "https://www.wsj.com/"
},
{
"name": "The Wall Street Journal",
"url": "https://www.wsj.com"
},
{
"name": "CNN",
"url": "https://www.cnn.com"
},
{
"name": "Fox News",
"url": "https://www.foxnews.com/"
},
{
"name": "MSNBC",
"url": "https://www.msnbc.com"
},
{
"name": "CNBC",
"url": "https://www.cnbc.com"
}
],
"info": {
"...": "the venue's payload"
}
}
