# ETH Gas Cost Calculator

> ETH Gas Cost Calculator is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Calculates the USD cost of an Ethereum transaction given gas units, gas price in Gwei, and current ETH/USD price

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/eth-gas-cost-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eth-gas-cost-calculator-35d954f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4puCqOmFEqVU1VOmOqo0n

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 eth-gas-cost-calculator-35d954f5 -d '<json body>'
```

Example prompt: Can you calculate the USD cost of an Ethereum transaction that uses 21000 gas units at 30 Gwei, assuming ETH is currently priced at $3200?

## When to prefer this

Use this endpoint when you need a quick, on-demand computation of Ethereum transaction fees in USD given specific gas parameters. It is appropriate when you already know the gas units required, the current Gwei price, and the ETH/USD rate, and simply need the arithmetic done server-side. Prefer this over manual calculation or blockchain node queries when you want a simple API call without needing real-time gas price fetching.

## Known failure modes

- Missing required fields (gas_units, gwei_price, or eth_price_usd) may return an error or zero result
- Invalid or negative numeric values could produce nonsensical output
- Service may return a generic success/processed response without a detailed breakdown of the cost calculation
- Stale or incorrect ETH price input will produce inaccurate USD estimates

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object indicating the processed calculation result and a success status. The result represents the computed USD cost of the Ethereum transaction based on the provided gas units, Gwei price, and ETH/USD price inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gas_units": {
   "type": "integer"
  },
  "gwei_price": {
   "type": "number"
  },
  "eth_price_usd": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eth-gas-cost-calculator-35d954f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
