Authentication
Authentication
All public API requests require a Bearer token.
Base URL
https://api.darwintiq.com/v1
Header
Send the token via the Authorization header:
-H "Authorization: Bearer [YOUR_TOKEN]"
Tokens & access control
- Tokens map to a subscription:
- PRO: access to all symbols
- Single-symbol: access to that symbol only
- If a token does not include the required symbol, the API returns
403. POST /v1/charlieuses the same token and plan checks as the browser-based Charlie workspace.
Request types
- Market and model data endpoints such as
/v1/models,/v1/priceData,/v1/supres, and/v1/trendmatrixuse authenticatedGETrequests. - Charlie uses an authenticated
POSTrequest with a JSON body sent to/v1/charlie.
Common responses
401 Unauthorized— missing/invalid token403 Forbidden— token valid, but symbol not included