Get up and running with the Dot Prediction API in minutes.
Register
curl -X POST https://api.dotprediction.io/v1/api/auth/register \ -H "Content-Type: application/json" \ -d '{"name": "Your Name", "email": "you@example.com", "password": "your-password"}'
Create an API key
curl -X POST https://api.dotprediction.io/v1/api/auth/api-keys \ -H "Content-Type: application/json" \ -b "jwt=YOUR_SESSION_COOKIE" \ -d '{"name": "my-first-key"}'
key
Fetch markets
curl https://api.dotprediction.io/v1/api/markets?provider=polymarket&limit=5 \ -H "X-API-Key: YOUR_API_KEY"