Dataset Metadata

List Datasets

get

List all published datasets a user has access to

See list of available datasets here: https://www.gridstatus.io/datasets

Query parameters
api_keyany ofOptional

API key for authentication (query)

stringOptional
or
nullOptional
return_formatstring · enumOptional

The return format of the response

Default: jsonPossible values:
downloadbooleanOptional

Whether to download the file or not

Default: false
json_schemastring · enumOptional

The json schema of the response

Default: array-of-objectsPossible values:
Header parameters
x-api-keyany ofOptional

API key for authentication (header)

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful response

application/json
status_codeintegerRequired
get
/datasets

Get Dataset Metadata

get

Get a dataset and its metadata

Path parameters
dataset_idstringRequired
Query parameters
api_keyany ofOptional

API key for authentication (query)

stringOptional
or
nullOptional
return_formatstring · enumOptional

The return format of the response

Default: jsonPossible values:
downloadbooleanOptional

Whether to download the file or not

Default: false
json_schemastring · enumOptional

The json schema of the response

Default: array-of-objectsPossible values:
Header parameters
x-api-keyany ofOptional

API key for authentication (header)

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful response

application/json
idstringRequired
namestringRequired
descriptionany ofRequired
stringOptional
or
nullOptional
earliest_available_time_utcany ofRequired
string · date-timeOptional
or
nullOptional
latest_available_time_utcany ofRequired
string · date-timeOptional
or
nullOptional
sourceany ofRequired
stringOptional
or
nullOptional
last_checked_time_utcany ofRequired
string · date-timeOptional
or
nullOptional
primary_key_columnsany ofRequired
string[]Optional
or
nullOptional
publish_time_columnany ofRequired
stringOptional
or
nullOptional
time_index_columnany ofRequired
stringOptional
or
nullOptional
subseries_index_columnany ofRequired
stringOptional
or
nullOptional
all_columnsany ofRequired
or
nullOptional
number_of_rows_approximateany ofRequired
integerOptional
or
nullOptional
table_typeany ofRequired
stringOptional
or
nullOptional
is_in_snowflakeany ofRequired
booleanOptional
or
nullOptional
data_frequencyany ofRequired
stringOptional
or
nullOptional
source_urlany ofRequired
stringOptional
or
nullOptional
publication_frequencyany ofRequired
stringOptional
or
nullOptional
is_publishedany ofRequired
booleanOptional
or
nullOptional
created_at_utcany ofRequired
string · date-timeOptional
or
nullOptional
statusany ofRequired
string · enumOptionalPossible values:
or
nullOptional
get
/datasets/{dataset_id}

Last updated

Was this helpful?