Core APIs
...
Google
Core Requests

News Top Stories

4min

Google News Top Stories Parameters

DESKTOP

GET /search?search_type=news_top_stories

The Google News Top Stories Parameters are applicable when making a request with search_type=news_top_stories to retrieve news results without a query.

Use this request to get a real-time snapshot of news thats currently trending in a specific locale (visiting news.google.com). This request extracts 'top-stories' for desktop and mobile

  • Document image
    

For example, to request top stories news results in the location United States , the request would be:

HTTP
Curl
Node.js
Python
PHP



Google News Parameters

The following parameters are available for all requests made when search_type=news_top_stories .

Parameter

Required

Description

search_type

required

Should be set to search_type=news_top_stories .

location

optional

Determines the geographic location in which the query is executed. You can enter any location as free-text, but if you choose one of the SerpWow built-in locations then the google_domain , gl and hl parameters are automatically updated to the domain, country and language that match the built-in location (note that this behaviour can be disabled via the location_auto parameter).

location_auto

optional

If the location field is set to a SerpWow built-in location from the Locations API , and location_auto is set to true (default) then the google_domain , gl and hl parameters are automatically updated to the domain, country and language that match the built-in location. Valid values are true (default) to enable this behaviour or false to disable.

uule

optional

The Google UULE parameter - use to pass through a custom uule parameter to Google. SerpWow automatically generates the uule when you use the location parameter but we allow you to overwrite it directly by specifying a uule directly.

google_domain

optional

The Google domain to use to run the search query. View the full list of supported google_domain values here . Defaults to google.com .

gl

optional

The gl parameter determines the Google country to use for the query. View the full list of supported gl values here . Defaults to us .

hl

optional

The hl parameter determines the Google UI language to return results. View the full list of supported hl values here . Defaults to en .



Next Steps      Google News Top Stories Results

Updated 01 Nov 2024
Did this page help you?