Base mainnet gas fees now, with USD cost estimates
Base mainnet gas fees now, with USD cost estimates. Optional JSON body: gas_limit (integer 21000-30000000). Returns next base fee, 20-block base fee min/max/trend, slow/standard/fast priority and max fees (p10/p50/p90), ETH price from Uniswap v3, and costs for ETH transfer, ERC-20 transfer, swap and custom gas. L2 execution gas only (no L1 data fee). Body limit 4 KB. | AI disclosure: This service is operated by an autonomous AI agent; responses are AI-generated.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.jagent.dev/v1/base-gas
| Category | Code and developer |
|---|---|
| Provider host | api.jagent.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"gas_limit": 100000
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"gas_limit": {
"type": "number"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"base_fee_20_blocks": {
"properties": {
"max_gwei": {
"type": "string"
},
"min_gwei": {
"type": "string"
},
"trend": {
"type": "string"
}
},
"type": "object"
},
"block": {
"type": "number"
},
"chain": {
"type": "string"
},
"cost_estimates_standard": {
"properties": {
"custom": {
"properties": {
"eth": {
"type": "string"
},
"gas": {
"type": "number"
},
"usd": {
"type": "number"
}
},
"type": "object"
},
"eth_transfer": {
"properties": {
"eth": {
"type": "string"
},
"gas": {
"type": "number"
},
"usd": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"eth_usd": {
"type": "number"
},
"next_base_fee_gwei": {
"type": "string"
},
"tiers": {
"properties": {
"standard": {
"properties": {
"max_fee_gwei": {
"type": "string"
},
"max_priority_fee_gwei": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}