{"uid":"cap_-Hy5KY6c2hljSZmTML9M7","slug":"attention-pageviews-9e375456","name":"attention-pageviews","description":"Wikipedia-readership attention index for a word/entity: resolves the word to an article (disambiguated by real traffic), then returns a 0-100 index, WoW/MoM deltas, a trend and datestamped spikes from daily pageviews. One pageviews call (+ resolution). A curiosity/readership index — not Google Trends.","url":"https://api.agentstools.dev/attention/pageviews","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["keyword"],"properties":{"window":{"type":"integer","maximum":365,"minimum":14,"description":"Lookback in days (default 90)."},"article":{"type":"string","description":"Explicit Wikipedia article title to skip word->article resolution."},"keyword":{"type":"string","description":"Word/entity to measure: ticker, company, product, person or topic (e.g. Bitcoin, Nvidia, iPhone, Taylor Swift)."},"project":{"enum":["en","es","fr","de","ru","ja","zh","pt","it","ar","ko","hi"],"type":"string","description":"Wikipedia language (default en)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gn8NYmzOk14fkkOwZJxGH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 0-100 Wikipedia readership attention index for a keyword or entity, including week-over-week and month-over-month deltas, trend direction, and datestamped traffic spikes.","exampleAgentPrompt":"What's the Wikipedia attention index for Nvidia right now — give me the 0-100 score, the week-over-week and month-over-month deltas, and flag any recent traffic spikes over the last 90 days.","exampleUseCases":[{"title":"Crypto curiosity spike detection","prompt":"Is there a recent spike in Wikipedia readership for Bitcoin? Give me the attention index, the WoW and MoM deltas, and highlight any datestamped spikes in the last 60 days."},{"title":"Celebrity buzz tracking for PR team","prompt":"How much public curiosity is Taylor Swift getting on English Wikipedia right now? I want the 0-100 attention score and the trend direction for the past 90 days."},{"title":"Macro topic interest for investment research","prompt":"I'm researching public interest in 'artificial intelligence' — can you pull the Wikipedia readership attention index for it with week-over-week and month-over-month changes over the last 180 days?"}],"resultDescription":"Returns a structured JSON payload containing: a 0-100 attention index for the resolved Wikipedia article, week-over-week (WoW) and month-over-month (MoM) deltas, a trend label (e.g. rising/falling/stable), and a list of datestamped pageview spikes. Also includes the resolved Wikipedia article title used for the computation.","failureModes":["Keyword cannot be resolved to any Wikipedia article — returns resolution failure or null article","Ambiguous keyword resolves to wrong article despite traffic-based disambiguation","Requested article title not found in the specified language project","Lookback window outside allowed range (14–365 days) returns validation error","Wikipedia Pageviews API rate limit or availability issue causes upstream timeout"],"whenToPreferThis":"Choose this endpoint when you need a normalized, indexed measure of public curiosity or readership interest for a named entity, person, company, product, or topic — specifically sourced from Wikipedia traffic rather than search volume. Prefer it over Google Trends-style endpoints when you want a curiosity/readership signal (not search intent), need datestamped spike detection, or want WoW/MoM deltas on a 0-100 normalized scale. Ideal for PR monitoring, investment research interest signals, trend detection, and entity-level attention scoring across multiple languages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:39:58.669Z","isFirstParty":false}