Authentication
Auth Model
Speculite API uses bearer authentication for private endpoints.
- Header:
Authorization: Bearer <token> - Login/refresh endpoints are under
/auth
Public vs Private
- Public endpoints: market discovery, token search, rewards program metadata.
- Private endpoints: user profile, order placement/cancellation, personal reward history.
Example
curl -H "Authorization: Bearer $TOKEN" \
https://api.speculite.com/api/user/profile