PricesPump pricesStation pricesSet pricesTaxes and margins
MarketsCrude benchmarksJet and heating oilRefined productsCurrencies
DataCountriesSupply and stocksHistoryStatus
DocsQuick startAPI referenceMCP serverChangelog
Pricing
BRENT123.1$/bbl ▼ 3.92%WTI103.4$/bbl ▼ 1.79%ULSD4.687$/gal ▼ 3.02%RBOB3.521$/gal ▼ 1.92%MX REGULAR23.99MX$/l ▲ 0.00%ES PETROL 951.749€/l ▼ 0.34%FR PETROL 952.195€/l ▼ 0.07%PT PETROL 952.094€/l ▼ 0.01%CA REGULAR1.829C$/l ▲ 6.04%GB PETROL 95 E101.719£/l ▼ 0.29%AT PETROL 951.780€/l ▼ 2.48%HR PETROL 951.640€/l ▲ 0.00%SI PETROL 951.627€/l ▲ 0.00%AL PETROL196.0ALL/lDZ PETROL47.00DZD/lAO PETROL304.0AOA/lBRENT123.1$/bbl ▼ 3.92%WTI103.4$/bbl ▼ 1.79%ULSD4.687$/gal ▼ 3.02%RBOB3.521$/gal ▼ 1.92%MX REGULAR23.99MX$/l ▲ 0.00%ES PETROL 951.749€/l ▼ 0.34%FR PETROL 952.195€/l ▼ 0.07%PT PETROL 952.094€/l ▼ 0.01%CA REGULAR1.829C$/l ▲ 6.04%GB PETROL 95 E101.719£/l ▼ 0.29%AT PETROL 951.780€/l ▼ 2.48%HR PETROL 951.640€/l ▲ 0.00%SI PETROL 951.627€/l ▲ 0.00%AL PETROL196.0ALL/lDZ PETROL47.00DZD/lAO PETROL304.0AOA/l

Oil price API: your usage

Your usage

Your plan, your calls today and your limits; does not count against them.

GEThttps://api.oilapi.net/v1/usage
PlansEvery plan
CostNever counted
ReturnsYour key
UpdatedLive

What it is for

Your plan, the calls counted today and this month, your limits, and how fresh and how far back your plan reads.

This call never counts against your quota, so it is safe to make before a batch.

Good for
  • Calls left before a batch
  • Usage in your own tools
  • Your plan after an upgrade

Parameters

This endpoint takes no parameters: your key is all it needs.

Try it runs against the live API with your key

No key yet? Get a free one; it is saved in this browser for every page.

The answer 200, application/json

FieldTypeWhat it holdsExample
planstringYour plan"Free key"
calls_todayintegerCalls counted today (UTC)12
calls_monthintegerCalls counted this month214
limitsobjectCalls a day, calls a minute, and when the day resets{"calls_a_day":50,"calls_a_minute":10...
readsobjectHow fresh and how far back your plan reads{"prices_up_to":"the end of yesterday...

Example answer real, from what we hold now; long lists cut to three

GET /v1/usage
{
    "data": {
        "plan": "Free key",
        "calls_today": 12,
        "calls_month": 214,
        "limits": {
            "calls_a_day": 50,
            "calls_a_minute": 10,
            "day_resets_at": "2026-10-30T00:00:00Z"
        },
        "reads": {
            "prices_up_to": "the end of yesterday (UTC)",
            "history_from": "2026-09-29"
        }
    },
    "meta": []
}

Errors every error has the same shape

HTTPCodeWhenWhat to do
401unauthorizedNo key, or not a valid oneSend your key in the X-API-Key header; your account page shows it.
Dates and times are UTC. A point's date is the day its price took effect, or the first day of its week or month for weekly and monthly series. Conversions use each day's own rate, so a converted series moves with both the price and the exchange rate.

Related