GET /4chan_mentions
4chan posts and sentiment by search term.
Authentication
Use the apiKey (or apikey) query parameter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| apiKey | string | yes | API key query parameter (case-insensitive). |
| search | string | yes | Search string (pipe-separated supported). |
| date | string | yes | Date to search (YYYY-MM-DD). |
Behavior Notes
searchanddateare required.- Returns an average sentiment score when enough posts are found.
Example
curl "https://api.altindex.com/4chan_mentions?apiKey=YOUR_API_KEY&search=TSLA|Tesla&date=2026-01-27"Response Shape
{
"status": 200,
"search": "TSLA|Tesla",
"sql": "SELECT ...",
"count": 12,
"sentiment": 0.58,
"posts": [
{
"text": "TSLA thread...",
"created": 1706313600,
"id": "123"
}
]
}