# HALOWERK marktwerk Gas Cost Estimator

> HALOWERK marktwerk Gas Cost Estimator is a paid API for AI agents from markt.netzhandwerker.de, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Estimates the current gas cost in USD for a specific transaction type (transfer, ERC-20, or swap) on Ethereum or Base.

## Facts

- Endpoint: POST https://markt.netzhandwerker.de/gas
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-marktwerk-gas-cost-estimator-e13e0b25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PrfZEZHSVgrXZivNDA14f

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 halowerk-marktwerk-gas-cost-estimator-e13e0b25 -d '<json body>'
```

Example prompt: What's the current gas cost estimate for a token swap on Ethereum?

## When to prefer this

Use this endpoint when you need a quick, paid, on-demand gas cost estimate for a specific transaction type (simple transfer, ERC-20, or swap) on either Ethereum or Base, and you want a USD-denominated figure without running your own RPC node or gas oracle. Prefer this over free public gas trackers when you need programmatic access via a pay-per-call model with no API key setup.

## Known failure modes

- Invalid chain value (not 'ethereum' or 'base') returns a validation error
- Invalid action value (not 'transfer', 'erc20', or 'swap') returns a validation error
- Payment failure (x402 USDC payment not received) blocks the response
- Network congestion or RPC unavailability may return stale or unavailable estimates
- Upstream gas oracle downtime may cause errors or null responses

## How this service works

HALOWERK marktwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

Returns a current gas cost estimate for the specified transaction type on the chosen chain, expressed in a USD-denominated figure, reflecting live network conditions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base"
   ],
   "type": "string",
   "default": "ethereum",
   "description": "Chain to measure. ethereum or base."
  },
  "action": {
   "enum": [
    "transfer",
    "erc20",
    "swap"
   ],
   "type": "string",
   "default": "transfer",
   "description": "Which transaction the cost estimate is for: transfer, erc20 or swap."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-marktwerk-gas-cost-estimator-e13e0b25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markt.netzhandwerker.de](https://www.zero.xyz/host/markt.netzhandwerker.de/llms.txt)
