API v1 (Legacy)
Reference
GET /4chan_mentions

GET /4chan_mentions

4chan posts and sentiment by search term.

Authentication

Use the apiKey (or apikey) query parameter.

Parameters

NameTypeRequiredDescription
apiKeystringyesAPI key query parameter (case-insensitive).
searchstringyesSearch string (pipe-separated supported).
datestringyesDate to search (YYYY-MM-DD).

Behavior Notes

  • search and date are 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"
    }
  ]
}