Ortwerk
fuel cost trip
Multiplies the kilometres of each leg by the consumption (litres per 100 km) and the national average consumer price incl. duties and taxes of the requested fuel (Euro-super 95, diesel or LPG) from the latest European Commission Weekly Oil Bulletin (prices with taxes, EUR per 1,000 l, weekly, all 27 EU member states; https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en; reuse under CC BY 4.0). Prices can be overridden per country, which also allows non-EU legs. Returns litres.
POST https://ort.halowerk.com/v1/fuel-cost-tripInputs
| Field | Type | Required | Description |
|---|---|---|---|
| legs | array | Yes | |
| fuel | string | No | |
| consumption_l_per_100km | number | Yes | |
| prices_eur_per_l | object | No | Optional own prices per country code, overriding the Bulletin. |
| tank_l | number | No | Tank size for the refuelling comparison. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"legs",
"consumption_l_per_100km"
],
"properties": {
"legs": {
"type": "array",
"minItems": 1,
"maxItems": 30,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"country",
"km"
],
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "ISO 3166-1 alpha-2 code (Greece: GR)."
},
"km": {
"type": "number",
"minimum": 0,
"maximum": 20000
}
}
}
},
"fuel": {
"type": "string",
"enum": [
"euro95",
"diesel",
"lpg"
],
"default": "diesel"
},
"consumption_l_per_100km": {
"type": "number",
"minimum": 0.5,
"maximum": 150
},
"prices_eur_per_l": {
"type": "object",
"additionalProperties": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 20
},
"description": "Optional own prices per country code, overriding the Bulletin."
},
"tank_l": {
"type": "number",
"minimum": 1,
"maximum": 2000,
"description": "Tank size for the refuelling comparison."
}
}
}Published input example
{
"legs": [
{
"country": "DE",
"km": 420
},
{
"country": "AT",
"km": 180
}
],
"fuel": "diesel",
"consumption_l_per_100km": 28,
"tank_l": 600
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Ortwerk0.01 USDC
area coverage
POSThttps://ort.halowerk.com/v1/area-coverageRuns one multi-source Dijkstra from all origins (Routing runs on HALOWERK's own graph of the German road and path network built from OpenStreetMap (Geofabrik germany-latest.osm.pbf, data until 2026-11-12, ODbL 1.0; 25 million nodes, edges a
- Ortwerk0.004 USDC
autobahn roadworks
POSThttps://ort.halowerk.com/v1/autobahn-roadworksFetches live roadworks (long- and short-term) and closures per motorway from the public Autobahn App API of Die Autobahn GmbH des Bundes (no key; https://verkehr.autobahn.de/o/autobahn). The free-text periods are parsed into concrete interv
- Ortwerk0.004 USDC
avalanche bulletin
POSThttps://ort.halowerk.com/v1/avalanche-bulletinFresh official WSL SLF CAAMLv6 JSON for one Swiss warning region, in de/en/fr/it with explicit actual-language fallback. Includes the complete unmodified bulletin, all elevation/aspect/time distinctions, publication and validity times, sour