JustSERPDocs
Google

Google Light

A Google search under the Google Light document-form parameters, answered as the Google Light document: `search_metadata`, `search_parameters`, `search_information` and the few blocks Light has (`answer_box`, `knowledge_graph`, `organic_results`, `top_stories`, `latest_posts`, `related_questions` (questions only), `related_searches`) and `pagination`.

GET
/v1/google/light

A Google search under the Google Light document-form parameters, answered as the Google Light document: search_metadata, search_parameters, search_information and the few blocks Light has (answer_box, knowledge_graph, organic_results, top_stories, latest_posts, related_questions (questions only), related_searches) and pagination. Lighter than /v1/google/search: there is no result count and no snapshot. Desktop only; other Google parameters are not read.

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 search.

Length1 <= length
location?string

Where the search is made from, as Google's canonical place name: "Austin,Texas,United States".

uule?string

A ready-made Google uule, sent as it is.

latitude?number

Send with longitude.

Range-90 <= value <= 90
longitude?number
Range-180 <= value <= 180
gl?string

Country of the results, two letters.

Default"us"
hl?string

Interface language.

Default"en"
lr?string

Restrict results to languages, e.g. lang_en.

nfpr?string

1 excludes auto-corrected results.

Value in"0""1"
filter?string

0 turns off the duplicate and similar-results filter.

Value in"0""1"
safe?string

Adult-content filtering.

Value in"active""blur""off"
page?integer

The results page.

Range1 <= value <= 100
Default1

Response Body

The results page, as the document. When the page could not be parsed, the usual envelope.

application/json
  1. response

The Google Light document. A block is present only when the page has it; there is no html_url and no result count.

search_metadata?
search_parameters?

The parameters the search ran with; engine is google_light and device desktop.

search_information?
answer_box?

answer, answer_highlight, answer_list, answer_table, source, and a type with its values.

knowledge_graph?

title, type, rating, reviews, website, directions, source, description, thumbnail, images, and the panel's facts as label: text.

organic_results?array<>
top_stories?array<>
latest_posts?array<>
related_questions?array<>

Questions only; Google sends no answer in the page.

related_searches?array<>
pagination?
[key: string]?any
Example Request
curl -X GET 'https://api.justserp.com/v1/google/light?q=chatgpt&gl=us&hl=en'
Example Response
{  "search_metadata": {    "id": "string",    "status": "string",    "created_at": "string",    "request_url": "string"  },  "search_parameters": {},  "search_information": {    "query_displayed": "string",    "did_you_mean": "string",    "showing_results_for": "string",    "page": 0  },  "answer_box": {},  "knowledge_graph": {},  "organic_results": [    {}  ],  "top_stories": [    {}  ],  "latest_posts": [    {}  ],  "related_questions": [    {}  ],  "related_searches": [    {}  ],  "pagination": {    "current": 0,    "previous": "string",    "next": "string"  }}