Wikipedia pageviews trend for any topic
attention-trends.shopttyass-85f.workers.dev/trend
Wikipedia pageviews trend for any topic: interest over time as a measure of topic popularity and public attention. Free text (brand, person, product, event) is resolved to the matching Wikipedia article. Returns daily views normalized 0-100, 7-day and window % change, direction (rising, falling, stable, spiking), peak day and spike detection. Similar in purpose to Google Trends search interest, bu
GET
https://attention-trends.shopttyass-85f.workers.dev/trendUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://attention-trends.shopttyass-85f.workers.dev/trend?days=30&lang=en&topic=bitcoin");
console.log(await res.json());Example input
{
"days": 30,
"lang": "en",
"topic": "bitcoin"
}