OPIS Rack API: Reliable wholesale fuel prices delivered straight into your systems

Trusted rack pricing, delivered instantly.

Already have an account? Access the Documentation.

Integrate real-time rack prices in seconds.

The OPIS Rack API gives you instant access to wholesale rack fuel prices across the U.S. and Canada directly into your systems, apps, or workflows.
Built for fuel buyers, traders, analysts, and managers, our REST API delivers the same trusted OPIS rack benchmarks and supplier-level data in a flexible, machine-readable format.

Access real-time prices and historical benchmarks dating back to 2016 for gasoline, diesel, jet and biofuels through a simple, REST API. Even non-technical users can retrieve the data they need without complex integrations.

Real-Time Wholesale Fuel Pricing at Your Fingertips

The OPIS Rack API is a web-based REST API that uses standard HTTP calls and JSON responses β€” making it easy to integrate with spreadsheets, BI tools, or applications.Β 

With the API, you can access:

  • Supplier-level and summary pricing across OPIS’ benchmark timings β€” Contract, Closing, and Calendar Day
  • Frozen intraday snapshots at 05:30, 06:45, 07:30, 09:00, 11:00, 14:00, 19:15, 20:15, 21:15, and 22:15 ET
  • Weekly Newsletter timing, reflecting a snapshot of the rack at closing on Thursday
  • Live/real-time pricing

The combination of live, frozen snapshots, and deep historical coverage supports accurate modelling, reconciliation, and contract benchmarking.

Explore the Rack API: Documentation & Swagger

Getting started is straightforward with streamlined and interactive documentation:

  • The OPIS Rack API Documentation provides endpoint and parameter details, developer resources, step-by-step user guides, and more
  • The Swagger (OpenAPI) interface lets you test API calls directly in your browser – no setup required

Together, these tools make it easy to understand available data, validate queries, and accelerate integration – whether you’re a developer or a business user exploring the API for the first time.

Why Choose the OPIS Rack API?

When markets move fast, accurate and timely pricing is essential. The OPIS Rack API removes delays and manual work, giving you on-demand access to trusted OPIS rack prices.

Key benefits include:

  • Historical depth: Benchmarks back to January 1, 2016.
  • Ease of use: No advanced technical background is needed β€” works seamlessly with Excel, Power BI and other tools.
  • Flexible coverage: Access rack pricing for gasoline (excluding special octane), diesel (including renewable diesel), aviation gasoline, jet fuel, biodiesel blends, and pure ethanol.

Trusted benchmarks: Live prices, intraday snapshots, and industry-standard OPIS benchmarks.

Who is the Rack API For?

The Rack API is designed for both business and technical users:

  • Management and procurement teams supporting contract negotiations and supplier strategy.
  • Traders and risk managersΒ  managing exposure and capture opportunities.
  • Wholesalers and distributors tracking competitive market activity.
  • Market analysts and researchers modeling trends and forecasting outcomes.
  • Data teams and developers embedding reliable fuel price data into systems and applications.

How to Get Started

Accessing the Rack API is simple. All you need is an OPIS web account and a Rack API subscription. Contact your OPIS Account Manager and/or the OPIS Customer Service team,Β energycs@opisnet.com.Β 

Once your subscription is active, you’ll receive access to the full Rack API Documentation and Swagger interface, where you can test calls and explore the JSON schema.

Authentication uses JSON Web Tokens (JWT), which can be included in your API headers for secure, seamless access. Step-by-step guidance is available for tools like Postman, Microsoft Excel, Power BI. Sample code is available for Python, C#, and Java.

Start integrating OPIS rack benchmarks into your systems today β€” and stay ahead with real-time, accurate, and trusted fuel pricing data.

Discover the main differences between email/FTP and Rack API delivery options:

We also offer rack data delivered via email/FTP or through our OPIS RackPro online platform. Here are the main differences in data delivery among these options:

 

 

 

 

 

 

“Using OPIS Racks as a benchmark gives our customers confidence that they are not being misled about base cost. It builds trust. Additionally, many public entities in our area base contracts on OPIS to justify price changes to their auditors.”
Eric Ellis Owner, Ellis Oil Company
“OPIS Racks are critical to our fuel purchasing process. We use the OPIS data to review our agreements with our various suppliers. This allows us to quickly and efficiently reconcile our invoices.”
John Jepsen Director of Energy Management, US. Foods
“Musket is a long-time user of OPIS Racks as it plays an important role in our day-to-day operations. The information is used to give Musket a bird's eye view of specific markets and to accurately price in a very competitive world. OPIS's commitment to sending timely and accurate data will help keep Musket competing in the future and beyond.”
Debbie Barnhill Fuel Pricing Supervisor, Musket Corporation