Get an export
GET/exports/{export_id}
An export's status and, once completed, a signed download link for every file, valid for 60 minutes; call again for fresh links. Poll every few seconds to a minute: an export starts within about a minute and a full listings snapshot takes a few minutes.
- Authentication
- Send a data key (dk_live_… or dk_test_…) as a Bearer token.
- Scope
reference- Cost
- Free
Parameters
| Name | Type | Description |
|---|---|---|
export_idrequiredpath | string |
Response
The data field is an object with these fields.
| Name | Type | Description |
|---|---|---|
idrequired | string | |
datasetrequired | string | One of: |
formatrequired | string | One of: |
compressionrequired | string | One of: |
statusrequired | string |
One of: |
filtersrequired | object | null | As requested. Null once complete if your organization has turned off storing request details. |
price_sourcerequired | string | Where the prices come from: One of: |
rows_estimatedrequired | integer | null | Rows counted before a listing export ran, which |
row_countrequired | integer | null | Rows written, once complete. |
unitsrequired | integer | Units charged. 0 for open data, and refunded if the export fails. |
progressrequired | object | |
errorrequired | object | null | |
attributionrequired | object | null | Open-data exports: the licence notice, also in ATTRIBUTION.txt. Keep it with the data. |
filesrequired | object[] | Download links, on GET /exports/{export_id} of a completed export only. |
created_atrequired | string (date-time) | |
started_atrequired | string (date-time) | null | |
completed_atrequired | string (date-time) | null | |
expires_atrequired | string (date-time) | null | When the files are deleted. |
Example request
curl "https://api.kite.sa/v1/exports/export_id" \
-H "Authorization: Bearer $KITE_API_KEY"import { Kite } from "@kite-sa/sdk";
const kite = new Kite(); // reads KITE_API_KEY
const result = await kite.exports.get("export_id");from kite_sa import Kite
kite = Kite() # reads KITE_API_KEY
result = kite.exports.get("export_id")Open in the interactive reference
Related endpoints
- Create an export
POST /exports - List exports
GET /exports