# GET /v2/exports/{id}

Group: Bulk exports

One export. Poll every few seconds until status is ready (or failed); a season takes from seconds (cached) to a few minutes. files carries one download URL per file, valid one hour (linksExpireAt) — ask again for fresh links.

Plans: Business only (other plans get 403 endpoint_not_in_plan).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

- `data`: `Export`

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/exports/{id}"
```

TypeScript:

```ts
const { data, meta } = await client.exports.get(id);
```

Python:

```python
res = client.exports.get(id)
```

Go:

```go
res, err := client.Exports.Get(ctx, id)
```

CLI:

```bash
$ sportsapi exports get <id>
```

## Example response

```json
{ "data": { "id": 42, "league": 17, "season": 61627, "format": "parquet", "status": "ready", "error": null,
            "fixtureCount": 380, "createdAt": "2026-11-01T18:00:00.000Z", "finishedAt": "2026-11-01T18:00:41.000Z",
            "files": [ { "name": "fixtures.parquet", "bytes": 21944, "contentType": "application/vnd.apache.parquet", "url": "https://…" },
                       { "name": "standings.parquet", "bytes": 3120, "contentType": "application/vnd.apache.parquet", "url": "https://…" } ],
            "linksExpireAt": "2026-11-01T19:01:02.000Z" } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/exports/get · All docs: https://sportsapi.app/markdown/en/docs.md
