Skip to main content
A dataset is where your actual data lives in Alphacast. Every dataset belongs to a repository and holds a table of rows and columns — typically a time series with one date column and one or more value columns. You can upload data into a dataset, query it with OData-style filters, and download results as CSV, JSON, XLSX, or TSV.

Dataset fields

When you create a dataset, the following fields are available:

Column types

Each column in a dataset has a dataType and an isEntity flag:
  • Date — A date or datetime column. Entity columns of type Date are used as the time axis.
  • String — A text column. Entity string columns act as dimension labels (e.g., country, sector).
  • Decimal — A numeric value column. These are the measurements in your time series.
Columns where isEntity is true are dimension columns (they identify a row). Columns where isEntity is false are value columns (they hold the measurements).

API endpoints

The base URL for all dataset operations is https://api.alphacast.io.

Creating a dataset

Downloading data

Use GET /datasets/{id}/data to download a dataset’s contents. You can shape the response with OData query parameters.

Query parameters

For large datasets with no filters, the API returns a pre-signed download URL instead of streaming the file directly. Follow the redirect to download the file.

Date stats

Use the date-stats endpoint to inspect a dataset’s temporal coverage before downloading it.
The inferedFreq field returns the detected cadence of the data (e.g., D for daily, M for monthly, Q for quarterly, A for annual).
If the frequency cannot be determined from cached metadata, the API will scan the dataset’s date column to infer it on the fly. This may take a moment for large datasets.