← Ordinex Energy Intelligence

Bulk Point-in-Time Export

Download a whole slice of factor history in one request - built for backtests.

Backtesting through a paged API means thousands of calls and a constant risk of using a value before it existed. The export endpoint returns a date-bounded slice of the public factor history as one streamed file, and every row says both which period it describes and when it could first have been known.

Request

GET /v1/export/factors with your X-API-Key header.

ParameterMeaning
factorA public factor name. Omit for every public factor.
subjectOne subject (region, settlement point, series). Optional.
start_date, end_dateBounds on period, inclusive.
as_ofOnly rows knowable on this date (known_at <= as_of).
formatcsv (default) or ndjson.

Schema (version 1)

ColumnMeaning
factor, subjectWhat the value is and what it is about.
periodThe date the value describes.
known_atThe earliest date it could have been known: the period plus that factor's reporting lag.
valueThe factor value.
detailsSupporting fields as JSON, or empty.

The response carries X-Export-Schema-Version, X-Export-Row-Count and, where a source requires it, X-Data-Attribution. Rows are ordered by factor, subject, then period.

What as_of means

With as_of, you get every row whose known_at is on or before that date: the full history as it was visible then, not just the latest value. Without it you get everything, and you cut your own walk-forward folds on known_at, never on period.

What this does not mean. Values are not revision-versioned. Point-in-time here is about publication timing: it protects you from using a value before it was published, but it does not give you "the number as first published" if a source later revised it or if we later recompute a factor. The reporting lags themselves are documented in the methodology; some are conservative placeholders rather than confirmed publisher schedules.

Limits

Public factors and servable subjects only; anything else returns 404. A request matching more than 1,000,000 rows is refused with a 422 asking you to narrow it, never silently truncated. A bulk export counts as one request against your rate limit.

EIA-930 hourly grid data

GET /v1/export/eia930 exports the hourly EIA-930 data (respondent, type, start_date, end_date, as_of, format) with columns respondent, type, period, known_at, value, value_units. period and known_at are UTC timestamps; as_of keeps rows whose known_at is on or before the end of that day. The 1-day reporting lag is a placeholder, not a confirmed EIA schedule.

Examples

curl, straight to a file:

curl -H "X-API-Key: $ORDINEX_KEY" \
  "https://energy.ordinexdata.com/v1/export/factors?factor=ercot_spark_spread&as_of=2025-06-30" \
  -o ercot_spark_spread.csv

Python client (pip install ordinex-energy):

from ordinex_energy import OrdinexEnergyClient

client = OrdinexEnergyClient(api_key="...")

# Everything knowable on 2025-06-30, as a DataFrame
df = client.export_factors(factor="ercot_spark_spread", as_of="2025-06-30", as_dataframe=True)

# Leak-free train/test cut: filter on known_at, not period
full = client.export_factors(factor="storage_percentile", as_dataframe=True)
train = full[full["known_at"] <= "2024-12-31"]
Get a key. Self-service and free during early access.
Get an API key