Skip to main content

Every example uses https://kwery-api.com/v1 as the base URL and authenticates with the ?api-key query parameter. Replace YOUR_KEY with your actual key.


Polymarket

List markets

curl "https://kwery-api.com/v1/markets?api-key=YOUR_KEY"

Get market by identifier

The {identifier} path accepts market_id, condition_id, or event slug:

curl "https://kwery-api.com/v1/markets/0x1234abcd" -H "X-API-Key: YOUR_KEY"
curl "https://kwery-api.com/v1/markets/will-bitcoin-hit-100k-by-2025" -H "X-API-Key: YOUR_KEY"

Snapshots (unified API)

Use query parameters source, symbol, and optional market_id (slug or condition id). Prefer X-API-Key header.

curl "https://kwery-api.com/v1/snapshots?source=polymarket&symbol=BTC&market_id=0x1234abcd&limit=50" \
  -H "X-API-Key: YOUR_KEY"

Snapshot at a specific time

Parameter name is time (ISO-8601), not timestamp:

curl "https://kwery-api.com/v1/snapshots/at?source=polymarket&symbol=BTC&market_id=0x1234abcd&time=2025-01-15T00:00:00Z" \
  -H "X-API-Key: YOUR_KEY"

Full path list: openapi.json. Some examples below may predate v1.6; verify against the spec.


Binance Spot

List all spot markets

curl "https://kwery-api.com/v1/binance/spot?api-key=YOUR_KEY"

Get spot market details

curl "https://kwery-api.com/v1/binance/spot/BTCUSDT?api-key=YOUR_KEY"

Get spot ticker

curl "https://kwery-api.com/v1/binance/spot/BTCUSDT/ticker?api-key=YOUR_KEY"

Binance Futures

List all futures markets

curl "https://kwery-api.com/v1/binance/futures?api-key=YOUR_KEY"

Get futures market details

curl "https://kwery-api.com/v1/binance/futures/ETHUSDT?api-key=YOUR_KEY"

Get futures ticker

curl "https://kwery-api.com/v1/binance/futures/ETHUSDT/ticker?api-key=YOUR_KEY"

Chainlink

List all Chainlink feeds

curl "https://kwery-api.com/v1/chainlink?api-key=YOUR_KEY"

Get Chainlink feed by symbol

curl "https://kwery-api.com/v1/chainlink/ETH-USD?api-key=YOUR_KEY"

Hyperliquid

List all Hyperliquid markets

curl "https://kwery-api.com/v1/hyperliquid?api-key=YOUR_KEY"

Get Hyperliquid market by symbol

curl "https://kwery-api.com/v1/hyperliquid/BTC?api-key=YOUR_KEY"

Kalshi

List all Kalshi markets

curl "https://kwery-api.com/v1/kalshi?api-key=YOUR_KEY"

Get Kalshi market by symbol

curl "https://kwery-api.com/v1/kalshi/KXBTC-25?api-key=YOUR_KEY"

Account & system

Check rate limits

curl "https://kwery-api.com/v1/limits?api-key=YOUR_KEY"

Health check

curl -X GET "https://kwery-api.com/health"

The /health endpoint does not require authentication.