Cheapest petrol stations in Spain for a fuel (gasoline 95/98, diesel, LPG, CNG, AdBlue,…
Cheapest petrol stations in Spain for a fuel (gasoline 95/98, diesel, LPG, CNG, AdBlue, hydrogen) by town, province or near coordinates: price, brand, address, opening hours and distance, plus the area's average. Official Ministry prices, updated every 30 min…
by api.vextorium.com · discovered, not yet claimed by its owner · updated 2026-10-06
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Cheapest petrol stations in Spain for a fuel (gasoline 95/98, diesel, LPG, CNG, AdBlue, hydrogen) by town, province or near coordinates: price, brand, address, opening hours and distance, plus the area's average. Official Ministry prices, updated every 30 minutes.
Tags: fuel · gas-stations · spain · prices · travel · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-06
{
"fuel": "gasoline95",
"latitude": 40.4168,
"length": -3.7038,
"limit": 3,
"radio_km": 3
}{
"avg_price": 1.858,
"cheapest": [
{
"address": "RONDA SEGOVIA, 37",
"brand": "BALLENOIL",
"distance_km": 1.37,
"latitude": 40.41025,
"length": -3.717528,
"municipality": "Madrid",
"price_eur_liter": 1.748,
"province": "MADRID",
"schedule": "L-D: 24H",
"zip": "28005"
},
{
"address": "PASEO SANTA MARIA DE LA CABEZA, 90",
"brand": "SHELL",
"distance_km": 2.12,
"latitude": 40.397722,
"length": -3.702472,
"municipality": "Madrid",
"price_eur_liter": 1.769,
"province": "MADRID",
"schedule": "L-D: 24H",
"zip": "28045"
}
],
"fuel": "gasoline95",
"max_price": 1.909,
"min_price": 1.748,
"source": "Spanish Ministry for the Ecological Transition (fuel Geoportal, open data)",
"stations_in_zone": 23,
"updated": "02/10/2026 17:00:33"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/37557.jsonfor the price and payment options. - Pay. Call
GET https://api.vextorium.com/v1/spain-fuel-stations. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, Polygon, Optimism, eip155:5042, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, Polygon, Optimism, eip155:5042
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.005 | HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2 | 300s |
| exact | Polygon eip155:137 | USDC | $0.005 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Optimism eip155:10 | 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 | 5000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 5000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:10",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "5000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "5000",
"maxTimeoutSeconds": 604900
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"avg_price": {
"type": [
"number",
"null"
]
},
"cheapest": {
"items": {
"properties": {
"address": {
"type": [
"null",
"string"
]
},
"brand": {
"type": [
"null",
"string"
]
},
"distance_km": {
"type": [
"null",
"number"
]
},
"latitude": {
"type": [
"null",
"number"
]
},
"length": {
"type": [
"null",
"number"
]
},
"municipality": {
"type": [
"null",
"string"
]
},
"price_eur_liter": {
"type": [
"null",
"number"
]
},
"province": {
"type": [
"null",
"string"
]
},
"schedule": {
"type": [
"null",
"string"
]
},
"zip": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
},
"type": [
"array",
"null"
]
},
"fuel": {
"type": [
"string",
"null"
]
},
"max_price": {
"type": [
"number",
"null"
]
},
"min_price": {
"type": [
"number",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"stations_in_zone": {
"type": [
"number",
"null"
]
},
"updated": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"avg_price": 0,
"cheapest": [
{
"address": null,
"brand": null,
"distance_km": null,
"latitude": null,
"length": null,
"municipality": null,
"price_eur_liter": null,
"province": null,
"schedule": null,
"zip": null
}
],
"fuel": "string",
"max_price": 0,
"min_price": 0,
"source": "string",
"stations_in_zone": 0,
"updated": "string"
},
"type": "string"
}Examples
curl "https://api.vextorium.com/v1/spain-fuel-stations"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.vextorium.com/v1/spain-fuel-stations");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.vextorium.com/v1/spain-fuel-stations")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.vextorium.com
- Endpoint
- https://api.vextorium.com/v1/spain-fuel-stations
- Machine-readable
/resources/37557.json