Discover/Metro API
live

Metro APImetro.sk

Get current fuel prices from Metro Cash & Carry gas stations across Slovakia. Covers Natural 95, Nafta diesel, and more via 2 simple endpoints.

This API takes change requests — .
Endpoint health
verified 5d ago
get_fuel_prices
list_stores
2/2 passing latest checkself-healing
Endpoints
2
Updated
5d ago

What is the Metro API?

The Metro.sk API provides access to current fuel prices at Metro Cash & Carry gas stations across Slovakia through 2 endpoints. The get_fuel_prices endpoint returns per-litre EUR pricing for all available fuel types at a specific store, while list_stores enumerates every Metro location in Slovakia that operates a gas station, including geographic coordinates.

Try it
URL slug identifying the Metro store. Lowercase letters, digits, and hyphens only (e.g. 'ivanka-pri-dunaji', 'zilina', 'devinska-nova-ves', 'nitra', 'zvolen', 'kosice'). Obtain from list_stores endpoint.
api.parse.bot/scraper/01bbd94b-dac3-4624-8a33-058451ec59a7/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/01bbd94b-dac3-4624-8a33-058451ec59a7/get_fuel_prices?store_slug=ivanka-pri-dunaji' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace metro-sk-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.


"""Walkthrough: Metro Slovakia fuel prices — list stations, check prices."""
from parse_apis.metro_sk_api import MetroFuel, StoreNotFound

client = MetroFuel()

# List all Metro gas stations in Slovakia
for store in client.stores.list(limit=6):
    print(store.store_slug, store.latitude, store.longitude)

# Get fuel prices for a specific store via constructible navigation
station = client.store("ivanka-pri-dunaji")
report = station.fuel_prices()
print(report.store_name, report.store_slug)
for fuel in report.fuel_prices:
    print(fuel.fuel_type, fuel.price, fuel.unit)

# Handle a non-existent store gracefully
try:
    bad_station = client.store("non-existent-store")
    bad_station.fuel_prices()
except StoreNotFound as exc:
    print(f"Store not found: {exc.store_slug}")

print("exercised: stores.list / store.fuel_prices / StoreNotFound error")
All endpoints · 2 totalmissing one? ·

Retrieve current fuel prices for a specific Metro store's gas station. Returns prices for all available fuel types (Natural 95, Nafta diesel, Super benzín 95, Super nafta) with their EUR/l pricing. Each store page is fetched and parsed for the fuel-prices section.

Input
ParamTypeDescription
store_slugstringURL slug identifying the Metro store. Lowercase letters, digits, and hyphens only (e.g. 'ivanka-pri-dunaji', 'zilina', 'devinska-nova-ves', 'nitra', 'zvolen', 'kosice'). Obtain from list_stores endpoint.
Response
{
  "type": "object",
  "fields": {
    "store_name": "string",
    "store_slug": "string",
    "fuel_prices": "array of fuel price objects with fuel_type, price, and unit"
  },
  "sample": {
    "data": {
      "store_name": "Ivanka pri Dunaji",
      "store_slug": "ivanka-pri-dunaji",
      "fuel_prices": [
        {
          "unit": "EUR/l",
          "price": "1,59",
          "fuel_type": "Natural 95"
        },
        {
          "unit": "EUR/l",
          "price": "1,51",
          "fuel_type": "Nafta diesel"
        },
        {
          "unit": "EUR/l",
          "price": "1,62",
          "fuel_type": "Super benzín 95"
        },
        {
          "unit": "EUR/l",
          "price": "1,54",
          "fuel_type": "Super nafta"
        }
      ]
    },
    "status": "success"
  }
}

About the Metro API

Endpoints and Data

The API exposes two endpoints. list_stores requires no input and returns an array of store objects, each containing a store_slug, latitude, and longitude. These slugs follow a lowercase-with-hyphens convention (e.g. ivanka-pri-dunaji) and serve as the primary key for querying individual stations.

Fuel Price Detail

get_fuel_prices accepts a store_slug string and returns the store_name, store_slug, and a fuel_prices array. Each element in that array contains fuel_type (e.g. Natural 95, Nafta, Super benzín 95, Super nafta), price as a numeric value, and unit (EUR/l). Not every station stocks every fuel type, so the array length can vary by location.

