Slovenia Fuel Prices API
Fuel stations in Slovenia around a point, with the current price per litre for 95 petrol, diesel and LPG, the brand, opening hours and distance. For fleet, travel and price-comparison apps.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from goriva.si/api/v1/search/
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/slovenia-fuel-prices/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"latitude":"46.05","longitude":"14.5"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields: 12 here, 1 technical one under Technical details.
Basics
- Station name
Example PETROL LJUBLJANA - TIVOLSKA
- Latitude
Example 46.058072
- Longitude
Example 14.503445
- Franchise
Brand or operator of the station.
Example Petrol d.d., Ljubljana
- Open hours
Opening hours as the portal writes them.
Example 00:00-23:59
- Distance
Distance from the search centre, in metres.
Example 936
Prices
- Price 95
Price per litre of 95 petrol.
Example 1.395
- Price diesel
Price per litre of diesel.
Example 1.666
- Price lpg
Price per litre of LPG (autogas).
Example 1.153
- Currency
Currency of the prices (EUR).
Example EUR
Location
- Street address
Example TIVOLSKA CESTA 43
- Zip code
Postal code.
Example 1000
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe portal's id of the station.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
name | text | Station name | 3 of 3 |
address | text | Street address | 3 of 3 |
zip_code | text | Zip code | 3 of 3 |
lat | number | Latitude | 3 of 3 |
lng | number | Longitude | 3 of 3 |
price_95 | number | Price 95 | 3 of 3 |
price_diesel | number | Price diesel | 3 of 3 |
price_lpg | number | Price lpg | 1 of 3 |
currency | text | Currency | 3 of 3 |
franchise | text | Franchise | 3 of 3 |
open_hours | text | Open hours | 3 of 3 |
distance | number | Distance | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Station name | Latitude | Longitude | Franchise | Open hours | Distance | Price 95 | Price diesel | Price lpg | Currency | Street address | Zip code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | PETROL LJUBLJANA - TIVOLSKA | 46.058072 | 14.503445 | Petrol d.d., Ljubljana | 00:00-23:59 | 936 | 1.395 | 1.666 | 1.153 | EUR | TIVOLSKA CESTA 43 | 1000 |
| 2 | PETROL LJUBLJANA - TRNOVO | 46.03926 | 14.500033 | Petrol d.d., Ljubljana | Ponedeljek, Torek, Sreda, Četrtek, Petek 00:00-06:00, 06:00-20:00, 20:00-00:00 Sobota 00:00-06:00, 06:00-10:00, 10:30-13:00, 13:00-00:00 Nedelja, Praznik 00:00-00:00 | 1,194 | 1.395 | 1.666 | — | EUR | RIHARJEVA ULICA 31 | 1000 |
| 3 | PETROL LJUBLJANA - TRŽAŠKA 44 | 46.044431 | 14.485178 | Petrol d.d., Ljubljana | Ponedeljek, Torek, Sreda, Četrtek, Petek 07:00-20:00 Sobota 07:00-13:00 | 1,301 | 1.395 | 1.666 | — | EUR | TRŽAŠKA CESTA 44 | 1000 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Stations are found by a circle around a latitude and longitude; only stations in Slovenia are listed, and a very large radius returns every station the portal knows about.
- Prices are those the government price portal publishes; a price is empty when the station does not sell that fuel. Prices are in euros per litre and change when the portal updates them.
- Only 95 petrol, diesel and LPG prices are included; other fuels (98, 100, premium diesel, CNG) are not listed.
- Opening hours are the portal's own text, in Slovenian, and can be long.
- The portal returns 25 stations per page, so a large search takes several requests; one request per second is used.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.