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

# Price

`GET /xrp/amm-data/price`

This endpoint returns XRP exchange rate 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`

XRP exchange rate 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.
      - `price_xrp` number, required — XRP exchange rate
      - `price_usd` number, required — USD exchange rate

---

[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)
