Price adapter to query the price of an asset in USD. Only USD is supported by CoinCodex as a quote currency.
Base URL https://coincodex.com/api/coincodex/
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | string | https://coincodex.com/api/coincodex/ |
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 | getcoin | getcoin |
getcoin
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 | string |
Request:
{
"id": "1",
"data": {
"base": "ETH"
},
"debug": {
"cacheKey": "6fb77e7265859558a11c0d4e7de704cb1de254c0"
}
}
Response:
{
"jobRunID": "1",
"data": {
"result": 4533.8640179546355
},
"result": 4533.8640179546355,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License