Skip to main content

REST API

Access Snowtrail data through our RESTful API.

Base URL

https://api.snowtrail.ai

Authentication

All requests require an API key in the x-api-key header:

x-api-key: your-api-key

Endpoint Pattern

All data access follows the pattern:

GET /{product_id}/{dataset_name}

Available Products

ProductEndpoint PrefixDescription
GBSI-US/gbsi_us/Gas Balance Stress Index - US
GBSI-EU/gbsi_eu/Gas Balance Stress Index - EU
PEMI/pemi/Power Event Market Intelligence
GLMI/glmi/Global LNG Marginality Index
WRSI/wrsi/Weather Risk Stress Index
WSSI-US/wssi_us/Weather Storage Shock Index

Example Endpoints

MethodEndpointDescription
GET/gbsi_us/system_stressUS gas system stress signal
GET/gbsi_us/balance_momentumUS gas balance momentum features
GET/gbsi_us/storage_surpriseUS gas storage surprise events
GET/gbsi_eu/system_stressEuropean gas system stress signal
GET/pemi/grid_stressEuropean power grid stress
GET/glmi/marginalityLNG marginality signal
GET/wrsi/forecast_stressWeather forecast stress signal
GET/wssi_us/demand_shockUS weather demand shock signal

Query Parameters

ParameterTypeDefaultDescription
latestbooltrueReturn most recent records
date_fromdaten/aFilter from date (YYYY-MM-DD)
date_todaten/aFilter to date (YYYY-MM-DD)
limitint200Maximum number of rows to return
as_ofdaten/aPoint-in-time filter
cursorstringn/aPagination cursor

Example Request

curl "https://api.snowtrail.ai/gbsi_us/system_stress?latest=true" \
-H "x-api-key: $SNOWTRAIL_API_KEY"