---
title: "Check route liquidity"
method: GET
path: "/liquidity"
tags: ["Utilities"]
---

# Check route liquidity

`GET /liquidity`

## Request

- Base URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor`
- URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor/liquidity`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/docs/liquidity/get.ts> (a function with typed inputs; its response is checked against the schema)

Checks whether a route can fulfil the requested amount.

## Query parameters

- `sourceChainId` string, required: Chain ID as CAIP-2, or a bare EVM chain id (legacy)
- `sourceToken` string, required: Source token address
- `destinationChainId` string, required: Chain ID as CAIP-2, or a bare EVM chain id (legacy)
- `destinationToken` string, required: Destination token address
- `amount` string, required: Deposit amount in raw source-token units (integer string)

## Headers

- `x-api-key` string: API key for authentication
- `x-api-version` string: API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

## Response `200`

Liquidity information for the requested route

- LiquidityResponse
  - `hasLiquidity` boolean, required
  - `symbol` string, required
  - `decimals` number, required
  - `unlimited` boolean, required
  - `maxAmount` string, nullable, required

## Other responses

- `400`: Invalid request parameters or unauthorized
- `401`: Authentication required or the presented credential is invalid.
- `403`: The authenticated project is not permitted or is not billable.
- `502`: Invalid liquidity response from orchestrator
- `503`: Tenant billing verification is temporarily unavailable; retry after 5 seconds.

## Changes

- **2026-11-06** `aa1767d704fa`: 6 info
  - the endpoint scheme security `internalProjectBearer` was added to the API
  - the endpoint scheme security `tenantApiKey` was added to the API
  - the `header` request parameter `x-api-key` became optional
  - added the non-success response with the status `401`
  - …2 more
- **2026-09-17** `676300ac19ff`: 2 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `502` status
- **2026-08-12** `b7f6671b74c5`: 2 info
  - for the `query` request parameter `destinationChainId`, the type was generalized from `integer` to `string`
  - for the `query` request parameter `sourceChainId`, the type was generalized from `integer` to `string`
- **2026-07-07** `7514db27036a`: 2 info
  - for the `query` request parameter `destinationChainId`, the exclusiveMinimum was decreased from `true` to `0.00`
  - for the `query` request parameter `sourceChainId`, the exclusiveMinimum was decreased from `true` to `0.00`
- **2026-05-05** `cc4e0452551e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/changes/liquidity/get.md)

---

[API](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api.md) - [All operations](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/revisions/aa1767d704fa?raw)
