Term Series Batch
get /reddit/term-series/batch
Batch time series lookup for multiple terms in a single request.
Returns a map of term -> time series. Ideal for fetching sparklines for all terms in an RTD wordshift comparison at once.
Entity is optional — when omitted, queries across all entities.
Query Parameters
types
string requiredComma-separated n-gram terms, e.g. 'trump,covid,the'. 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)
curl -X GET http://localhost:8000/reddit/term-series/batch \