Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | API_KEY | An API key that can be obtained from here |
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
endpoint | The endpoint to use | eod , iex or stock , top , prices or crypto |
crypto |
https://api.tiingo.com/documentation/end-of-day
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | ticker , base , from , or coin |
The stock ticker to query | ||
field |
The value to return | close |
{
"id": "1",
"data": {
"ticker": "aapl",
"field": "close"
}
}
{
"jobRunID": "1",
"data": {
"result": 130.27
},
"result": 130.27,
"statusCode": 200
}
https://api.tiingo.com/documentation/iex
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | ticker , base , from , or coin |
The stock ticker to query | ||
field |
The value to return | tngoLast |
{
"id": "1",
"data": {
"ticker": "aapl"
}
}
{
"jobRunID": "1",
"result": 130.125,
"statusCode": 200,
"data": {
"result": 130.125
}
}
The top of order book endpoint from:
https://api.tiingo.com/documentation/crypto
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | base , from , or coin |
The cryptocurrency symbol to query | ||
✅ | quote , to , or market |
The output currency to return the price in | ||
field |
The value to return | lastPrice |
{
"id": "1",
"data": {
"base": "btc",
"quote": "usd"
}
}
{
"jobRunID": "1",
"data": {
"result": 130.27
},
"result": 130.27,
"statusCode": 200
}
Crypto prices endpoint from:
https://api.tiingo.com/documentation/crypto
This endpoint does a VWAP of all the exchanges on the current day and across base tokens.
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | base , from , or coin |
The cryptocurrency symbol to query | ||
✅ | quote , to , or market |
The output currency to return the price in | ||
field |
The value to return | lastPrice |
{
"id": "1",
"data": {
"base": "btc",
"quote": "usd"
}
}
{
"jobRunID": "1",
"data": {
"result": 130.27
},
"result": 130.27,
"statusCode": 200
}