81trust / 100
Proxy Gas Price
by Gas Price Tracker in Onchain & crypto
x402 APIPassing, checked 3 h ago
Current gas prices on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain and Avalanche: gas price, base fee, low/medium/high priority fee in gwei, native token USD price and estimated USD cost of an ETH transfer, ERC20 transfer and swap. Params: chains (optional list, default all).
POST https://agentsvc.io/api/v1/proxy/gas-price
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 33 ms typical, 33 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/gas-price" \
-H "content-type: application/json" \
-d '{"chains":["base","ethereum","arbitrum"]}'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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fgas-price
const res = await pay("https://agentsvc.io/api/v1/proxy/gas-price", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chains":["base","ethereum","arbitrum"]}),
});
console.log(await res.json());Example input
{
"chains": [
"base",
"ethereum",
"arbitrum"
]
}Example output
{
"data": {
"chains": [
{
"base_fee_gwei": 0.005,
"chain": "base",
"chain_id": 8453,
"est_cost_usd": {
"erc20_transfer": 0.001057,
"eth_transfer": 0.000342,
"swap": 0.002927
},
"gas_price_gwei": 0.006,
"native_token": "ETH",
"native_usd": 2710.355,
"priority_fee_gwei": {
"high": 0.007469,
"low": 0.00004,
"medium": 0.001059
}
},
{
"base_fee_gwei": 0.854496,
"chain": "ethereum",
"chain_id": 1,
"est_cost_usd": {
"erc20_transfer": 0.155051,
"eth_transfer": 0.050093,
"swap": 0.429372
},
"gas_price_gwei": 0.880105,
"native_token": "ETH",
"native_usd": 2710.355,
"priority_fee_gwei": {
"high": 12.90606,
"low": 0.2387,
"medium": 1.694767
}
}
],
"checked_at": "2026-10-06T14:17:44.635Z",
"note": "L2 costs exclude the L1 data fee, which can dominate on rollups."
},
"success": true
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 33 ms | $0.002 |