# agentfeeds.jp — Base Settlement Gas Cost Estimator

> agentfeeds.jp — Base Settlement Gas Cost Estimator is a paid API for AI agents from api.agentfeeds.jp, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the estimated base execution-gas cost in USD and ETH for a settlement transaction (e.g. ERC-3009 transferWithAuthorization) on the Base network, computed from live base-fee and ETH/USD observations.

## Facts

- Endpoint: GET https://api.agentfeeds.jp/v1/x402/gas/settlement_cost
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeeds-jp-base-settlement-gas-cost-estimator-6e81c3d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-XfxJYs9NYaDL4OTLLI8Z

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 agentfeeds-jp-base-settlement-gas-cost-estimator-6e81c3d2
```

Example prompt: What's the current estimated USD cost of a Base settlement transaction — assume a standard 65000 gas units for an ERC-3009 transferWithAuthorization — so I can decide if this micropayment is worth executing?

## When to prefer this

Use this endpoint when you need a quick, live lower-bound estimate of the execution gas cost for a Base settlement transaction in USD or ETH — especially for x402/ERC-3009 micropayment break-even decisions. Prefer this over on-chain RPC calls when you need both the ETH gas cost and its USD equivalent in a single call without managing price feeds yourself.

## Known failure modes

- Invalid gas_units value outside 1000–2000000 range returns a 400 error
- Base fee or ETH/USD data temporarily unavailable returns a 503 or stale-data error
- Payment not received or invalid x402 payment header returns a 402 error

## How this service works

Estimated Base execution-gas cost of a settlement transaction (e.g. an ERC-3009 transferWithAuthorization), computed from our own current base-fee and ETH/USD observations. Execution gas only -- excludes priority fee and the Base L1 data fee, so treat this as a lower-bound estimate. Useful for micropayment break-even decisions. Descriptive statistics only; not investment advice.

## Output

Returns descriptive statistics about the estimated execution gas cost for a Base settlement transaction: the USD and ETH amounts, the current base fee used, the ETH/USD rate observed, and the gas unit count. Excludes priority fee and L1 data fee, so the result is a lower-bound estimate useful for micropayment break-even analysis.

## 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": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "gas_units": {
       "type": "integer",
       "description": "1000-2000000, default 65000"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeeds-jp-base-settlement-gas-cost-estimator-6e81c3d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentfeeds.jp](https://www.zero.xyz/host/api.agentfeeds.jp/llms.txt)
