Skip to main content

1. Get a test API key

Test keys are free and valid for 10 minutes. No signup required.
curl -X POST https://api.delphiterminal.co/api/v1/test-key
You’ll get back a response like:
{
  "api_key": "dphi_live_a1b2c3d4...",
  "expires_at": "2025-01-01T00:10:00Z",
  "expires_in": "10 minutes"
}
Copy the api_key value — you’ll use it in the next step.

2. Make your first request

Use your API key in the X-API-Key header to fetch a Kalshi market:
curl -X GET 'https://api.delphiterminal.co/api/v1/klsi/markets' \
  -H 'X-API-Key: dphi_live_a1b2c3d4...'
Or search across all markets:
curl -X GET 'https://api.delphiterminal.co/api/v1/events/search?q=bitcoin' \
  -H 'X-API-Key: dphi_live_a1b2c3d4...'

3. Explore the API

Use the API Reference tab to browse all available endpoints. Every endpoint has a built-in playground where you can test requests directly in your browser.

KLSI (Kalshi)

Market details, orderbooks, trade history, OHLCV candles, and analytics.

Polymarket

Market details, orderbooks, trade history, and price data.

Events & Search

Browse events by category and search across all markets.

WebSockets

Real-time streaming for orderbook and ticker updates.

Next steps

Authentication

Learn about production API keys, rate limits, and error handling.

Extract parquet data

Download dataset exports and query them locally with DuckDB or Polars.