# TripGuard Fare Intelligence

> TripGuard Fare Intelligence 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).

Checks an Ethereum address for contract bytecode size and deployment status on Base

## Facts

- Endpoint: POST https://tripguard-fare-intel.onrender.com/chain/code?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-ddd10bc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6DR2lt0DwQlek7GVD2tjZ

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-ddd10bc2 -d '<json body>'
```

Example prompt: Can you check whether the address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 is a deployed smart contract on Base and tell me how large its bytecode is?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call check of whether an Ethereum address on Base is a deployed smart contract, without maintaining your own RPC infrastructure or managing API keys. Prefer it over general-purpose blockchain explorers when operating in an automated agent pipeline that pays in USDC on Base.

## Known failure modes

- Invalid or malformed Ethereum address returns an error
- Address not found on Base network returns zero codeSize or error
- Payment failure (insufficient USDC) results in 402 response
- Network timeout or RPC outage may return 503 or empty response
- Non-Base-network addresses may return incorrect or null results

## 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 the queried Ethereum address, the size of its deployed bytecode in bytes (codeSize), and a boolean isContract flag indicating whether the address is a smart contract or an externally owned account (EOA).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "codeSize": 1234,
  "isContract": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tripguard-fare-intelligence-ddd10bc2/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)
