Api Endpoint

Gas estimate

Gas estimate before you send, on Ethereum, Base, Arc or BNB Chain: pass ?to=&from=&data=&value= and get the gas units, the gas price and the fee in the native coin, or the revert reason if the transaction would fail. Nothing is signed or sent.

Open interactive test console

Offering

Provider
apexfaucet.xyz
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://apexfaucet.xyz/api/x402/evm-gas-estimate
MIME type
application/json
First seen
2026-10-16T01:54:06.400Z
Last seen
Tags
gas estimate, estimate gas, Gas, Ethereum, Base

Payment pricing

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

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
1000 atomic units
Atomic price: 1000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 3
1000 atomic units
Atomic price: 1000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 6
10000000000000000 atomic units
Atomic price: 10000000000000000 · Network: eip155:56 · Asset: 0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d · Scheme: exact
Payment option 7
10000000000000000 atomic units
Atomic price: 10000000000000000 · Network: eip155:56 · Asset: 0xcE24439F2D9C6a2289F741120FE202248B666666 · Scheme: exact
Payment option 8
0.01 USDC
Atomic price: 10000 · Network: eip155:4663 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xd334ab5151c624cada654854e2879903dc4217ed"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
    "amount": "10000000000000000",
    "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
    "amount": "10000000000000000",
    "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD"
  },
  {
    "scheme": "exact",
    "network": "eip155:4663",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "10000",
    "payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD"
  }
]

Observed health

Status
Healthy
Latest latency
678 ms
Average latency
1985 ms
HTTP status
402
Last checked
Reachability
85.7% 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": {
        "to": {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "description": "Recipient or contract."
        },
        "from": {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "description": "Optional sender."
        },
        "data": {
          "type": "string",
          "description": "Optional hex calldata."
        },
        "value": {
          "type": "string",
          "description": "Optional value in wei."
        },
        "chain": {
          "type": "string",
          "enum": [
            "ethereum",
            "base",
            "arc",
            "bnb"
          ],
          "description": "Chain to read: ethereum, base, arc or bnb. Default ethereum."
        }
      },
      "required": [
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ]
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "description": "Recipient or contract."
            },
            "data": {
              "type": "string",
              "description": "Optional hex calldata."
            },
            "from": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "description": "Optional sender."
            },
            "chain": {
              "enum": [
                "ethereum",
                "base",
                "arc",
                "bnb"
              ],
              "type": "string",
              "description": "Chain to read: ethereum, base, arc or bnb. Default ethereum."
            },
            "value": {
              "type": "string",
              "description": "Optional value in wei."
            }
          }
        }
      }
    },
    "output": {
      "type": "object"
    }
  }
}