Home › Fuel Prices API

Romania Fuel Prices API

Integrate petrol, diesel and LPG prices into your app through a single JSON API: data from the official price monitor and direct sources, collected periodically with information about each price’s age, with 90 days of history and product-ready endpoints for stations within a radius, stations along a route and county-level aggregates. Every plan starts with 3 days free and you can cancel anytime from the customer portal.

1823 stations periodic collection 90-day history <100 ms responses official ANPC source included
Starter
€19 /month
10,000 requests/month
  • All /api/v1/* endpoints
  • Live prices for stations, cities, counties, networks
  • Price history up to 90 days
  • 3-day trial — cancel anytime
Business
€149 /month
1,000,000 requests/month
  • All /api/v1/* endpoints
  • Live prices for stations, cities, counties, networks
  • Price history up to 90 days
  • 3-day trial — cancel anytime
  • Priority email support

By subscribing you accept the Terms and Conditions. API access starts immediately, and once you use the key you lose the 14-day right of withdrawal for the period already supplied — details.

Existing customer? Your dashboard — live usage, chart, key — invoices, plan changes and cancellation live there too (the "Subscription & invoices" button). Nothing is charged during the trial; cancel within the first 3 days and you pay nothing at all.

Quickstart

curl -H "X-Api-Key: pcro_live_..." \
  https://pretcarburant.ro/api/v1/preturi
{
  "status": "ok",
  "data": "2026-11-01",
  "total": 366,
  "preturi_lipsa": "null",
  "rezultate": [ { "oras": "Cluj-Napoca", "judet": "CJ",
                   "benzina": 10.01, "motorina": 10.86, "gpl": 4.71, ... } ],
  "retele": [ { "nume": "Petrom", "benzina": 10.01, "motorina": 10.86,
                "gpl": null, ... } ]
}

Authentication via the X-Api-Key header. Every response includes X-RateLimit-Limit and X-RateLimit-Remaining.

A price we do not have comes back as null, not 0 — otherwise your averages would be dragged down by values that do not exist at the pump. Add ?zeros=1 if you need the old format with 0; the preturi_lipsa field tells you in every response which convention was used. Details in the documentation.

Why our API

  • Data validation — prices from the official ANPC price monitor and direct sources, with outlier filters and flags for unreliable records.
  • Transparent freshness — each price includes its available date and verification status; filter by age when needed.
  • Product-ready endpoints — stations within a radius, stations along a route, county-level aggregates.
  • Hassle-free billing — Stripe subscription, automatic monthly invoice, cancel anytime.

Included endpoints

EndpointDescription
GET /api/v1/preturiLowest price in each city + network averages
GET /api/v1/judete/<county>County-level aggregate
GET /api/v1/reteleAverage prices per network
GET /api/v1/statiiStations with coordinates and prices (filters: brand, fuel, lat/lon + radius)
GET /api/v1/statie/<id>/istoricPer-station history (max 90 days)
GET /api/v1/geocodeCity autocomplete
POST /api/v1/traseu/customStations along an A→B route

Full technical documentation →

Frequently asked questions

How often are prices updated?

We collect several times a day. Networks may supply older reports. A collection timestamp does not guarantee a recently measured price: check the date and verification status of each record.

Is there a trial period?

Yes — 3 days free on any plan. Cancel anytime from the customer portal.

What happens if I exceed the monthly limit?

You receive HTTP 429 with an upgrade link; the limit resets on the first day of the calendar month.

How do I get my invoice?

Stripe automatically emails the monthly invoice; everything is managed in the customer portal.