# x402-farm French Fuel Prices API

> x402-farm French Fuel Prices API is a paid API for AI agents from x402-farm.vercel.app, paid per call via x402, $0.01/call, status down (last checked 2026-08-31).

Returns current fuel prices (gazole, etc.) at nearby gas stations in France for a given postal code

## Facts

- Endpoint: GET https://x402-farm.vercel.app/v1/fr/carburants
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-08-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-farm-french-fuel-prices-api-0885260d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oJzgoIDMx4GBXdG3OrufV

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 x402-farm-french-fuel-prices-api-0885260d
```

Example prompt: What are the current fuel prices at gas stations near postal code 97110 in France — especially for gazole (diesel)?

## When to prefer this

Choose this endpoint when you need real-time French fuel prices by postal code without requiring an account or API key. It is ideal for AI agents operating pay-per-use workflows using the x402 protocol with USDC on Base, especially for single-call lookups for French territory including overseas departments like Guadeloupe.

## Known failure modes

- Invalid or unsupported postal code returns empty station list
- No stations found for remote or rural postal codes
- Payment failure via x402 protocol if USDC balance is insufficient
- Stale pricing data if upstream government fuel price feed is delayed
- Rate limiting if called too frequently without proper x402 payment headers

## How this service works

Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.

## Output

A JSON object containing the queried postal code and an array of nearby gas stations, each with the station name and current fuel prices (e.g. gazole/diesel price per litre in euros).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cp": "97110",
  "stations": [
   {
    "nom": "Station",
    "prix": {
     "gazole": 1.7
    }
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-farm-french-fuel-prices-api-0885260d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-farm.vercel.app](https://www.zero.xyz/host/x402-farm.vercel.app/llms.txt)
