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"
Get snapshots for a market
curl "https://kwery-api.com/v1/snapshots/0x1234abcd?api-key=YOUR_KEY"
Get snapshot at a specific time
curl "https://kwery-api.com/v1/snapshots/0x1234abcd/at?api-key=YOUR_KEY×tamp=2025-01-15T00:00:00Z"
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.