Api Endpoint

api2ls.com

Get live EVM gas pricing with EIP-1559 breakdown and USD cost estimates

Open interactive test console

Offering

Provider
api2ls.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api2ls.com/api/gas
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x692DcE6b2876854FA9d348BFBfd9C1c4DE6C07DD"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "AifT6piHJ957oqgeRVLAiAmvm3dJ3rLnD2EVck6Msf7k"
  }
]

Observed health

Status
Healthy
Latest latency
402 ms
Average latency
1073 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "EVM network: base (default), ethereum, optimism, arbitrum, or polygon"
        },
        "chains": {
          "type": "string",
          "description": "Comma-separated list of chains (max 5) to compare in one call"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "chain": {
              "description": "EVM network: base (default), ethereum, optimism, arbitrum, or polygon",
              "type": "string"
            },
            "chains": {
              "description": "Comma-separated list of chains (max 5) to compare in one call",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "asOf": {
              "type": "string"
            },
            "baseFeeGwei": {
              "type": "number"
            },
            "chain": {
              "type": "string"
            },
            "costEstimates": {
              "type": "object"
            },
            "gasPriceGwei": {
              "type": "number"
            },
            "maxFeeGwei": {
              "type": "number"
            },
            "nativeToken": {
              "type": "string"
            },
            "nativeUsd": {
              "type": "number"
            },
            "priorityFeeGwei": {
              "type": "number"
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "chain",
            "gasPriceGwei"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}