# TripGuard Fare Intelligence – Base Gas Price Feed

> TripGuard Fare Intelligence – Base Gas Price Feed is a paid API for AI agents from tripguard-fare-intel.onrender.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-11).

Returns the current Base blockchain gas price (in Wei and Gwei) and latest block number, used to estimate transaction costs for x402 pay-per-call payments.

## Facts

- Endpoint: POST https://tripguard-fare-intel.onrender.com/chain/gas?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tripguard-fare-intelligence-base-gas-price-feed-5da05a26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i3JptFDnDv2LedHfQBQ4J

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 tripguard-fare-intelligence-base-gas-price-feed-5da05a26 -d '<json body>'
```

Example prompt: What's the current gas price on the Base blockchain right now — give me both the Wei and Gwei values and the latest block number so I can estimate my transaction cost.

## When to prefer this

Use this endpoint when you need real-time Base blockchain gas price data to estimate the cost of on-chain transactions, particularly for x402 pay-per-call micropayment flows. Prefer this over static estimates or manual lookups when your agent needs up-to-date fee data before submitting a Base transaction.

## Known failure modes

- Service unavailable if the Render.com deployment is sleeping or cold-starting (503)
- Base RPC node unavailable or rate-limited, returning stale or missing data
- Empty body required — any unexpected body content may cause a 400 error
- Network timeout if Base chain is experiencing congestion or RPC delays

## How this service works

Real-time airfare intelligence for AI travel-booking agents: flight price-drop prediction, fare-fraud and deal-legitimacy verification, and verified booking links for any route and date. Pay-per-call in USDC on Base. No API key.

## Output

Returns a JSON object containing the current Base blockchain gas price in Wei (gasPriceWei) and Gwei (gasPriceGwei), the base fee in Wei (baseFeeWei) and Gwei (baseFeeGwei), and the latest block number (blockNumber). Example: gasPriceGwei=0.005, blockNumber=50656854.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ]
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "gasPriceWei",
      "gasPriceGwei"
     ],
     "properties": {
      "baseFeeWei": {
       "type": "string"
      },
      "baseFeeGwei": {
       "type": "string"
      },
      "blockNumber": {
       "type": "integer"
      },
      "gasPriceWei": {
       "type": "string"
      },
      "gasPriceGwei": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "baseFeeWei": "4000000",
  "baseFeeGwei": "0.004",
  "blockNumber": 50656854,
  "gasPriceWei": "5000000",
  "gasPriceGwei": "0.005"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tripguard-fare-intelligence-base-gas-price-feed-5da05a26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tripguard-fare-intel.onrender.com](https://www.zero.xyz/host/tripguard-fare-intel.onrender.com/llms.txt)
