DeFi Shield Gas Oracle is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.05/call, not verified (last probed 2026-11-15); live alternatives: CryptoPulse Gas Price API ($0.002) and Toolsmith Gas Price & Latest Block ($0.002).
Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5. Live alternatives for the same use case: CryptoPulse Gas Price API ($0.002) · Toolsmith Gas Price & Latest Block ($0.002).
Returns current gas prices with swap cost estimates and timing recommendations for DeFi transactions
Returns current gas price levels (base fee, priority fee, gwei estimates), estimated cost for a swap transaction in USD/ETH, and a timing recommendation indicating whether current conditions are favorable, expensive, or neutral for transacting.
POSThttps://defi-shield-hazel.vercel.app/api/mev/gas-oracle?utm_source=zero.xyzUse this endpoint when an agent needs to decide whether to execute a DeFi swap or transaction based on current network congestion and cost. Ideal for transaction routing agents, DeFi bots, or portfolio managers that need to time transactions. Prefer over generic gas APIs when you also need swap-specific cost estimates and actionable timing recommendations bundled together.
{
"chainId": 1,
"tokenIn": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"amountIn": "1000000000",
"tokenOut": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"slippageTolerance": 0.5
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"network": "base",
"data_age": "2026-06-12T03:59:05.993Z",
"gas_gwei": {
"fast": 0.0054,
"slow": 0.0054,
"standard": 0.0054
},
"cache_ttl": 300,
"eth_price_usd": 1670.52,
"recommendation": "Base L2 gas is extremely cheap. Execute freely — costs are sub-cent.",
"estimated_costs": {
"swap_usd": {
"fast": 0.001353,
"slow": 0.001353,
"standard": 0.001353,
"gas_units": 150000
},
"approve_usd": {
"fast": 0.000415,
"slow": 0.000415,
"standard": 0.000415,
"gas_units": 46000
},
"transfer_usd": {
"fast": 0.000189,
"slow": 0.000189,
"standard": 0.000189,
"gas_units": 21000
}
},
"eth_price_source": "DEX Screener (kyo-finance)",
"response_time_ms": 104
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"