Skip to main content
Reads a Google Trends explore page with search terms in q, or the trending now page, and returns its data as JSON.

Make a request

Send the page’s URL to scrape with a json format that names the parser. Get an API key in the Quickstart.

Read the response

The parser’s data is in data.json. Its fields include query and value. This sample is cut to the first items.

Options

Send options in the options object of the json format.

Price

$1 per 1,000 calls. See Pricing.

Limits and errors

  • The URL must be a Google Trends explore page with search terms in q, or the trending now page. One term gives its related searches and several terms give their interest over time. Set options.view to related, interest or regions to pick that answer for the terms. Any other URL fails with invalidRequest.
  • The answer comes back in data.json. If the page cannot be read, the call fails with an error code from Errors.