> ## Documentation Index
> Fetch the complete documentation index at: https://docs.data-hub.verolabs.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Send your first request to Vero Data Hub API

<div style={{ width: '100%', height: 240, marginBottom: 32, borderRadius: 16, overflow: 'hidden', position: 'relative' }}>
  <video style={{ width: '100%', height: '100%', objectFit: 'cover', filter: 'sepia(0.3) saturate(1.5) hue-rotate(-14deg) brightness(0.72) contrast(1.12)' }} autoPlay loop muted playsInline>
    <source src="https://mintcdn.com/vero-fa5575b5/G_sL_RHXpWEXOwUp/images/bg_video.mp4?fit=max&auto=format&n=G_sL_RHXpWEXOwUp&q=85&s=f731a6a676fb99a2368193fbaf3281ee" type="video/mp4" data-path="images/bg_video.mp4" />
  </video>
</div>

<div style={{ width: '100%', height: 4, marginBottom: 24, borderRadius: 2, background: 'rgba(0,0,0,0.08)' }}>
  <div style={{ width: '25%', height: '100%', borderRadius: 2, background: 'linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-light) 50%, var(--accent-dark) 100%)' }} />
</div>

This page shows the basic flow for calling the API. You need the public base URL and the API key issued for your account.

## 1) Prepare credentials

| Value      | Description                     |
| ---------- | ------------------------------- |
| `BASE_URL` | `https://api-gw.verolabs.co`    |
| `API_KEY`  | API key issued for your account |

<Info>
  Use `BASE_URL=https://api-gw.verolabs.co` and replace `API_KEY` with your own key.
</Info>

## 2) Send your first request

```bash theme={null}
curl --request GET   --url "https://api-gw.verolabs.co/v1/instruments?limit=5"   --header "X-API-KEY: $API_KEY"
```

A successful response returns JSON:

```json theme={null}
{
  "data": [
    {
      "symbol": "BTCUSDT",
      "asset_class": "crypto",
      "exchange": "BINANCE",
      "status": "active"
    }
  ]
}
```

## 3) Query time-based data

Endpoints with `from` and `to` use ISO 8601 UTC timestamps with a `Z` suffix.

```bash theme={null}
curl --request GET   --url "https://api-gw.verolabs.co/v1/candles?symbol=BTCUSDT&resolution=1m&from=2026-05-15T00:00:00Z&to=2026-05-15T01:00:00Z"   --header "X-API-KEY: $API_KEY"
```

## 4) Use the API playground

Every endpoint under **APIs** includes an interactive playground.

<CardGroup cols={3}>
  <Card title="Endpoint" icon="route">
    Method, path and input parameters.
  </Card>

  <Card title="Code samples" icon="code">
    Generated cURL, JavaScript and Python snippets.
  </Card>

  <Card title="Responses" icon="brackets-curly">
    Response examples and schemas by status code.
  </Card>
</CardGroup>

## Key rules

| Rule                     | Note                                      |
| ------------------------ | ----------------------------------------- |
| Use UTC `Z` timestamps   | Example: `2026-05-15T00:00:00Z`           |
| Set a reasonable `limit` | Keeps responses smaller and faster        |
| Use `next_cursor`        | Continue through paginated list responses |
| Do not parse cursors     | Treat cursors as opaque tokens            |
