Api Endpoint

Price Impact

A quote shows today's price; it does NOT tell you a $5k buy into a $20k pool pays ~20% more. This takes the token's deepest Base pool, treats it as constant-product (Uniswap-V2 / Aerodrome volatile) and computes the exact x*y=k price impact for your USD size. Conservative — concentrated-liquidity pools usually do better. Also returns the largest size under 1% and 3% impact. Pass address= and size= (USD). An estimate; confirm with swap-route. Not financial advice.

Open interactive test console

Offering

Provider
402.com.tr
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://402.com.tr/api/x402/price-impact
MIME type
application/json
First seen
2026-10-19T02:33:22.426Z
Last seen
Tags
price-impact, slippage, liquidity-depth, trade-sizing, pre-trade, DEX, market-impact, Onchain, EVM, wallet-intel, Security, Base, X402

Payment pricing

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

Payment option 1
0.03 USDC
Atomic price: 30000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.03 USDC
Atomic price: 30000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "30000",
    "payTo": "0x973a31858f4d2125f48c880542da11a2796f12d6"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "30000",
    "payTo": "4au4N67H9KpfqgPC5yEu15Ac6weHJVNnkRQnW7sucgHX"
  }
]

Observed health

Status
Healthy
Latest latency
65 ms
Average latency
367 ms
HTTP status
402
Last checked
Reachability
100% over 18 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "pathParams": {
      "type": "object"
    },
    "queryParams": {
      "properties": {
        "address": {
          "description": "Token contract address",
          "type": "string"
        },
        "side": {
          "description": "buy or sell (default buy)",
          "type": "string"
        },
        "size": {
          "description": "Trade size in USD",
          "type": "string"
        }
      },
      "required": [
        "address",
        "size"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "Token contract address",
              "type": "string"
            },
            "side": {
              "description": "buy or sell (default buy)",
              "type": "string"
            },
            "size": {
              "description": "Trade size in USD",
              "type": "string"
            }
          },
          "required": [
            "address",
            "size"
          ],
          "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"
}