GET /history_timeline
Historical timeline data for a ticker (pre-2024 data).
Authentication
Use the apiKey (or apikey) query parameter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| apiKey | string | yes | API key query parameter (case-insensitive). |
| symbol | string | yes | Stock ticker symbol. |
Behavior Notes
- Returns daily and monthly time series.
reddit_sentimentis scaled to an integer (value * 100).
Example
curl "https://api.altindex.com/history_timeline?apiKey=YOUR_API_KEY&symbol=TSLA"Response Shape
{
"status": 200,
"id": "1",
"name": "Tesla",
"ticker": "TSLA",
"data": {
"daily": [
{
"date": "2024-05-15",
"reddit_mentions": 10,
"reddit_sentiment": 62
}
],
"monthly": [
{
"date": "2024-05-15",
"webtraffic": 20000000
}
]
}
}