$0.01
per call · USD Coin on Base
GlianaAI - pay-per-call AI, market data and identity APIs, no signup, USDC. This resource: tools/gas-price. Current gas on an EVM chain, priced in both gwei and dollars. https://ai.glianalabs.com
Endpoint
POST https://api.glianalabs.com/x402/tools/gas-price1
Calls / 30d
1
Unique payers / 30d
Aug 17
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.glianalabs.com/x402/tools/gas-price", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"chain": "base"
}),
});
const data = await res.json();curl -X POST \
"https://api.glianalabs.com/x402/tools/gas-price" \
-H "Content-Type: application/json" \
-d '{"chain":"base"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"tool": "tools/gas-price"
}Payment details
0x7662e00f8ab4c362166e1ff649ff6c2a638c80adUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Glianalabs & similar services
Glianalabs · Seedance 2 5
api.glianalabs.com
GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: seedance-2.5 (Text-to-Video). https://ai.glianalabs.com
Glianalabs · Seedream 4 5
api.glianalabs.com
GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: seedream-4.5 (Text-to-Image). https://ai.glianalabs.com
Glianalabs · Gemini 3 1 Flash TTS
api.glianalabs.com
GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: gemini-3.1-flash-tts (Text-to-Speech). https://ai.glianalabs.com