Skip to main content

Welcome to Oil Price API!

Your account has been created successfully

Your API key is ready to use NOW - no waiting required!

Your API Key

Save this key securely - you'll need it for all API requests

Test Your API Key

Make your first API call right now - no code required!

GET /v1/prices/latest → Returns current oil prices
☝️ Click the button to make your first API call!

Code Examples - Integrate Into Your App

Copy and run any of these examples to get started immediately

curl -H "Authorization: Token YOUR_API_KEY" \
  https://api.oilpriceapi.com/v1/prices/latest

You're on the Free Plan

Start with a 7-day free trial. Perfect for testing and development.