# Agent IA API – /gaz Endpoint

> Agent IA API – /gaz Endpoint is a paid API for AI agents from api.api-agent-ia.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Accepts a proxied HTTP GET, HEAD, or DELETE request and executes it on behalf of the calling agent via a blockchain-metered AI/web service gateway.

## Facts

- Endpoint: GET https://api.api-agent-ia.ch/gaz?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-ia-api-gaz-endpoint-4caccefd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_txm4mk_mpSaJ_N4noEw0X

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 agent-ia-api-gaz-endpoint-4caccefd
```

Example prompt: Use the Agent IA /gaz gateway to forward a GET request to the target resource — proxy the call and return whatever the upstream response contains.

## When to prefer this

Choose this endpoint when your autonomous agent needs to proxy outbound HTTP read or delete requests (GET, HEAD, DELETE) through a blockchain-metered, micropayment-enabled gateway, particularly in x402-compatible agent pipelines where per-call USDC billing is required. Prefer over open proxies when auditability and on-chain payment settlement matter.

## Known failure modes

- Invalid or unsupported HTTP method (only GET, HEAD, DELETE allowed) — request rejected
- Missing required 'type' or 'method' fields — schema validation error
- Payment failure or insufficient USDC balance — 402 Payment Required
- Upstream resource unreachable — gateway timeout or connection error
- Malformed query parameters — upstream request fails
- Additional properties in input object — rejected by additionalProperties:false constraint

## How this service works

Get current gas price on Base

## Output

Returns the proxied response from the upstream HTTP call, including status and body as defined by the output schema's type and example fields. Exact response structure depends on the upstream resource.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "example": {
   "reseau": "base",
   "gas_price_gwei": 0.01
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-ia-api-gaz-endpoint-4caccefd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.api-agent-ia.ch](https://www.zero.xyz/host/api.api-agent-ia.ch/llms.txt)
