Term Series
get /reddit/term-series
Per-date time series for a single n-gram term.
Returns counts and rank for each date. Entity is optional — when omitted, queries across all entities.
Query Parameters
type
string requiredThe n-gram term to look up. Case-sensitive.
entity
Entity ID (optional). When omitted, no entity filtering is applied.
date
End date (YYYY-MM-DD). Defaults to latest available.
window
integer Number of days to look back from date. 0 = full history.
granularity
string Hive granularity: daily | weekly | monthly
n
integer N-gram size (1 = unigrams, 2 = bigrams)
Response
type
stringThe n-gram term that was looked up (echoed back).
latest_available_date
stringMost recent date with data for this entity.
series
arrayTime series entries, one per date, sorted chronologically.
curl -X GET http://localhost:8000/reddit/term-series \