# x402-tools-hub Gas Recommendation

> x402-tools-hub Gas Recommendation is a paid API for AI agents from tools-hub-v4-xi.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Returns a recommended gas price or gas limit for blockchain transactions based on current network conditions

## Facts

- Endpoint: POST https://tools-hub-v4-xi.vercel.app/api/gas/recommendation?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-hub-gas-recommendation-bb153294
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YqUmE236OT6F5ix3Lb-c7

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-tools-hub-gas-recommendation-bb153294 -d '<json body>'
```

Example prompt: What gas price should I use right now for a standard Ethereum transfer — I want it confirmed within the next 2-3 blocks without overpaying?

## When to prefer this

Use this endpoint when an AI agent needs to submit an on-chain transaction and wants a data-driven gas recommendation rather than hardcoding a value; especially useful in volatile gas markets or when optimizing for speed vs cost on EVM-compatible chains.

## Known failure modes

- Network unavailable or RPC node unreachable — returns 5xx error
- Payment not provided or insufficient — returns 402 Payment Required
- Invalid network or chain ID specified — returns 400 Bad Request
- Rate limit exceeded — returns 429 Too Many Requests

## How this service works

Agent Toolkit + AI Gateway + Alpha Scraper — 13 paid endpoints for AI agents.

## Output

A recommended gas price (in gwei or wei), suggested gas limit, and possibly a priority fee tier (slow/standard/fast) based on current network congestion data, helping the agent set appropriate transaction parameters.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-hub-gas-recommendation-bb153294/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools-hub-v4-xi.vercel.app](https://www.zero.xyz/host/tools-hub-v4-xi.vercel.app/llms.txt)
