4 tools, each with the description a model is given, its arguments and the example it ships with. Over HTTP a tool answers at /gr/api/fuelprices/{tool}; over MCP, as itself.
list_bulletins >Which fuel price bulletins exist
The bulletins the observatory has published, newest first, with the date each is for and its PDF. daily (the default) is the price per prefecture, every day since 14 March 2017; daily_national the national averages with station counts, from the same day; weekly, each Friday since 27 April 2012, the national picture with how the price is made up. Each day's bulletin is for the day before and appears around 12:30 Athens time. A few dozen days have none — weekends in early 2017, and gaps in 2019, 2022, 2023 and 2024 — and asking for one of them is answered with the last bulletin before it.
Arguments
- typestring, one of daily, daily_national, weekly
- Which series. Defaults to daily.
- yearinteger, 2012–2100
- Only this year.
- monthinteger, 1–12
- Only this month, with year.
- limitinteger, 1–400
- Most bulletins, 1-400. Defaults to 31.
get_prices >Fuel prices by prefecture
The average pump price of each fuel in each prefecture, and the national average weighted by sales, for one day, from the observatory's daily bulletin. Prices are in € per litre, VAT included, averaged over what the stations of the prefecture declared that day. With no date, the latest bulletin, which is for yesterday or the day before; with a date that has no bulletin, the last one before it, and a note. Name prefectures in Greek or Greeklish, by name or by a town or island in them; with none, all 51. Attica is one row. Which fuels appear depends on the date: heating oil only from 15 October to 30 April, Super only until 2022. For a run of days use get_price_history; for how the price splits into taxes and margins, get_price_breakdown.
Arguments
- datestring
- The day, YYYY-MM-DD, from 2017-03-14. Defaults to the latest bulletin.
- prefecturestring, 2–600 characters
- A prefecture, or several comma-separated, in Greek or Greeklish, by name or by its main town or island: "Αττική", "Thessaloniki, Heraklion", "Santorini" (Kyklades). Attica is reported as one.
- fuelstring, one of unleaded95, unleaded100, super, diesel, heating_oil, autogas
- unleaded95, unleaded100, diesel (motor), autogas (LPG), heating_oil (published 15 October to 30 April only) or super (until 2022).
Example arguments
{
"prefecture": "Thessaloniki"
}
get_price_history >Fuel prices day by day
One fuel's daily average price over a run of days, for one prefecture or for the country, from the daily bulletins — to see whether prices are rising, by how much, and how one prefecture compares with the national average. Up to 31 days at a time; with no dates, the last 14 bulletins. Days with no bulletin are listed as missing rather than filled in. Prices are in € per litre, VAT included. Each day costs one bulletin, read once and kept, so a long run is slower the first time.
Arguments
- fuelstring, one of unleaded95, unleaded100, super, diesel, heating_oil, autogas
- Defaults to unleaded95.
- prefecturestring, 2–60 characters
- One prefecture, as in get_prices. Without it, the national weighted average.
- startDatestring
- First day, YYYY-MM-DD. Defaults to 13 days before endDate.
- endDatestring
- Last day, YYYY-MM-DD. Defaults to the latest bulletin.
Example arguments
{
"prefecture": "Kyklades",
"fuel": "unleaded95",
"startDate": "2026-10-08",
"endDate": "2026-10-14"
}
get_price_breakdown >What a litre of fuel is made of
How the national average pump price of unleaded 95, motor diesel and, in winter, heating oil splits into the refinery price, taxes and levies, and the retail margin, in € per litre and as shares of the price — from the observatory's weekly bulletin, which is for a Friday (the refinery price is Thursday's). With no date, the latest week; with a date, the last weekly bulletin on or before it. The figures are read from the bulletin's own sentences: one it does not state comes back null, and `consistent` says whether the parts add up to the price, as they do in every bulletin checked.
Arguments
- datestring
- A day, YYYY-MM-DD; the week whose Friday is on or before it. From 2012-04-27.