JustSERPDocs
Google

Google Trends Autocomplete

Google Trends' suggestions for the start of a query (Google answers from about 3 characters), answered as the document: `search_metadata`, `search_parameters`, `search_information` and `suggestions` (`id` Google's topic id, `title`, `type`, `link`; no thumbnail, the box does not send one).

GET
/v1/google/trends/autocomplete

Google Trends' suggestions for the start of a query (Google answers from about 3 characters), answered as the document: search_metadata, search_parameters, search_information and suggestions (id Google's topic id, title, type, link; no thumbnail, the box does not send one). No snapshot.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
q*string

The terms.

Length1 <= length
hl?string

Language; not a language code is a 400.

Default"en"

Response Body

The suggestions, as the document. When the answer could not be parsed, the usual envelope.

application/json
  1. response

The Trends Autocomplete document.

search_metadata?
search_parameters?

The request as sent.

search_information?
suggestions?array<>
[key: string]?any
Example Request
curl -X GET 'https://api.justserp.com/v1/google/trends/autocomplete?q=Programming+language'
Example Response
{  "search_metadata": {    "id": "string",    "status": "string",    "created_at": "string",    "request_url": "string"  },  "search_parameters": {},  "search_information": {},  "suggestions": [    {      "id": "string",      "title": "string",      "type": "string",      "link": "string"    }  ]}