XRP AMM Data
This namespace contains endpoints to retrieve metrics related to XRP AMM Data.
Supported AMM Pairs
MAG/XRP
rNZ2ZVF1ZU34kFQvcN4xkFAvdSvve5bXce
mag-xrp
Validated
XGO/XRP
rLeAEvRQ5RnN6LJnZ29Xw4pboWfKqYut3c
xgo-xrp
Validated
SOLO/XRP
rMEJo9H5XvTe17UoAJzj8jtKVvTRcxwngo
solo-xrp
Validated
USDC/XRP
rGHt6LT5v9DVaEAmFzj5ciuxuj41ZjLofs
usdc-xrp
Validated
BTC/XRP
rQBeAghWHEwWvKShryBSa5yR3VRX9oyQ5T
btc-xrp
Validated
USD/XRP
rHUpaqUPbwzKZdzQ8ZQCme18FrgW9pB4am
usd-xrp
Validated
XPM/XRP
rakZprdzwsUJ1rD2ouhYYAVP7tPbhrCbtz
xpm-xrp
Validated
CSC/XRP
rf7g4JWCxu9oE1MKsWTihL9whY75AphCaV
csc-xrp
Validated
RLT/XRP
rwzCasMZW2WisfohuMCVWdDD58HK9QtDyC
rlt-xrp
Validated
CORE/XRP
rBu4LXTxM9cfs3JsFCuDbPMzvGBDR66wpi
core-xrp
Validated
This endpoint returns XRP exchange rate on AMM. Currently, we only cover non-XRP/XRP pairs.
For each API request, include this HTTP header:
Authorization with the Bearer {access_token}. Bearer access token is the type of HTTP Authorization. You have to include access token to the HTTP header and note that leading bearer is required.
You must include your access token in HTTP header in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please upgrade your plan to Professional or Premium plan. You'll be able to see your access token on the API tab of your profile page after the subscription.
Currently, we support day and hour.
dayExample: dayThis defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
20191001T100000This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
20191001T103025The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.
100Example: 100A format type about return message type. Supported formats are json, csv.
jsonExample: jsonXRP exchange rate on AMM
curl "https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2"XRP exchange rate on AMM
{
"status": {
"code": 200,
"message": "success"
},
"result": {
"window": "day",
"data": [
{
"date": "2024-06-02",
"price_xrp": null,
"price_usd": null
},
{
"date": "2024-06-01",
"price_xrp": null,
"price_usd": null
}
]
}
}This endpoint returns the total amount of liquidity on AMM. Currently, we only cover non-XRP/XRP pairs.
For each API request, include this HTTP header:
Authorization with the Bearer {access_token}. Bearer access token is the type of HTTP Authorization. You have to include access token to the HTTP header and note that leading bearer is required.
You must include your access token in HTTP header in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please upgrade your plan to Professional or Premium plan. You'll be able to see your access token on the API tab of your profile page after the subscription.
Currently, we support day and hour.
dayExample: dayThis defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
20191001T100000This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
20191001T103025The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.
100Example: 100A format type about return message type. Supported formats are json, csv.
jsonExample: jsonThe total amount of liquidity on AMM
curl "https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2"The total amount of liquidity on AMM
{
"status": {
"code": 200,
"message": "success"
},
"result": {
"window": "day",
"data": [
{
"date": "2024-06-02",
"liquidity_xrp": null,
"liquidity_usd": null
},
{
"date": "2024-06-01",
"liquidity_xrp": null,
"liquidity_usd": null
}
]
}
}This endpoint returns the trading fee on AMM. Currently, we only cover non-XRP/XRP pairs.
For each API request, include this HTTP header:
Authorization with the Bearer {access_token}. Bearer access token is the type of HTTP Authorization. You have to include access token to the HTTP header and note that leading bearer is required.
You must include your access token in HTTP header in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please upgrade your plan to Professional or Premium plan. You'll be able to see your access token on the API tab of your profile page after the subscription.
Currently, we support day and hour.
dayExample: dayThis defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
20191001T100000This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
20191001T103025The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.
100Example: 100A format type about return message type. Supported formats are json, csv.
jsonExample: jsonThe trading fee on AMM
curl "https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2"The trading fee on AMM
{
"status": {
"code": 200,
"message": "success"
},
"result": {
"window": "day",
"data": [
{
"date": "2024-06-02",
"fee_percent": null
},
{
"date": "2024-06-01",
"fee_percent": null
}
]
}
}This endpoint returns the swap statistics on AMM. Currently, we only cover non-XRP/XRP pairs.
For each API request, include this HTTP header:
Authorization with the Bearer {access_token}. Bearer access token is the type of HTTP Authorization. You have to include access token to the HTTP header and note that leading bearer is required.
You must include your access token in HTTP header in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please upgrade your plan to Professional or Premium plan. You'll be able to see your access token on the API tab of your profile page after the subscription.
Currently, we support day and hour.
dayExample: dayThis defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
20191001T100000This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
20191001T103025The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.
100Example: 100A format type about return message type. Supported formats are json, csv.
jsonExample: jsonThe swap statistics on AMM
curl "https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2"The swap statistics on AMM
{
"status": {
"code": 200,
"message": "success"
},
"result": {
"window": "day",
"data": [
{
"date": "2024-06-02",
"num_swaps": null,
"num_traders": null
},
{
"date": "2024-06-01",
"num_swaps": null,
"num_traders": null
}
]
}
}Last updated
Was this helpful?