{
  "x402Version": 2,
  "id": 8004,
  "slug": "8004",
  "resource": "https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage",
  "description": "GeckoTerminal-backed DEX pool liquidity and estimated trade slippage - size a trade or compare pools before swapping, with a clearly-flagged constant-product approximation model.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2bcfA4F7E1fA5E96934846A7dEa623398Ed7f752",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "network": "base",
            "token_address": "0x4200000000000000000000000000000000000006",
            "trade_size_usd": 10000
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data_source": "geckoterminal",
            "estimated_slippage_pct": 0.08,
            "generated_at": {
              "kst": "2026-09-04 21:00:00 KST",
              "utc": "2026-09-04T12:00:00Z"
            },
            "liquidity_usd": 25000000,
            "network": "base",
            "notice": "슬리피지는 GeckoTerminal이 제공하는 풀의 합산 USD 유동성만으로 계산한 근사치입니다 - 이 풀이 표준 constant-product(x*y=k) AMM이고 두 토큰이 50:50 비율로 구성되어 있다고 가정합니다. Uniswap v3류 집중 유동성 풀이나 스테이블스왑 풀에서는 실제 슬리피지와 차이가 클 수 있습니다 - 실제 매매 전 온체인 견적(quote)으로 반드시 재확인하세요.",
            "pool_address": "0xd0b53d9277642d899df5c87a3966a349a798f224",
            "pool_name": "WETH / USDC 0.05%",
            "price_impact_model": "constant_product_50_50_approximation",
            "token_address": null,
            "trade_size_usd": 10000,
            "volume_24h_usd": 8500000
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "network": {
                    "description": "GeckoTerminal network id, e.g. base, eth. Defaults to base.",
                    "type": "string"
                  },
                  "pool_address": {
                    "description": "Specific DEX pool contract address (optional if token_address is given).",
                    "type": "string"
                  },
                  "token_address": {
                    "description": "Token contract address - the most liquid pool is auto-selected (optional if pool_address is given).",
                    "type": "string"
                  },
                  "trade_size_usd": {
                    "description": "Hypothetical trade size in USD to estimate slippage for.",
                    "type": "number"
                  }
                },
                "required": [
                  "trade_size_usd"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data_source": {
                    "title": "Data Source",
                    "type": "string"
                  },
                  "estimated_slippage_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Estimated Slippage Pct"
                  },
                  "generated_at": {
                    "properties": {
                      "kst": {
                        "title": "Kst",
                        "type": "string"
                      },
                      "utc": {
                        "title": "Utc",
                        "type": "string"
                      }
                    },
                    "required": [
                      "utc",
                      "kst"
                    ],
                    "title": "TimestampPair",
                    "type": "object"
                  },
                  "liquidity_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Liquidity Usd"
                  },
                  "network": {
                    "title": "Network",
                    "type": "string"
                  },
                  "notice": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Notice"
                  },
                  "pool_address": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Pool Address"
                  },
                  "pool_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Pool Name"
                  },
                  "price_impact_model": {
                    "title": "Price Impact Model",
                    "type": "string"
                  },
                  "token_address": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Token Address"
                  },
                  "trade_size_usd": {
                    "title": "Trade Size Usd",
                    "type": "number"
                  },
                  "volume_24h_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Volume 24H Usd"
                  }
                },
                "required": [
                  "generated_at",
                  "network",
                  "trade_size_usd",
                  "price_impact_model",
                  "data_source"
                ],
                "title": "DexSlippageResponse",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "alphapipeline-eu.onrender.com",
  "lastUpdated": "2026-09-03T12:51:01.509Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-03T12:51:29.485Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "alphapipeline-eu.onrender.com",
    "manifest_name": "alphapipeline-eu.onrender.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"
  }
}