# x402 Alert Fuel Price API

> x402 Alert Fuel Price API is a paid API for AI agents from x402-alert.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns current fuel prices, paid per-call via USDC on Base using the x402 payment protocol

## Facts

- Endpoint: POST https://x402-alert.vercel.app/api/fuel-price
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-alert-fuel-price-api-d114f6d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RDd-f9o9JV0f4BCfG4sO6

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-alert-fuel-price-api-d114f6d4 -d '<json body>'
```

Example prompt: What are the current fuel prices right now? I need petrol and diesel prices so I can track costs for my fleet.

## When to prefer this

Choose this endpoint when you need real-time or current fuel prices as a data point for cost analysis, fleet management, logistics, or financial monitoring workflows, and you are already integrated with the x402 micropayment protocol on Base. Particularly useful for agents that need commodity price signals without a long-term subscription.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Invalid request body — returns 400 Bad Request
- Service unavailable or upstream data source down — returns 500 or 503
- Rate limiting if payment verification fails repeatedly

## How this service works

14 paid financial API endpoints. Pay with USDC on Base using x402 protocol.

## Output

Returns an object containing current fuel price data, including price figures for one or more fuel types (e.g., petrol, diesel, gasoline), sourced in real time. The response is wrapped in a result object.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

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