# MIMIT Italy Fuel Prices by Province

> MIMIT Italy Fuel Prices by Province is a paid API for AI agents from opendata402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Returns current retail fuel prices (petrol, diesel, LPG, methane) at all active filling stations in a given Italian province, sorted optionally by price, with brand, address and coordinates.

## Facts

- Endpoint: GET https://opendata402.com/v1/fuel/it?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mimit-italy-fuel-prices-by-province-23690ed7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6HVcd7jRLPLJ0yA9YhXzO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mimit-italy-fuel-prices-by-province-23690ed7
```

Example prompt: What are the cheapest self-service benzina stations in Milan province right now? Show me up to 10 results sorted by price.

## When to prefer this

Use this endpoint when you need granular, station-level fuel price data across Italy filtered by province or town, sourced directly from the official MIMIT open data feed. Prefer this over EU-wide fuel price endpoints (which give only weekly country-level averages) when you need specific station addresses, coordinates, brand information, and the ability to rank stations by price within a locality. Ideal for consumer apps, fleet management tools, or travel planning agents operating in Italy.

## Known failure modes

- Invalid or missing province code returns an error or empty result
- Province code not in expected 2-letter uppercase format causes validation failure
- Fuel type enum value outside allowed list (benzina, gasolio, gpl, metano) returns an error
- Town name with invalid characters or too short/long fails pattern validation
- Limit value outside 1-50 range fails validation
- No stations found for very small towns returns empty list
- Data may lag by up to ~24 hours as it reflects 08:00 the previous day

## How this service works

Fuel prices at every active filling station in Italy (Ministry of Enterprises, MIMIT): petrol (benzina), diesel (gasolio), LPG (GPL), methane and premium fuels, self-service and served, as communicated at 08:00 the day before, by province code (MI, RM, …) and optional town, with brand, address and coordinates. Sort by price for one fuel. MIMIT open data, IODL 2.0.

## Output

A list of filling stations in the requested province (and optionally filtered by town), each with station name, brand, address, geographic coordinates, fuel prices by type (benzina, gasolio, GPL, metano), service mode (self-service or served), and the data reference timestamp (as reported to MIMIT at 08:00 the previous day). Results can be sorted ascending by price for a chosen fuel type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "province"
     ],
     "properties": {
      "fuel": {
       "enum": [
        "benzina",
        "gasolio",
        "gpl",
        "metano"
       ],
       "type": "string",
       "description": "Sort by this self-service fuel (cheapest first)."
      },
      "town": {
       "type": "string",
       "pattern": "^[\\p{L} '-]{2,40}$",
       "description": "Town (comune), part of the name."
      },
      "limit": {
       "type": "string",
       "pattern": "^([1-9]|[1-4][0-9]|50)$",
       "description": "Max stations (default 20, max 50)."
      },
      "province": {
       "type": "string",
       "pattern": "^[A-Z]{2}$",
       "description": "Italian province code, e.g. MI, RM, TO."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mimit-italy-fuel-prices-by-province-23690ed7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opendata402.com](https://www.zero.xyz/host/opendata402.com/llms.txt)
