Gas Price
Current gas on an EVM chain, priced in both gwei and dollars.
Call it
The first response is 402 with the exact price and every rail you can
pay with. Pay, repeat the request with the proof, and you get the result.
curl -X POST https://api.glianalabs.com/v1/tools/gas-price \
-H 'content-type: application/json' \
-d '{"chain":"base"}'When to use it
Use when an agent decides whether to transact now, budgets a batch of transactions, or compares chains before routing. Inputs: chain (required — ethereum, base, arbitrum, optimism, bsc, polygon), gasLimit (optional, default 21000 = a plain transfer; pass the real limit for a contract call). Returns gas_price_gwei, priority_fee_gwei where the chain reports one, and estimated_cost_native plus estimated_cost_usd for that gas limit. The base fee moves every block, so this is a quote and not a guarantee.
What it costs
$0.0100 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.
Not sure this is the right endpoint? GET /v1/consult?intent=… is
free and answers that.
Often used with this
Market Brief
$0.0300Answers "what is the market doing right now" in a single request, assembling prices, movement and liquidity into one response.
DEX Pairs
$0.0100On-chain DEX liquidity for a token: which pools exist, how deep they are, and how much they trade.
DeFi TVL
$0.0100Total value locked in a DeFi protocol or a whole chain, from DefiLlama.