Our Bing Shopping API allows you to scrape SERP results from Bing Shopping. The API is accessed through the following endpoint: /search?engine=bing_shopping.
Api Details
EndpointGET https://serpapi.abcproxy.com/search
Description
A user may query the following: https://serpapi.abcproxy.com/search?engine=bing_shopping utilizing a GET request. Head to the for a live and interactive demo.
using System;
using System.Net.Http;
class Program
{
static async Task Main()
{
var client = new HttpClient();
var query = System.Web.HttpUtility.ParseQueryString(string.Empty);
query["engine"] = "bing_shopping";
query["q"] = "Coffee";
query["no_cache"] = "false";
query["api_key"] = "YOUR_API_KEY";
var response = await client.GetAsync(
$"https://serpapi.abcproxy.com/search?{query}"
);
Console.WriteLine(await response.Content.ReadAsStringAsync());
}
}
import java.net.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
String url = "https://serpapi.abcproxy.com/search" +
"?engine=bing_shopping" +
"&q=Coffee" +
"&no_cache=false" +
"&api_key=YOUR_API_KEY";
HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
conn.setRequestMethod("GET");
BufferedReader in = new BufferedReader(
new InputStreamReader(conn.getInputStream())
);
String response = in.lines().collect(Collectors.joining());
System.out.println(response);
}
}
Parameters
Search Query
Name
Type
Required
Description
Example
q
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Bing Shopping search.
coffee
Geographic Location
Name
Type
Required
Description
Example
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
Name
Type
Required
Description
Example
cc
string
No
us, de, gb
Pagination
Name
Type
Required
Description
Example
efirst
string
No
Parameter controls the offset of the shopping results.
10
Advanced Filters
Name
Type
Required
Description
Example
filters
string
No
Parameter allows usage of a more complex filtering options.
ez5_18169_18230
Serpapi Parameters
Name
Type
Required
Description
Example
engine
string
Yes
Set parameter to bing_shopping to use the Bing Shopping API engine.
bing_shopping
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.