Docs
PolyAPI Documentation
Auth, endpoints, and copy/paste examples.
Authentication
Use Bearer token on every request.
Authorization: Bearer YOUR_KEY
Base URL
Replace with your production host.
https://your-domain.com
Quick start
curl -H "Authorization: Bearer YOUR_KEY" \ https://your-domain.com/v1/markets
Endpoints
GET
/v1/status
Health check
curl https://your-domain.com/v1/status
GET
/v1/markets
List markets
curl -H "Authorization: Bearer YOUR_KEY" https://your-domain.com/v1/markets
GET
/v1/market/{slug}
Market details
curl -H "Authorization: Bearer YOUR_KEY" https://your-domain.com/v1/market/bitcoin-up-or-down
POST
/v1/webhook
Create an alert/webhook
curl -X POST -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" -d '{"event":"signal"}' https://your-domain.com/v1/webhook