# Gas Price Lookup by Chain

> Gas Price Lookup by Chain is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).

Returns current gas price and priority fee in Gwei for a specified blockchain network (Solana, Ethereum, Base, Polygon, or Arbitrum).

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/data/gas-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-price-lookup-by-chain-87323dc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MScl6zQgfwokun1dHrUiO

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 gas-price-lookup-by-chain-87323dc9
```

Example prompt: What's the current gas price on Base right now, including the priority fee?

## When to prefer this

Use this endpoint when an agent needs real-time, on-chain gas price data for a specific supported network (Solana, Ethereum, Base, Polygon, Arbitrum) prior to executing a transaction, swap, or DeFi operation. It is well-suited for cost estimation, chain selection, or gas monitoring workflows. Prefer this over manual RPC calls when you want a simple pay-per-call REST interface without managing node connections.

## Known failure modes

- Missing or invalid 'chain' query parameter returns an error — must be one of: solana, ethereum, base, polygon, arbitrum
- Network or RPC unavailability for the requested chain may cause a timeout or empty response
- Payment failure over x402 (insufficient USDC balance) blocks access to the endpoint

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

A JSON object containing the queried chain name, the base gas price in Gwei, and the priority fee (miner tip) in Gwei. Example: {chain: 'base', gasPriceGwei: 0.006, priorityFeeGwei: 0.001}.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "enum": [
        "solana",
        "ethereum",
        "base",
        "polygon",
        "arbitrum"
       ],
       "type": "string",
       "description": "One of solana, ethereum, base, polygon, arbitrum"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "gasPriceGwei": 0.006,
  "priorityFeeGwei": 0.001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-price-lookup-by-chain-87323dc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
