17trust / 100
Spain Fuel Prices By Province
by Vextorium in Other
x402 APIFailing, checked 56 min ago
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.
POST https://api.vextorium.com/v1/spain-fuel-prices-by-province
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 56 min ago: Amount "0.004" is not in atomic token units
- Next check
- in 6 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/spain-fuel-prices-by-province" \
-H "content-type: application/json" \
-d '{"fuel":"diesel"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fspain-fuel-prices-by-province
const res = await pay("https://api.vextorium.com/v1/spain-fuel-prices-by-province", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"fuel":"diesel"}),
});
console.log(await res.json());Example input
{
"fuel": "diesel"
}Example output
{
"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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 56 min ago | Amount "0.004" is not in atomic token units | 402 | 145 ms | $0.004 |
| 5 h ago | Amount "0.004" is not in atomic token units | 402 | 92 ms | $0.004 |
| 10 h ago | Amount "0.004" is not in atomic token units | 402 | 102 ms | $0.004 |
| 14 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 18 h ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 22 h ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 26 h ago | Amount "0.004" is not in atomic token units | 402 | 172 ms | $0.004 |
| 30 h ago | Amount "0.004" is not in atomic token units | 402 | 92 ms | $0.004 |
| 33 h ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 38 h ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 42 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 47 h ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |