market_id and event_id is globally unique and prefixed with its
platform (kalshi: / polymarket:). That prefix lets you pass an id from a
list response directly into a detail or history request.ADJ_TOKEN to an API key before running these examples; see
Authentication.1curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets?platform=kalshi&category=Politics&probability_min=50&sort_dir=desc&per_page=10"
data array and a meta object. Save the market_id
from the market you want to inspect.1234567MARKET_ID="kalshi:KXPRESPARTY-2028-R" curl -H "Authorization: Bearer $ADJ_TOKEN" \ "https://api.adjacent.markets/api/v1/markets/$MARKET_ID" curl -H "Authorization: Bearer $ADJ_TOKEN" \ "https://api.adjacent.markets/api/v1/markets/$MARKET_ID/prices?interval=1hour&per_page=24"
75 means an implied probability
of 75%.1curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R"
1234567891011# Bucketed price history curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R/prices?interval=1hour&per_page=24" # Recent trades curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R/trades?per_page=20" # Raw top-of-book bid/ask snapshots curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R/quotes?per_page=20" # OHLC candles (interval is the period length in minutes) curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R/candles?interval=60"
platform to rank only that venue
(kalshi, polymarket, gemini).123curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXPRESPARTY-2028-R/similar?per_page=5&min_similarity=0.7" curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/markets/kalshi:KXNFLWINS-27MIN-10/similar?platform=gemini&per_page=5"
12345# List events in a category curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/events?category=Politics&per_page=10" # Event detail with its markets curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/events/kalshi:KXPRESPARTY-2028"