Home / Market & alternative data
oilpriceapi
Python client for timestamped energy commodity series
What it is
An official Python client for a hosted energy-data service, with synchronous and asynchronous calls, bounded retries, typed errors, and optional pandas helpers. Latest and historical values keep the source timestamp, and further typed routes cover crack spreads, basis, curve structure, refinery margins, physical premiums, storage analytics, and positioning. Developers who already hold an account and want those series inside Python are the audience. An API key is required, the spread and indicator routes refuse unpaid plans, and the presence of a method does not mean that dataset is enabled for the account.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Data source, Data analysis |
| Markets | Futures, Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Medium practical value |
| Cost | Free, with paid APIs |
| Hardware | No GPU needed |
| Maintenance | Commits today |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): +1 over the period, now 3. Gaps mean no snapshot was taken that day.
Commodity-price API client with local moving averages, RSI, MACD, Bollinger Bands and ATR calculations on supplied data.
Similar tools
Free searchable database of 300,000+ financial symbols
Pythonic downloader for Yahoo! Finance market data
Pull financial and macroeconomic data into Pandas
Elegant Python interface for open financial data
Open-source alternative to Yahoo Finance market data APIs
Python financial data extraction from Investing.com