Authentication
The Synth API uses API key authentication. All requests must include your API key in the apikey header.
Getting an API Key
Login to your Synth Dashboard
Sign up for the Professional or Enterprise plan
Generate a new API Key
Using Your API Key
Include your API key in the Authorization header:
Authorization: Apikey YOUR_API_KEYExample
curl "https://api.synthdata.co/v2/prediction/latest?asset=BTC&time_increment=300&time_length=86400" \
-H "Authorization: Apikey sk_live_1a2b3c4d5e6f7g8h9i0j"Common Parameters
asset - BTC, ETH, SOL, XAU, SPYX, NVDAX, TSLAX, AAPLX, GOOGLXtime_increment - 300 (5min) or 60 (1min)time_length - 86400 (24h) or 3600 (1h)
Security
Never commit keys to version control
Use environment variables
Rotate keys every 90 days
Next Steps
View rate limits
See pricing
Make your first call
Last updated