{"slug":"attention-trends-shopttyass-85f-workers-dev-trend-750c3b","title":"Interest over time for any topic, from Wikipedia pageviews (a free, official Goo","host":"attention-trends.shopttyass-85f.workers.dev","method":"GET","resource":"https://attention-trends.shopttyass-85f.workers.dev/trend","category":"commerce","description":"Interest over time for any topic, from Wikipedia pageviews (a free, official Google-Trends-like signal). Resolves free text to the right Wikipedia article, returns a daily series normalized 0-100, % change (7d and half-window), trend direction (rising/falling/stable/spiking), peak and robust spike d","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":25,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"days":30,"lang":"en","topic":"bitcoin"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"days":{"default":30,"description":"Window length in days, ending yesterday UTC","maximum":365,"minimum":7,"type":"integer"},"lang":{"default":"en","description":"Wikipedia language code (default en)","type":"string"},"topic":{"description":"Free-text topic, resolved to the best-matching Wikipedia article (e.g. 'bitcoin', 'Taylor Swift', 'AI Act')","type":"string"}},"required":["topic"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"article":{"properties":{"alternatives":{"items":{"type":"object"},"type":"array"},"description":{"type":["string","null"]},"matchedBy":{"enum":["exact","redirect","search"],"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"wikidata":{"type":["string","null"]}},"type":"object"},"lang":{"type":"string"},"note":{"type":"string"},"series":{"items":{"properties":{"date":{"type":"string"},"index":{"description":"0-100, 100 = peak day","type":"integer"},"views":{"type":"integer"}},"type":"object"},"type":"array"},"summary":{"properties":{"avgDaily":{"type":"number"},"change7dPct":{"description":"Last 7 days vs previous 7 days, %","type":["number","null"]},"changeHalfPct":{"description":"Second half of the window vs first half, %","type":["number","null"]},"days":{"type":"integer"},"direction":{"enum":["rising","falling","stable","spiking"],"type":"string"},"last7Avg":{"type":"number"},"medianDaily":{"type":"number"},"peak":{"properties":{"date":{"type":"string"},"views":{"type":"integer"}},"type":"object"},"prev7Avg":{"type":"number"},"slopePctPerWeek":{"description":"Log-linear trend, % per week","type":"number"},"spikes":{"items":{"properties":{"date":{"type":"string"},"ratioToMedian":{"type":"number"},"robustZ":{"type":"number"},"views":{"type":"integer"}},"type":"object"},"type":"array"},"total":{"type":"integer"}},"type":"object"},"topic":{"type":"string"},"window":{"properties":{"days":{"type":"integer"},"end":{"type":"string"},"start":{"type":"string"}},"type":"object"}},"required":["topic","article","summary","series"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":25,"error":null}],"description_full":"Interest over time for any topic, from Wikipedia pageviews (a free, official Google-Trends-like signal). Resolves free text to the right Wikipedia article, returns a daily series normalized 0-100, % change (7d and half-window), trend direction (rising/falling/stable/spiking), peak and robust spike detection. Use when an agent needs to know whether public attention on a topic, brand, person, product or event is growing.","last_updated":"2026-10-21T15:27:38.046Z","schemes":["exact"]}