POST/v1/exports
GET/v1/exports/download/{file}
Body
Request
Response
Response 200
total is the exact number of matching properties. preview holds the first few rows so you can check the filter before you download. When nothing matches, status is empty, file is null and nothing is charged.
How the charge works
The file is charged when it’s prepared, for exactly the rows it holds. Your balance,max_rows, max_cost_usd and the key’s spend cap size the file rather than refusing it: if they cover fewer rows than match, the file holds what they cover, and rows_left_out and limit_note say how many more match. Get the exact total first, for free, with find and count=true.
Download
file.url carries its own token, so it needs no API key. Open it as often as you like for 24 hours at no further charge. It stops working when it expires or the key that made it is revoked, and then answers not_found. The X-West-Kite-Total-Rows header gives the row count. A CSV file is text/csv; an NDJSON file is application/x-ndjson, and file.columns lists the keys every line carries.