# Get prices

`GET /v1/prices`

Returns what jobs cost.

## Headers

- `Authorization` (Bearer key, required): An API key. [Request access](/) to get one.

## Responses

| Status | Meaning |
|---|---|
| 200 | Each kind of job's rate. |
| 401 | Send a valid API key as `Authorization: Bearer <key>`. |
| 500 | Something went wrong on our side. |

200 returns [Prices](/docs/types/prices.md). Every error is a [Problem](/docs/types/problem.md), whose `detail` says what went wrong.

## Examples

### cURL

```bash
$ curl https://api.sequencylabs.com/v1/prices \
  -H "Authorization: Bearer $SEQUENCY_API_KEY"
```

### Python

```python
import os
import httpx

response = httpx.get(
    "https://api.sequencylabs.com/v1/prices",
    headers={"Authorization": f"Bearer {os.environ['SEQUENCY_API_KEY']}"},
)
response.raise_for_status()
data = response.json()
```

### JavaScript

```javascript
const response = await fetch("https://api.sequencylabs.com/v1/prices", {
  headers: {
    Authorization: `Bearer ${process.env.SEQUENCY_API_KEY}`,
  },
});
const data = await response.json();
```

### Response (200 OK)

```json
{
  "rates": [
    {
      "exclusive": false,
      "kind": "route_review",
      "reaction": 10.0,
      "reused_reaction": 10.0
    }
  ]
}
```
