---
title: "Returns list of pools from which user may migrate tokens"
method: GET
path: "/v1/liquidity/migration/{user_address}"
tags: ["LiquidityProvisioning"]
---

# Returns list of pools from which user may migrate tokens

`GET /v1/liquidity/migration/{user_address}`

## Request

- Base URL: `https://backend.swap.coffee`
- URL: `https://backend.swap.coffee/v1/liquidity/migration/{user_address}`
- Auth: one of:
  - none
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/swap/apis/swap-coffee-api/docs/v1/liquidity/migration/:user_address/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `user_address` string, required

## Response `200`

List of pools from which user may migrate tokens

- ApiLpMigrationUserPoolInfo[]
  - `pool` ApiPool, required
    - `dex` string, required
    - `address` string, required
    - `type` 'public' | 'private' | 'slumbering' | 'invalid', required
    - `amm_type` 'constant_product' | 'cubic_stable' | 'curve_fi_stable' | 'concentrated_v3' | 'tonstakers' | 'weighted_constant_product' | 'weighted_stable' | 'bidask' | 'moon_dlmm' | 'bidask_damm' | 'dedust_v2', required
    - `amm_settings` ApiJson
    - `tokens` ApiToken[], required
      - `address` ApiTokenAddress, required
        - `blockchain` string, required
        - `address` string, required
      - `metadata` ApiTokenMetadata, required
        - `name` string, required
        - `symbol` string, required
        - `decimals` integer, required
        - `image_url` string
        - `listed` boolean, required
        - `verification` 'whitelisted' | 'blacklisted' | 'community' | 'unknown', required
    - `reserves` number[], required
    - `restrictions` ApiTokenRestrictions[]
      - `min_swap_amount` number, double
      - `max_swap_amount` number, double
    - `fees` ApiPoolFees, required
      - `average_gas` number, double, required
      - `divider` integer
      - `input` integer
      - `output` integer
      - `first_token` integer
      - `second_token` integer
    - `unavailable_until` integer: UTC unix timestamp in seconds
  - `total_lp_amount` string, required: Absolute value
  - `user_lp_amount` string, required: Absolute value

## Other responses

- `default`: Some error during request processing

---

[API](https://skmtc.dev/swap/apis/swap-coffee-api.md) - [All operations](https://skmtc.dev/swap/apis/swap-coffee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/swap/apis/swap-coffee-api/revisions/88f42fef59b7?raw)
