Chainlink External Adapter for Twelvedata
Required?
Name
Description
Options
Defaults to
✅
API_KEY
API key for Twelvedata
API_ENDPOINT
The endpoint for your Twelvedata
https://api.twelvedata.com/
Required?
Name
Description
Options
Defaults to
endpoint
The endpoint to use
closing , price
closing
This closing
endpoint provides the closing price of the previous day as detailed in Twelvedata documentation .
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
, market
The symbol of the currency to query
{
"id" : " 1" ,
"data" : {
"base" : " VXX"
}
}
{
"jobRunID" : " 1" ,
"result" : 9.975 ,
"statusCode" : 200 ,
"data" : {
"symbol" : " VXX" ,
"exchange" : " CBOE" ,
"currency" : " USD" ,
"datetime" : " 2021-04-14" ,
"close" : " 9.97500" ,
"result" : 9.975
}
}
This price
endpoint provides the real-time price as detailed in Twelvedata documentation .
Required?
Name
Description
Options
Defaults to
✅
base
, from
, coin
, market
The symbol of the currency to query
{
"id" : " 1" ,
"data" : {
"base" : " VXX" ,
"endpoint" : " price"
}
}
{
"jobRunID" : " 1" ,
"result" : 10.0756 ,
"statusCode" : 200 ,
"data" : {
"price" : " 10.07560" ,
"result" : 10.0756
}
}