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.

Try it
Ready-made, maintained by usPlaces, 13 fieldsv1.0

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

Latitude
Latitude of the search centre, in decimal degrees.
Example: 46.05
Longitude
Longitude of the search centre, in decimal degrees.
Example: 14.5
Radius moptional
Search radius in metres (100 to 100000).
Example: 5000

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
Endpoint
POSThttps://pullrow.dev/v1/apis/slovenia-fuel-prices/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

latitudetextrequired
Latitude of the search centre, in decimal degrees.
example: 46.05
longitudetextrequired
Longitude of the search centre, in decimal degrees.
example: 14.5
radius_mnumber
Search radius in metres (100 to 100000).
default: 5000example: 5000

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
nametextStation name3 of 3
addresstextStreet address3 of 3
zip_codetextZip code3 of 3
latnumberLatitude3 of 3
lngnumberLongitude3 of 3
price_95numberPrice 953 of 3
price_dieselnumberPrice diesel3 of 3
price_lpgnumberPrice lpg1 of 3
currencytextCurrency3 of 3
franchisetextFranchise3 of 3
open_hourstextOpen hours3 of 3
distancenumberDistance3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordStation nameLatitudeLongitudeFranchiseOpen hoursDistancePrice 95Price dieselPrice lpgCurrencyStreet addressZip code
1PETROL LJUBLJANA - TIVOLSKA46.05807214.503445Petrol d.d., Ljubljana00:00-23:599361.3951.6661.153EURTIVOLSKA CESTA 431000
2PETROL LJUBLJANA - TRNOVO46.0392614.500033Petrol d.d., LjubljanaPonedeljek, 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:001,1941.3951.666—EURRIHARJEVA ULICA 311000
3PETROL LJUBLJANA - TRŽAŠKA 4446.04443114.485178Petrol d.d., LjubljanaPonedeljek, Torek, Sreda, Četrtek, Petek 07:00-20:00 Sobota 07:00-13:001,3011.3951.666—EURTRŽAŠKA CESTA 441000

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.
Known limits
  • 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.