API Fuel Prices
Plans and limits
Free
1
request / week / endpoint
- All endpoints available
- Standard JSON format
- No authentication required
- Rate limited per IP
RECOMMENDED
Premium
10,000
requests / day
- All endpoints available
- No rate limiting
- Dedicated API key
- Priority support
- Extended historical data
Available endpoints
GET
/api/v1/preturi
Current prices by city (top 20 cities + national averages).
Parameters:
judet (county code, e.g.: CJ, B, TM)curl https://pretcarburant.ro/api/v1/preturi curl https://pretcarburant.ro/api/v1/preturi?judet=CJ
GET
/api/v1/preturi/minime
National minimum, average and maximum prices per fuel type.
curl https://pretcarburant.ro/api/v1/preturi/minime
GET
/api/v1/retele
Average prices per gas station network (Petrom, OMV, Rompetrol, MOL, Lukoil, Socar).
curl https://pretcarburant.ro/api/v1/retele
GET
/api/v1/statii
All stations with live prices. Filter by brand and fuel type.
Parameters:
brand (petrom, omv, mol...), tip (benzina_standard, motorina_standard, gpl)curl https://pretcarburant.ro/api/v1/statii?brand=petrom&tip=benzina_standard
GET
/api/v1/statie/{station_id}/istoric
Price history per station (last 30-90 days).
Parameters:
days (number of days, max 90)curl https://pretcarburant.ro/api/v1/statie/ST_12345/istoric?days=30
Response example
GET /api/v1/preturi/minime
{
"status": "ok",
"data": "2026-03-28",
"preturi": {
"benzina_standard": { "min": 8.55, "mediu": 8.65, "max": 9.99 },
"motorina_standard": { "min": 9.01, "mediu": 9.28, "max": 10.49 },
"gpl": { "min": 3.49, "mediu": 3.89, "max": 4.49 }
}
}
Response codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request processed successfully |
| 400 | Bad Request | Invalid or missing parameters |
| 429 | Too Many Requests | Rate limit exceeded (1 request/week). Response includes retry_after_seconds |
| 500 | Server Error | Internal error — please retry later |
Rate limiting
The free API allows 1 request per week per endpoint per IP. When the limit is exceeded, the 429 response includes:
{
"status": "error",
"message": "Rate limit: 1 request per week...",
"next_allowed": "2026-04-04T09:00:00",
"retry_after_seconds": 604800
}
For unlimited access, contact us for a premium plan with a dedicated API key.
API Contact
For premium access, custom integrations or technical questions: api@pretcarburant.ro