GET /datasets/{id}/date-stats, returns precise frequency and date-range information computed directly from the stored data.
Authentication
Authenticate using HTTP Basic Auth. Pass your API key as the username and leave the password empty.Endpoints
| Method | URL | Description |
|---|---|---|
GET | /datasets/{dataset_id} | Retrieve dataset metadata |
GET | /datasets/{dataset_id}/date-stats | Retrieve inferred frequency and date range |
Path parameters
The numeric ID of the dataset to retrieve.
Get dataset metadata
Response
Unique numeric identifier for the dataset.
Display name of the dataset.
ID of the repository this dataset belongs to.
Optional human-readable description.
Name of the original data source.
URL linking to the original data source.
Your permission level:
Read, Write, or Admin.Inferred data frequency (e.g.,
monthly, quarterly, daily). May be null if not yet computed.Earliest date in the dataset (
YYYY-MM-DD). May be null for empty datasets.Latest date in the dataset (
YYYY-MM-DD). May be null for empty datasets.Array of column definition objects describing the dataset schema.
Example response
Get date statistics
The/date-stats endpoint returns frequency and date range information computed live from the dataset’s stored data. If the dataset record already has a cached frequency, minDate, and maxDate, those cached values are returned immediately. Otherwise, the values are computed from the column data on demand.
Response
The inferred data frequency, such as
monthly, quarterly, or daily.The earliest date found in the dataset (
YYYY-MM-DD).The latest date found in the dataset (
YYYY-MM-DD).Example response
The
/date-stats endpoint supports optional authentication. Public datasets can be queried without an API key, while private datasets require authentication.