---
title: "Get Bridge Swap Price"
method: GET
path: "/defi/v1/bridge/price"
tags: ["bridge"]
---

# Get Bridge Swap Price

`GET /defi/v1/bridge/price`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/bridge/price`
- Auth: API key in header `X-API-Key`

This endpoint provides a real‑time swap quotation for transferring tokens between two blockchain networks using a designated bridge. It calculates the estimated amount of destination tokens that you would receive based on a given input token amount and token pair, factoring in the current liquidity and fees across the specified source and destination chains.

> 💡 
**Compute Unit Value:** `40` (Fixed)

## Query parameters

- `srcChainId` string: The unique chain ID to specify the source chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
- `bridgeId` '600' | '300' | '400' | '500' | '100': The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-bridges-protocols).
- `dstChainId` string, required: The unique chain ID to specify the destination chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
- `srcTokenSymbol` string: Symbol of the source token.
- `dstTokenSymbol` string: Symbol of the destination token.
- `srcTokenAddress` string: Contract address of the source (input) token on the source chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either srcTokenAddress or srcTokenSymbol must be provided.
- `dstTokenAddress` string: Contract address of the destination (output) token on the destination chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either dstTokenAddress or dstTokenSymbol must be provided.
- `amountIn` string, required: Amount of the input token to provide, specified in the token's smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".
- `vsCurrencies` string: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.

## Response `200`

Successful response

- object
  - `status` number: Numeric status code indicating success or failure of the API call
  - `msg` string: Human-readable message describing the API result or error
  - `data` object
    - `srcChainId` string: Source blockchain network ID
    - `dstChainId` string: Destination blockchain network ID
    - `srcTokenSymbol` string: Symbol of the source token
    - `dstTokenSymbol` string: Symbol of the destination token
    - `amountIn` string: Amount of input token in a swap
    - `amountsOut` string[]: Expected output amounts from swaps or conversions
    - `priceImpact` object: Price impact details for the swap
      - `percentage` string: Price impact as a percentage (negative indicates unfavorable slippage)
      - `value` string: Price impact value in USD

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
