Core APIs
...
Yahoo
Core Requests

News

3min

Yahoo News Parameters

GET /search?engine=yahoo&search_type=news

The Yahoo News Parameters are applicable when making a request with engine=yahoo and search_type=news to retrieve Yahoo News results for a given search term. The search term is specified in the q parameter and the optional country_code parameter can be used to specify Yahoo country to use.

Yahoo News Results
Yahoo News Results


For example, to request Yahoo News results for the keyword pizza in country_code=us , the request would be:

HTTP
Curl
Node.js
Python
PHP



Yahoo News Parameters

The following parameters are available for all requests made when engine=yahoo and search_type=news .

Parameter

Required

Description

engine

required

Should be set to engine=yahoo .

search_type

required

Should be set to search_type=news .

q

required

The keyword you want to use to perform the search.

country_code

optional

Determines the country to show results from. View the full list of supported Yahoo country_code values here .

page

optional

Determines the page of results to return, defaults to 1 .

max_page

optional

Use the max_page parameter to get multiple pages of results in one request. The API will automatically paginate through pages and concatenate the results into one response.

See the Pagination docs for more information.



Next Steps      Yahoo News Results

Updated 15 Aug 2024
Did this page help you?