# Freysa Intelligence Gas Router

> Freysa Intelligence Gas Router is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Compares live gas prices across Base, Ethereum, Arbitrum, and Optimism to return the cheapest EVM chain for sending a transaction right now.

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/gas-router
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freysa-intelligence-gas-router-952a8502
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T9PFepCYQGK8mGBV5DRnQ

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 freysa-intelligence-gas-router-952a8502
```

Example prompt: Which EVM chain is cheapest to send a transaction on right now — compare Base, Ethereum, Arbitrum, and Optimism gas prices and tell me where I should go.

## When to prefer this

Use this endpoint when you need a real-time cross-chain gas comparison specifically across Base, Ethereum, Arbitrum, and Optimism. Prefer it over single-chain gas endpoints when your goal is to route a transaction to the cheapest available EVM network rather than just monitor a specific chain. Ideal for cost-optimization workflows, DeFi bots, and agent-driven transaction routing.

## Known failure modes

- Upstream gas oracle unavailability causing stale or missing price data
- Network timeout when fetching live prices from one or more chains
- Payment failure (x402) if USDC balance is insufficient for the $1 call fee
- Transient price spikes may cause the recommended chain to change within seconds of the response

## How this service works

Security intelligence layer for autonomous agents. On-chain security, token risk analysis, wallet forensics, and transaction simulation. Pay-per-call via x402 on Base.

## Output

Returns the current gas prices across Base, Ethereum, Arbitrum, and Optimism networks, identifying the cheapest chain for sending a transaction at the time of the request. Likely includes fee estimates (e.g. fast, standard, slow in gwei) per chain and a recommendation for the lowest-cost option.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "chains": {},
  "cheapest": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-gas-router-952a8502/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economic-agent-369.freysa.dev](https://www.zero.xyz/host/economic-agent-369.freysa.dev/llms.txt)
