# Attention Trends > Pay-per-call topic attention trends for AI agents, from Wikipedia pageviews (Wikimedia data, CC0). A Google-Trends-style signal: is public attention on a topic rising, falling or spiking? Paid in USDC via x402 (eip155:8453 or Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp). No account or API key. ## Endpoints - [GET https://attention-trends.shopttyass-85f.workers.dev/trend?topic=bitcoin&lang=en&days=30](https://attention-trends.shopttyass-85f.workers.dev/trend?topic=bitcoin): $0.005. 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, but it measures Wikipedia reading, not searches. - [GET https://attention-trends.shopttyass-85f.workers.dev/compare?topics=ChatGPT,Claude,Gemini&lang=en&days=30](https://attention-trends.shopttyass-85f.workers.dev/compare?topics=ChatGPT,Claude,Gemini): $0.01. Compare the popularity of 2-5 topics (brands, competitors, products, people, keywords) by Wikipedia pageviews. Returns one jointly normalized 0-100 interest-over-time series per topic, share of attention, the most popular and the fastest-rising topic, and per-topic trend direction and spikes. A Google-Trends-style popularity comparison based on Wikipedia reading rather than searches. Suited to competitor analysis, brand tracking and content planning. - [GET https://attention-trends.shopttyass-85f.workers.dev/top?lang=en&limit=25](https://attention-trends.shopttyass-85f.workers.dev/top?lang=en): $0.005. What is trending right now: the most-read Wikipedia articles for a language and day (default yesterday UTC), with views and rank, cleaned of the Main Page, special and other non-article pages. A daily signal of trending topics, breaking news and current events in 300+ Wikipedia language editions. Suited to trend discovery, news monitoring and content ideas. - [OpenAPI](https://attention-trends.shopttyass-85f.workers.dev/openapi.json) ยท [Health](https://attention-trends.shopttyass-85f.workers.dev/health) (free) ## MCP - Remote MCP server (Streamable HTTP, stateless): https://attention-trends.shopttyass-85f.workers.dev/mcp - Tools: wikipedia_pageviews_trend ($0.005), compare_topic_popularity ($0.01), trending_topics ($0.005). - Paid with the x402 MCP transport: an unpaid call returns the x402 PaymentRequired object (isError + structuredContent); an x402 MCP client (e.g. @x402/mcp) signs and retries with `_meta["x402/payment"]`. Failed calls are not settled. ## Notes - Measures Wikipedia article views (human traffic), not search-engine query volume. - Daily data, ~1 day lag. Window up to 365 days. 300+ Wikipedia languages via `lang`. - Invalid input returns HTTP 400 and is not charged. ## Contact - shopttyass@gmail.com