# GlianaAI Gas Price Lookup

> GlianaAI Gas Price Lookup is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current blockchain gas prices via a pay-per-call API, payable in USDC with no signup required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/gas-price
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-gas-price-lookup-6eb3bd6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rrx9K7ZfdU_qawUX8uUgF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glianaai-gas-price-lookup-6eb3bd6f
```

Example prompt: What's the current gas price on Ethereum right now? I want to know if it's cheap enough to send a transaction.

## When to prefer this

Choose this endpoint when you need real-time gas price data without account setup, paid on a per-call basis in USDC via the x402 protocol. Ideal for agents that occasionally need gas data without committing to a subscription or maintaining API keys.

## Known failure modes

- Upstream blockchain RPC unavailable — returns error or stale data
- Network not supported — no gas price returned for that chain
- Payment not received or insufficient USDC balance — 402 Payment Required response
- Rate limit exceeded — request throttled

## How this service works

GlianaAI - Pay-per-call AI models, live market data, SEC filings 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

## Output

Returns current gas price data for one or more blockchain networks, including fee estimates (e.g. in gwei or native units), useful for pre-transaction cost estimation and DeFi automation decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/gas-price"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-gas-price-lookup-6eb3bd6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
