CSV Exports
Return a time-limited presigned URL for a bulk export object on S3.
Caller supplies dataset id, date, and (optionally) file type; the server constructs the S3 key per the layout documented in gitbook/bulk-csv-download/folder-structure.md.
ISO 8601 date of the partition, e.g. 2025-03-14.
File format. Currently only csv (gzipped) is available.
csvAPI key for authentication (query)
API key for authentication (header)
Successful Response
Time-limited HTTPS URL to download the requested file.
Number of seconds the presigned URL is valid for.
S3 bucket the object lives in.
S3 object key the URL points to.
Validation Error
GET /v1/csv-exports/{dataset_id}/{export_date} HTTP/1.1
Host: api.gridstatus.io
Accept: */*
{
"presigned_url": "text",
"expires_in_seconds": 1,
"bucket": "text",
"object_key": "text"
}List the per-day export files available on S3 for a dataset.
Each entry includes the partition date, object size, and last-modified timestamp; combine with GET /{dataset_id}/{date} to fetch a presigned URL for any specific file.
Optional. Restrict the listing to a single year.
Optional. Restrict the listing to a single month. Requires year.
File format to list. Currently only csv (gzipped).
csvAPI key for authentication (query)
API key for authentication (header)
Successful Response
Validation Error
GET /v1/csv-exports/{dataset_id} HTTP/1.1
Host: api.gridstatus.io
Accept: */*
{
"dataset_id": "text",
"file_type": "text",
"count": 1,
"files": [
{
"date": "2026-01-01",
"size_bytes": 1,
"last_modified": "2026-01-01T00:00:00.000Z"
}
]
}Last updated
Was this helpful?

