{
  "x402Version": 2,
  "id": 36707,
  "slug": "36707",
  "resource": "https://api.vextorium.com/v1/spain-fuel-prices-by-province",
  "description": "Average, minimum and maximum price of a fuel in every Spanish province right now, from cheapest to most expensive, with the national average. Official Ministry data updated every 30 minutes.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "fuel": {
            "type": [
              "string",
              "null"
            ]
          },
          "national_avg": {
            "type": [
              "number",
              "null"
            ]
          },
          "provinces": {
            "items": {
              "properties": {
                "avg": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "max": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "min": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "province": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "stations": {
                  "type": [
                    "null",
                    "number"
                  ]
                }
              },
              "type": [
                "null",
                "object"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "fuel": "diesel"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "fuel": "diesel",
            "national_avg": 1.915,
            "provinces": [
              {
                "avg": 1.565,
                "max": 1.567,
                "min": 1.555,
                "province": "Melilla",
                "stations": 12
              },
              {
                "avg": 1.673,
                "max": 1.819,
                "min": 1.527,
                "province": "Palmas (Las)",
                "stations": 252
              }
            ],
            "source": "Spanish Ministry for the Ecological Transition (fuel Geoportal)",
            "updated": "02/10/2026 17:21:04"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "fuel": {
                    "enum": [
                      "gasoline95",
                      "gasoline98",
                      "diesel",
                      "diesel_premium",
                      "lpg",
                      "cng",
                      "adblue",
                      "hydrogen"
                    ],
                    "type": "string"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "fuel": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "national_avg": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "provinces": {
                    "items": {
                      "properties": {
                        "avg": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "max": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "min": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "province": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "stations": {
                          "type": [
                            "null",
                            "number"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "source": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "updated": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "fuel",
    "prices",
    "spain",
    "provinces",
    "energy",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:14:24.19Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:14:23.951Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "fuel": "diesel"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "fuel": "diesel",
              "national_avg": 1.915,
              "provinces": [
                {
                  "avg": 1.565,
                  "max": 1.567,
                  "min": 1.555,
                  "province": "Melilla",
                  "stations": 12
                },
                {
                  "avg": 1.673,
                  "max": 1.819,
                  "min": 1.527,
                  "province": "Palmas (Las)",
                  "stations": 252
                }
              ],
              "source": "Spanish Ministry for the Ecological Transition (fuel Geoportal)",
              "updated": "02/10/2026 17:21:04"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "fuel": {
                      "enum": [
                        "gasoline95",
                        "gasoline98",
                        "diesel",
                        "diesel_premium",
                        "lpg",
                        "cng",
                        "adblue",
                        "hydrogen"
                      ],
                      "type": "string"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "fuel": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "national_avg": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinces": {
                      "items": {
                        "properties": {
                          "avg": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "max": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "min": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "province": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "stations": {
                            "type": [
                              "null",
                              "number"
                            ]
                          }
                        },
                        "type": [
                          "null",
                          "object"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "updated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "fuel": "string",
      "national_avg": 0,
      "provinces": [
        {
          "avg": null,
          "max": null,
          "min": null,
          "province": null,
          "stations": null
        }
      ],
      "source": "string",
      "updated": "string"
    },
    "type": "string"
  }
}