Base URL https://api.taapi.io/
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | string |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | indicator | indicator |
indicator
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | indicator | The TA indicator to query | ||||||
✅ | base | coin , from |
The base currency in the market to query | string | ||||
✅ | quote | market , to |
The quote currency in the market to query | string | ||||
✅ | exchange | The exchange to get data from | ||||||
✅ | interval | The time interval to use |
Request:
{
"id": "1",
"data": {
"base": "BTC",
"quote": "USDT",
"exchange": "binance",
"indicator": "avgprice",
"interval": "1h"
},
"debug": {
"cacheKey": "71cd2331edf138075e0eaf02d900d8bea1d8a3d6"
}
}
Response:
{
"jobRunID": "1",
"data": {
"result": 66470.04250000001
},
"result": 66470.04250000001,
"statusCode": 200,
"providerStatusCode": 200
}
Additional Examples
Request:
{
"id": "1",
"data": {
"base": "BTC",
"quote": "USDT",
"exchange": "binance",
"indicator": "cci",
"interval": "1h"
},
"debug": {
"cacheKey": "49fc570d9836f96bec30bd81db27e131181cf97e"
}
}
Response:
{
"jobRunID": "1",
"data": {
"result": -109.20727257685407
},
"result": -109.20727257685407,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License