---
title: "Liquidity"
method: GET
path: "/xrp/amm-data/liquidity"
tags: ["XRP AMM Data"]
---

# Liquidity

`GET /xrp/amm-data/liquidity`

This endpoint returns the total amount of liquidity on AMM. Currently, we only cover non-XRP/XRP pairs.

## Query parameters

- `amm` string, required
- `window` string
- `from` string
- `to` string
- `limit` integer
- `format` string

## Response `200`

The total amount of liquidity on AMM

- object
  - `status` object, required — The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
    - `code` integer, required — HTTP status code
    - `message` string, required — Text description of the error or success.
  - `result` object, required
    - `window` string, required — The size of window. It can be day or hour, and it depends on the user request.
    - `data` object[], required
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `liquidity_xrp` number, required — Total amount of liquidity in XRP
      - `liquidity_usd` number, required — Total amount of liquidity in USD

---

[API](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api.md) · [All operations](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptoquant/cryptoquant-data-api/versions/81ee223d4908/schema)
