$select list for the download endpoint or to validate that a column name exists before referencing it in an OData filter. The full dataset metadata (description, source, date range) is available from GET /datasets/{id} instead.
Authentication
Authenticate using HTTP Basic Auth. Pass your API key as the username and leave the password empty. You must have at leastRead permission on the dataset.
Request
Method:GET
URL: https://api.alphacast.io/datasets/{dataset_id}/columns
Path parameters
integer
required
The numeric ID of the dataset whose columns you want to retrieve.
Response
Returns an array of column definition objects. Each object has the same shape as the entries in thecolumns array returned by GET /datasets/{id}.
integer
Unique column ID. Use this value with
$select to reference columns reliably across renames.string
Column display name.
string
Data type of the column. One of
Date, String, or Decimal.boolean
When
true, this column is a dimension or index column (e.g., Date, Country). When false, it is a value column.