---
title: "Get information about available services, chains and tokens"
method: POST
path: "/v1/advanced/possibilities"
tags: ["advanced"]
deprecated: true
---

# Get information about available services, chains and tokens

`POST /v1/advanced/possibilities`

## Request

- Base URL: `https://li.quest`
- URL: `https://li.quest/v1/advanced/possibilities`
- Auth: none declared
- TypeScript: <https://skmtc.dev/lifi/apis/li-fi-api/docs/v1/advanced/possibilities/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Get a set of current possibilities based on a request that specifies which chains, exchanges and bridges are preferred or unwanted.
**Attention**: This request is more complex and intended to be used via our [JavaScript SDK](https://docs.li.fi/integrate-li.fi-js-sdk/install-li.fi-sdk).

## Headers

- `x-lifi-api-key` string

## Request body

- PossibilitiesRequest: Object defining preferences regarding chain, exchanges and bridges
  - `chains` number[]: The ids of the chains that should be taken into consideration for the possibilities
  - `bridges` AllowDenyPrefer: Object defining which tools should be allowed, denied and preferred
    - `allow` string[]: Allowed tools
    - `deny` string[]: Forbidden tools
    - `prefer` string[]: Preferred tools
  - `exchanges` AllowDenyPrefer: Object defining which tools should be allowed, denied and preferred
    - `allow` string[]: Allowed tools
    - `deny` string[]: Forbidden tools
    - `prefer` string[]: Preferred tools
  - `include` PossibilitiesTopicEnum[]: To reduce the size of the returned possibilities, you can select which kind of information you like to see. Possible values are `chains`, `tokens`, `bridges`, and `exchanges`.

## Response `200`

Object listing current possibilities for any-to-any cross-chain-swaps based on the provided preferences.

- PossibilitiesResponse: Object listing current possibilities for any-to-any cross-chain-swaps based on the provided preferences
  - `chains` Chain[], required: Possible chains that can be sent from or to
    - `key` string, required: Short string represenation of the chain
    - `chainType` string: Type of the chain
    - `name` string, required: Name of the chain
    - `coin` string, required: The native coin of the chain
    - `id` number, required: Unique id of the chain
    - `mainnet` boolean, required: Whether the chain is mainnet or not
    - `logoURI` string: Logo of the chain
    - `tokenlistUrl` string: Url to the list of available tokens
    - `faucetUrls` string[]: List of available faucets
    - `multicallAddress` string: The multicall contract address
    - `metamask` object: Information about the chain from metamask. Contains data about RPCs and block explorers
      - `chainId` string
      - `blockExplorerUrls` string[]
      - `chainName` string
      - `nativeCurrency` object
        - `name` string
        - `symbol` string
        - `decimals` number
      - `rpcUrls` string[]
    - `nativeToken` Token: Representation of a Token
      - `address` string, required: Address of the token
      - `decimals` number, required: Number of decimals the token uses
      - `symbol` string, required: Symbol of the token
      - `chainId` number, required: Id of the token's chain
      - `coinKey` string: Identifier for the token
      - `name` string, required: Name of the token
      - `logoURI` string: Logo of the token
      - `priceUSD` string: Token price in USD
  - `tokens` Token[], required: Possible `Tokens` that can be transferred
    - `address` string, required: Address of the token
    - `decimals` number, required: Number of decimals the token uses
    - `symbol` string, required: Symbol of the token
    - `chainId` number, required: Id of the token's chain
    - `coinKey` string: Identifier for the token
    - `name` string, required: Name of the token
    - `logoURI` string: Logo of the token
    - `priceUSD` string: Token price in USD
  - `exchanges` ExchangeDefinition[], required: Possible exchanges that can be used for transfers
    - `tool` '1inch' | 'paraswap' | 'openocean' | '0x', required: The exchange tool
    - `chains` number[], required: The available chains for this tool
  - `bridges` BridgeDefinition[], required: Possible bridges that can be used for transfers
    - `tool` string, required: Identifier for a bridge tool. Retrieve the latest bridge keys from the `/v1/tools` endpoint. Keywords such as `all`, `none`, `default`, and `[]` are also supported where applicable.
    - `fromChainId` number, required: From which chain transfers can happen
    - `fromToken` Token, required: Representation of a Token
      - `address` string, required: Address of the token
      - `decimals` number, required: Number of decimals the token uses
      - `symbol` string, required: Symbol of the token
      - `chainId` number, required: Id of the token's chain
      - `coinKey` string: Identifier for the token
      - `name` string, required: Name of the token
      - `logoURI` string: Logo of the token
      - `priceUSD` string: Token price in USD
    - `toChainId` number, required: To which chain transfers can happen
    - `toToken` Token, required: Representation of a Token
      - `address` string, required: Address of the token
      - `decimals` number, required: Number of decimals the token uses
      - `symbol` string, required: Symbol of the token
      - `chainId` number, required: Id of the token's chain
      - `coinKey` string: Identifier for the token
      - `name` string, required: Name of the token
      - `logoURI` string: Logo of the token
      - `priceUSD` string: Token price in USD
    - `maximumTransfer` string, required: The maximum amount that can be sent in one transfer
    - `minimumTransfer` string, required: The minimum amount that can be sent in one transfer
    - `swapFeeRate` string, required: The rate taken for swap fees
    - `swapFeeMinimum` string, required: The minimum swap fees that will be taken
    - `swapFeeMaximum` string, required: The maximum swap fees that might occur

---

[API](https://skmtc.dev/lifi/apis/li-fi-api.md) - [All operations](https://skmtc.dev/lifi/apis/li-fi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lifi/apis/li-fi-api/revisions/82e72a7fa5e0?raw)
