> For the complete documentation index, see [llms.txt](https://docs.synthdata.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synthdata.co/getting-started/rest-api.md).

# REST API

### Base URL

{% code title="Base URL" %}

```
https://api.synthdata.co
```

{% endcode %}

### Authentication

{% hint style="info" %}
All requests require an API key in the header:

```
Authorization: Apikey YOUR_API_KEY
```

{% endhint %}

### Make a Request

```bash
curl "https://api.synthdata.co/insights/prediction-percentiles?asset=BTC" \
  -H "Authorization: Apikey YOUR_API_KEY"
```
