Base URL https://rp.lcx.com/v1/rates/current
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | string |
There are no rate limits for this adapter.
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | price | price |
price
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of the currency to query, one of BTC or ETH |
|||||
✅ | quote | market , to |
The symbol of the currency to convert to, one of USD or EUR |
Request:
{
"id": "1",
"data": {
"base": "BTC",
"quote": "USD",
"endpoint": "price"
},
"debug": {
"cacheKey": "FJwi4xGjPziT9t6opKzk/NGGQms="
}
}
Response:
{
"jobRunID": "1",
"data": {
"status": "SUCCESS",
"message": "Reference Price for BTC",
"data": {
"Price": 58620.71
},
"result": 58620.71
},
"result": 58620.71,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License