What it does
The Tiingo API gives daily prices with decades of history for US and Chinese stocks, ETFs and mutual funds, for example to backtest an idea. Requests are GET calls with a token header, and the answers are JSON. Free with a free API key for 50 requests an hour, 1,000 a day and 500 symbols a month, for personal use only.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free API key for 50 requests an hour, 1,000 a day and 500 symbols a month, for personal use only.
- Commercial use
- Not on the free plan
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- tiingo.com
More information: https://www.tiingo.com/documentation/general
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.tiingo.com/tiingo/daily/aapl' \
-H 'Authorization: Token YOUR_API_KEY'
JavaScript
const response = await fetch("https://api.tiingo.com/tiingo/daily/aapl", {
headers: {
"Authorization": "Token YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.tiingo.com/tiingo/daily/aapl",
headers={
"Authorization": "Token YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.