Coverage and Freshness

Coverage is limited to Metro Cash & Carry locations in Slovakia that operate their own fuel station. The list_stores endpoint reflects the current set of such stores; locations without a gas station are excluded. Prices returned by get_fuel_prices reflect the current posted price at the time of the request.

Reliability & maintenanceVerified

The Metro API is a managed, monitored endpoint for metro.sk — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when metro.sk changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official metro.sk API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
5d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a fuel price comparison dashboard for Slovak Metro stations using fuel_type and price fields
  • Find the nearest Metro gas station by comparing latitude and longitude from list_stores against a user's current coordinates
  • Monitor daily or weekly fuel price changes at specific stations identified by store_slug
  • Alert fleet managers when Nafta diesel prices at any Metro station drop below a threshold
  • Integrate Metro fuel prices into a route-planning tool to flag cost-effective refuelling stops
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Metro.sk have an official developer API for fuel prices?+
Metro Slovakia does not publish a public developer API for fuel price data.
What fuel types does `get_fuel_prices` return?+
The endpoint returns whichever fuel types the specific station stocks, which can include Natural 95, Nafta (diesel), Super benzín 95, and Super nafta. Each entry includes the fuel_type label, a numeric price, and the unit (EUR/l). Stations that don't carry a particular grade simply omit it from the array.
Does the API cover Metro stores that don't have a gas station?+
list_stores only returns Metro locations that operate a fuel station, so stores without one are excluded. If you need a full directory of all Metro Slovakia store locations regardless of whether they have a fuel station, the API does not currently cover that. You can fork it on Parse and revise to add an endpoint for all store locations.
Can I retrieve historical fuel price data?+
Not currently. Both endpoints return current prices only; there is no historical price series in the response fields. You can fork the API on Parse and revise it to add a caching or historical-tracking endpoint by storing results over time.
How do I identify which store to query in `get_fuel_prices`?+
Call list_stores first to get the full list of store_slug values along with their coordinates. Pass any slug directly as the store_slug parameter to get_fuel_prices to retrieve that station's current prices.
Page content last updated . Spec covers 2 endpoints from metro.sk.
Related APIs in FinanceSee all →
petrolspy.com.au API
Find the cheapest fuel prices across Australian petrol stations in real-time by searching your area, comparing prices by fuel type, and viewing detailed station information. Quickly locate the best deals near you by specifying your geographic region and fuel preferences.
online.metro-cc.ru API
Search and browse products from Russian METRO Cash & Carry online store with detailed attributes, pricing, and availability information. Explore product categories and look up specific items to compare features and find what you need.
metro.de API
Search and retrieve product information from Metro Germany's Online Marketplace and Wholesale Store, including detailed product data and refrigeration subcategories. Find exactly what you're looking for across both retail channels with comprehensive product listings and specifications.
albert.cz API
Search and discover Albert.cz recipes, find current promotional leaflets with product prices and details, locate nearby stores, and browse magazine content and monthly deals. Access product information and pricing through leaflet data powered by optical character recognition technology.
cne.gob.mx API
Track current gasoline and diesel prices across all Mexican gas stations by state and municipality, helping you find the best fuel deals in real time. Compare Regular and Premium gasoline options alongside diesel prices at specific locations to optimize your fuel spending.
metro.istanbul API
Plan your Istanbul Metro trips by checking real-time service status, finding stations on specific lines, and looking up current ticket prices. Access detailed information about all metro lines and the complete network map to navigate the city's transit system efficiently.
fuelwatch.gov.sg API
Find fuel prices across Western Australia by searching stations by suburb, comparing daily and monthly price trends, and viewing detailed station information. Track fuel price movements across different regions and fuel types to identify the cheapest options nearby.
ocu.org API
Find real-time gas prices and locations at stations across Spain by searching your address or postal code, with filtering options by fuel type, brand, and distance radius. Compare prices per liter, calculate total tank costs, and get detailed station information including coordinates and price ratings to find the best deals near you.