Api Endpoint

402rpc

On-chain spot price of ETH or BTC in USDC from the deepest Uniswap v3 pools on Ethereum mainnet, read from a full node at the latest block (no third-party price feed). Pairs: ETH-USDC, BTC-USDC. Use it as an independent, verifiable price reference; it reflects the pool price, not an exchange average.

Open interactive test console

Offering

Provider
402rpc.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://402rpc.com/v1/eth/price
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Ethereum, Price, uniswap, DeFi, oracle

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
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x295AA6c5a3460A0f8755823C8eE7bBC7CAf79fb1"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x295AA6c5a3460A0f8755823C8eE7bBC7CAf79fb1"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x295AA6c5a3460A0f8755823C8eE7bBC7CAf79fb1"
  }
]

Observed health

Status
Healthy
Latest latency
222 ms
Average latency
1229 ms
HTTP status
402
Last checked
Reachability
92.9% 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": {
        "pair": {
          "type": "string",
          "enum": [
            "ETH-USDC",
            "BTC-USDC"
          ],
          "description": "ETH-USDC or BTC-USDC."
        }
      },
      "required": [
        "pair"
      ]
    }
  },
  "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": {
            "pair": {
              "description": "ETH-USDC or BTC-USDC.",
              "enum": [
                "ETH-USDC",
                "BTC-USDC"
              ],
              "type": "string"
            }
          },
          "required": [
            "pair"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}