REST API for commodity data
CFTC, EIA & USDA data.
One endpoint.
Stop maintaining fragile pipelines to 6 government sources. Get consistent JSON for positioning, energy, and grains data with a single API key.
/api/v1/commodities/WTI_CRUDE_OIL/cot
{
"data": [
{
"report_date": "2026-02-04",
"commodity": "WTI_CRUDE_OIL",
"exchange": "NYMEX",
"format": "legacy",
"open_interest": 1842650,
"commercial": { "long": 412850, "short": 589120, "net": -176270 },
"non_commercial": { "long": 521340, "short": 198760, "net": 322580 },
"non_reportable": { "long": 107755, "short": 140088, "net": -32333 }
}
],
"meta": {
"page": 1,
"per_page": 25,
"total": 2087,
"total_pages": 84,
"request_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
Three data sources. One consistent interface.
Every endpoint returns paginated JSON with the same authentication, error handling, and rate limiting.
CFTC Positioning
Commitments of Traders data for all commodity futures. Legacy format from 1986, disaggregated from 2006.
/v1/commodities/{slug}/cot
EIA Energy
Weekly petroleum stocks, natural gas storage, refinery inputs, and crude production data from the EIA.
/v1/commodities/{slug}/series?type=stocks
/v1/commodities/{slug}/series?type=price
USDA Grains
Corn, wheat, soybeans: production, yield, planted/harvested acres, and WASDE supply-demand balances.
/v1/commodities/{slug}/series?type=production
/v1/commodities/{slug}/series?type=ending_stocks
Built by a commodity spread trader who got tired of maintaining six different data pipelines.
One API key
CFTC positioning, EIA energy, and USDA crop data through a single authenticated endpoint.
Consistent JSON
Same pagination, error handling, and date formats across all data sources.
Historical depth
CFTC positioning back to 1986, USDA crop data back to the 1960s.
Free tier includes 1,000 requests/day. No credit card required.