# Download the SQLite file

The file is sent with `Content-Encoding: gzip`. With curl use `-L --compressed`.

`GET https://api.seoscraper.io/v1/crawls/{crawl_id}/download`

## Path parameters

- `crawl_id` string: Crawl identifier.

## Errors

- 401: unauthorized
- 404: not_found
- 409: crawl_not_ready
- 422: invalid_request

## Example

```bash
curl -L --compressed -o crawl.sqlite "https://api.seoscraper.io/v1/crawls/CRAWL_ID/download" \
  -H "Authorization: Bearer ssk_YOUR_KEY"
```
