Our Bing News API allows you to scrape SERP results from a Bing News. The API is accessed through the following endpoint: /search?engine=bing_news
.
Endpoint
GET https://serpapi.abcproxy.com/search
Description
A user may query the following:
https://serpapi.abcproxy.com/search?engine=bing_news
utilizing a GET request. Head to the for a live and interactive demo.
Search Query
q
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Bing search.
coffee
Geographic Location
mkt
string
No
The market where the results come from (e.g. en-US). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Shopping API delivers results. The market must be in the form -. For example, en-US. The string is case insensitive. For a list of possible market values, see Market Codes. This parameter and the cc query parameter are mutually exclusive—do not specify both.
en-US
Localization
cc
string
Yes
us
, de
, gb
Pagination
first
string
No
Parameter controls the offset of the organic results. This parameter defaults to 1
.
10
count
string
No
Parameter controls the number of results per page. This parameter is only a suggestion and might not reflect the returned results.
100
Advanced Bing News Parameters
qft
string
No
Parameter defines results sorted by date. If the parameter is not set, it will default to the "Best match" sorting, otherwise, if set to: e.g. interval="4"
, it will show results from the past hour. Other options are:
interval="7"
: Past 24 hours,
interval="8"
: Past 7 days,
interval="9"
: Past 30 days,
sortbydate="1"
: Most Recent
-
Advanced Filters
safeSearch
string
No
Parameter defines the level of filtering for adult content. It can be set to:
Off
to return webpages with adult text, images, or videos.
Moderate
to return webpages with adult text, but not adult images or videos.
Strict
to not return webpages with adult text, images, or videos.
-
Serpapi Parameters
engine
string
Yes
Set parameter to bing_news
to use the Bing News API engine.
bing_news
no_c1ache
boolean
No
Parameter will force SerpApi to fetch the Google Patents results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month.
true
or false
api_key
string
Yes
Parameter defines the SerpApi private key to use.
YOUR_API_KEY
Response Body
Response Fields
search_parameters
object
Contains query
parameters and search
context
search_metadata
object
Contains timing
and status
information
organic_results
object[]
List of standard search
results
Common Errors
200
400
API Key can not be empty
200
401
Param error
200
402
API Key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
Parameter defines the language to search with. It follows the 2-character format.