{
  "x402Version": 2,
  "id": 6011,
  "slug": "6011",
  "resource": "https://api2ls.com/api/gas",
  "description": "Get live EVM gas pricing with EIP-1559 breakdown and USD cost estimates",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x692DcE6b2876854FA9d348BFBfd9C1c4DE6C07DD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "AifT6piHJ957oqgeRVLAiAmvm3dJ3rLnD2EVck6Msf7k",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "base"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "asOf": "2026-06-17T09:30:00.000Z",
            "baseFeeGwei": 1.2,
            "chain": "base",
            "costEstimates": {
              "transfer": {
                "gasUnits": 21000,
                "nativeAmount": "0.0000315",
                "usd": 0.1103
              }
            },
            "gasPriceGwei": 1.5,
            "maxFeeGwei": 2.7,
            "nativeToken": "ETH",
            "nativeUsd": 3500,
            "priorityFeeGwei": 0.3,
            "success": true
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api2ls.com",
  "lastUpdated": "2026-09-17T03:26:07.261Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-09-17T03:26:06.41Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api2ls.com",
    "manifest_name": "api2ls.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}