Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Market Data

The Adjacent API normalizes markets, events, trades, quotes, and candles from multiple prediction-market venues into one schema. Every market_id and event_id is globally unique and prefixed with its platform (kalshi: / polymarket:), so you never have to juggle per-venue identifiers.

List markets with filters

Filter by platform, category, probability, and volume. Results are paginated.
curl "http://localhost:7101/api/v1/markets?platform=kalshi&category=Politics&probability_min=50&sort_dir=desc&per_page=10"

Fetch a single market

Prices are on the canonical cents scale (0-100, where 75 = 75% implied probability).
curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R"

Price history, trades, quotes, and candles

# Bucketed price history curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R/prices?interval=1hour&limit=24" # Recent trades curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R/trades?per_page=20" # Raw top-of-book bid/ask snapshots curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R/quotes?per_page=20" # OHLC candles (interval is the period length in minutes) curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R/candles?interval=60"

Find related markets

Surface markets that are semantically similar, scored by embedding cosine similarity.
curl "http://localhost:7101/api/v1/markets/kalshi:KXPRESPARTY-2028-R/similar?limit=5&min_similarity=0.7"

Browse events

Events group the markets that resolve together (e.g. an election).
# List events in a category curl "http://localhost:7101/api/v1/events?category=Politics&per_page=10" # Event detail with its markets curl "http://localhost:7101/api/v1/events/kalshi:KXPRESPARTY-2028"
See the API Reference for the full parameter and response schema of every endpoint.