81trust / 100
Gas Price
by NetIntel in Onchain & crypto
x402 APIPassing, checked 55 min ago
Live gas prices across Base, Ethereum, Arbitrum, Optimism, and Polygon with USD cost estimates for a transfer, an ERC-20 send, and a swap — keyless, one call, all chains. Per chain: gas price + EIP-1559 base/priority fee in gwei, native-token USD price, 15s cache. L2 figures are execution-gas only (L1 data fee excluded, flagged in findings).
GET https://netintel.dev/gas/price
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 178 ms typical, 178 ms slowest 5%
- Last check
- 55 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://netintel.dev/gas/price?chains=base%2Cethereum"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Fgas%2Fprice
const res = await pay("https://netintel.dev/gas/price?chains=base%2Cethereum");
console.log(await res.json());Example input
{
"chains": "base,ethereum"
}Example output
{
"chains": {
"base": {
"base_fee_gwei": 0.005,
"cache_age_seconds": 0,
"gas_price_gwei": 0.006,
"native_token": "ETH",
"native_usd": 1829.645,
"priority_fee_gwei": 0.001,
"source": "https://mainnet.base.org",
"usd_estimates": {
"erc20_transfer": 0.000713562,
"swap": 0.00219557,
"transfer": 0.000230535
}
},
"ethereum": {
"base_fee_gwei": 0.120496247,
"cache_age_seconds": 0,
"gas_price_gwei": 0.119926866,
"native_token": "ETH",
"native_usd": 1829.645,
"priority_fee_gwei": 0.1,
"source": "https://ethereum-rpc.publicnode.com",
"usd_estimates": {
"erc20_transfer": 0.0142625,
"swap": 0.0438847,
"transfer": 0.0046079
}
}
},
"findings": [
{
"detail": "base estimates are execution-gas only and exclude the L1 data fee",
"rule": "l2_data_fee_excluded"
}
],
"stale": false
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 55 min ago | Passed | 402 | 185 ms | $0.002 |
| 6 h ago | Passed | 402 | 178 ms | $0.002 |