Interactive API Explorer
About the Interactive API Explorer
This interactive documentation is automatically generated from our OpenAPI specification and provides:
Premium Endpoints
Some premium endpoints are not yet included in the Swagger specification but are fully documented:
- All Prices API - Get 40+ commodities in one call
- Cushing Storage - Real-time storage intelligence
- ICE Brent Futures - Complete futures curve data
- Marine Fuels Pricing - Global bunker prices
These endpoints are being added to the Swagger specification soon.
This interactive documentation provides:
- Live Testing: Test API endpoints directly from your browser
- Request Examples: See exactly how to format your API requests
- Response Schemas: Understand the structure of API responses
- Authentication: Test with your actual API key
- Parameter Details: Complete information about query parameters and request bodies
Quick Start
- Click the Authorize button and enter your API key
- Browse available endpoints organized by category
- Click on any endpoint to see details
- Click Try it out to test the endpoint
- Fill in parameters and click Execute
- View the actual API response
Authentication
All API endpoints require authentication using your API key:
Authorization: Token YOUR_API_KEY
Rate Limits
Please be aware of rate limits when testing:
- Free tier: 1,000 requests/month
- Hobby: 10,000 requests/month
- Professional: 100,000 requests/month
Troubleshooting
If the Interactive API Explorer doesn't load:
- Check JavaScript is enabled in your browser
- Try refreshing the page (Ctrl/Cmd + Shift + R for hard refresh)
- Alternative Options:
- Download the OpenAPI Specification
- Import into Swagger Editor
- Use with Postman: File → Import → Link →
https://api.oilpriceapi.com/swagger.json
- Use with Insomnia: Import → From URL →
https://api.oilpriceapi.com/swagger.json