Mention analytics
GET /api/v1/analytics
Totals, mentions over time with the sentiment split, and the mix by source, category, keyword and group, plus the weekday × hour heatmap and top supporters and critics – one call.
Any API key or OAuth token, or a signed-in member.
Parameters
| Name | Type | Description |
|---|---|---|
projectquery |
string | Project id. |
sourcesquery |
array of string | Sources to search. Omit for every source available. One of: reddit linkedin x hn instagram github stackoverflow devto bluesky news youtube tiktok threads |
groupsquery |
array of integer | Keyword group ids. |
keywordsquery |
array of integer | Keyword ids. |
categoriesquery |
array of integer | Category ids. |
sentimentquery |
array of string | Sentiment. One of: positive negative neutral |
sincequery |
string | ISO date/time or epoch ms. |
untilquery |
string | ISO date/time or epoch ms. |
includequery |
string | relevant (default): real mentions. irrelevant: filtered out as namesakes or noise. One of: relevant irrelevant all |
Example
curl "https://sniffington.com/api/v1/analytics" \
-H "Authorization: Bearer $SCOUT_API_KEY"