get_topic_trends_attention
Track whether interest in up to five topics is rising or fading using Wikipedia page views, Hacker News counts, and news mentions over time, with daily trends, change rates, and spike days.
Instructions
utilpeek: Use when an agent must tell if interest in a topic is rising or fading: Wikipedia, Hacker News and news over time. For the articles use news_search. Returns daily topic trends for 1 to 5 topics: Wikipedia page views per language, Hacker News counts, news mentions, with 7- and 28-day change, spike days, direction and share. Not Google Trends data. Public attention signals, not Google Trends or search volume. related: related Wikipedia topics ranked by page views; not search queries and not Google Trends data. Uses the top English Wikipedia hit. Complete days to yesterday; news only for the last 14 days. Cached 6 h. Bad input is a 422 and an upstream failure a 503 or 504 (not charged). Typically 3 to 15 s (first call for a topic; cached for 6 hours). Price: USD 0.005. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/topic-trends-attention-api.html
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topics": "<topics>"
},
"name": "get_topic_trends_attention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last day, YYYY-MM-DD (UTC), at most yesterday (later is clamped to it). Default: yesterday. The range is at most 365 days. | |
| start | No | First day, YYYY-MM-DD (UTC). Default: 90 days ending at `end`. | |
| topics | Yes | 1 to 5 topics (words or a name, up to 100 characters each). Each is resolved to the top English Wikipedia search hit, reported as `article.title`. Several topics are compared: each gets its relative share. | |
| related | No | Default false. True (one topic only) adds `related`: up to 10 `top` and 10 `rising` related Wikipedia topics, ranked by page views; not search queries and not Google Trends data. | |
| languages | No | Wikipedia language codes, at most 6 (en, de, ja ...). Default: en plus the four most-read languages that have the article. A language without the article is listed under `languages_skipped`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| days | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| label | No | ||
| start | No | ||
| method | No | ||
| topics | No | ||
| caveats | No | ||
| related | No | ||
| warnings | No | ||
| comparison | No | ||
| attribution | No | ||
| not_google_trends | No | ||
| end_clamped_to_yesterday | No |