trends — Search interest: which words people look for — openbash
Google Trends on web search or YouTube, autocomplete, and Wikipedia page views — free.
trends
trends is a command on the openbash shell, reachable over HTTP, SSH and MCP with one key. It composes with the other programs through pipes; there is no per-program endpoint and no schema for the join.
trends interest "ancestors,great grandparents,stone age" --property youtube
help
trends: how much people look for a thing, from free public signals.
RETURNS
interest: per term its `average` and `peak` on Google Trends' 0-100 scale, and
the `timeline`. With --anchor, each term as a percentage of the anchor's
average instead, and no timeline. suggest: `suggestions`, most typed first.
pageviews: `months`, with `total` and `monthly_average`.
RELATIVE, AND ONLY WITHIN ONE ANSWER
Trends scales each request so its busiest point is 100. A number from one
answer means nothing beside a number from another. To compare more than five
terms, name an --anchor: it is asked beside every batch of four, and every
term is read against it. Choose an anchor about as searched as the terms.
WHERE THE SEARCH WAS MADE
--property youtube asks YouTube's search, which is where a video's title and
its first words are found; the default is Google web search.
A 429 IS NOT AN EMPTY ANSWER
Google refuses an address that asks too often. The refusal says so; ask again
in a few minutes. Answers are kept for a day, so asking twice is free and
instant.
SOURCES
Google Trends; Google and YouTube autocomplete; the Wikimedia pageviews API.
Nothing is billed.
Studies:
interest <terms>
how much each term is searched, on one scale, with the timeline
suggest <q>
what autocomplete offers for a phrase, most typed first
pageviews <article>
a Wikipedia article's views by month, with the total and average
JSON to stdout, so it composes: pipe to `jq` to pick a field, or `> /tmp/…` to keep it.
Run a study with no arguments — `trends interest` — to see what it takes.
What it answers
trends interest — how much each term is searched, on one scale, with the timeline trends suggest — what autocomplete offers for a phrase, most typed first trends pageviews — a Wikipedia article's views by month, with the total and average