Authentication

The Synth API uses API key authentication. All requests must include your API key in the apikey header.

Getting an API Key

  1. Login to your Synth Dashboard

  2. Sign up for the Professional or Enterprise plan

  3. Generate a new API Key

Using Your API Key

Include your API key in the Authorization header:

Authorization: Apikey YOUR_API_KEY

Example

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, GOOGLX

  • time_increment - 300 (5min) or 60 (1min)

  • time_length - 86400 (24h) or 3600 (1h)

Security

circle-exclamation

Next Steps

  • View rate limits

  • See pricing

  • Make your first call

Last updated