Bing Shopping API
Bing Shopping API returns structured product data from Bing Shopping including prices, seller information, ratings, reviews, installment plans, original prices with sale indicators, delivery details, product images, shopping ads, text ads, filters, related suggestions, and pagination. Localize results by country or market and sort by price or relevance.
API Parameters
Search Query
-
- Name
-
q - Required
- Required
- Description
-
This parameter is used for the terms you want to search on Bing Shopping.
Localization
-
- Name
-
market_code - Required
- Optional
- Description
-
Defines the country for search results. Format is
language-country, likeen-US. For a list of market values, check the full list of supported Bingmarket_codecodes. Note: themarket_codeparameter can't be used together withcountry_codeparameter.
-
- Name
-
country_code - Required
- Optional
- Description
-
Specifies the country for the search results if
market_codeis not specified. Defaults toUSif unspecified ormarket_codeis not used. Check the full list of supported Bingcountry_codecountries. Note: thecountry_codeparameter can't be used together withmarket_codeparameter.
-
- Name
-
language - Required
- Optional
- Description
-
Sets the language for user interface text. Use 2-letter (ISO 639-1) or 4-letter codes ('
- '). Defaults to en(English) if unspecified or unsupported. Check the full list of supported Binglanguagelanguages.
Sorting
-
- Name
-
sort_by - Required
- Optional
- Description
-
Sorts the shopping results by the specified criteria. Options are:
featured- default relevance-based sortingprice_low_to_high- sort by price ascendingprice_high_to_low- sort by price descending
Filters
-
- Name
-
filters - Required
- Optional
- Description
-
Applies shopping filters to narrow results by brand, price range, seller, or other criteria. Filter values are returned in the
filtersblock of the response as Base64-encoded strings. Pass them back via this parameter to apply the filter.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
This parameter indicates which page of results to return. By default, it is set to
1. Note: Bing Shopping has a limited number of pages per query. If you request a page beyond the last available page, the API will return an error indicating no more results are available.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
bing_shopping.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=bing_shopping&filters=Z3NmaWx0ZXI6Ik5ESXdNVGd4TVRZNE1peENZWE5wWXl3d1BUSTJOelk0TWpJNU9Ua3NWSHc3IiBzY2VuYXJpbzoiMTUi&q=iphone+16
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "bing_shopping",
"q": "iphone 16",
"filters": "Z3NmaWx0ZXI6Ik5ESXdNVGd4TVRZNE1peENZWE5wWXl3d1BUSTJOelk0TWpJNU9Ua3NWSHc3IiBzY2VuYXJpbzoiMTUi"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_KSm3gil3vRsziWzcziIayoHo",
"status": "Success",
"created_at": "2026-03-06T10:30:40Z",
"request_time_taken": 1.72,
"parsing_time_taken": 0.04,
"total_time_taken": 1.76,
"request_url": "https://www.bing.com/shop?q=iphone+16&cc=US&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4...",
"html_url": "https://www.searchapi.io/api/v1/searches/search_WkwwxD0wxMRPzk5GxuRimTbU.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_daNPwKCv9DvspnQaRo3QAa5s"
},
"search_parameters": {
"engine": "bing_shopping",
"q": "iphone 16",
"country_code": "US",
"filters": "Z3NmaWx0ZXI6Ik5ESXdNVGd4TVRZNE1peENZWE5wWXl3d1BUSTJOelk0TWpJNU9Ua3NWSHc3IiBzY2VuYXJpbzoiMTUi"
},
"search_information": {
"query_displayed": "iphone 16",
"showing_results_for": "Showing 1 - 36 out of 149 results for \"iphone 16\"",
"total_results": 149,
"filters_applied": [
"Apple"
],
"page": 1
},
"filters": [
{
"type": "Brand",
"options": [
{
"text": "Apple",
"is_selected": true,
"filters": "Z3NmaWx0ZXI6Ik5ESXdNVGd4TVRZNE1peENZWE5wWXl3d1BUSTJOelk0TWpJNU9Ua3NSbnc3IiBzY2VuYXJpbzoiMTUi",
"link": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk..."
},
"..."
]
},
{
"type": "Price",
"options": [
{
"text": "Up to $600",
"filters": "Z3NmaWx0ZXI6Ik5ESXdNVGd4TVRZNE1peENZWE5wWXl3d1BUSTJOelk0TWpJNU9Ua3NWSHc3IiByZmlsdGVyOiJNem...",
"link": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk..."
},
"..."
]
},
"..."
],
"shopping_ads": [
{
"position": 1,
"block_position": "top",
"title": "Apple iPhone 16 - Pink - 128GB | T-Mobile",
"link": "https://www.t-mobile.com/business/cell-phone/apple-iphone-16?sku=195949820922",
"seller": "T-Mobile for Business",
"price": "$729.99 now",
"extracted_price": 729.99,
"rating": 4.6,
"reviews": 1200,
"original_price": "$829.99",
"extracted_original_price": 829.99,
"installment": {
"down_payment": "$729.99",
"extracted_down_payment": 729.99,
"months": "x 24",
"extracted_months": 24,
"cost_per_month": "$30.42/mo",
"extracted_cost_per_month": 30.42
},
"extensions": [
"SALE"
],
"delivery": "Free shipping",
"offer_id": "346290069143",
"image": "https://th.bing.com/th/id/OPHS.wedg5z79WKwOqg474C474?w=180&h=180&c=17&pid=21.1",
"images": [
"https://th.bing.com/th?id=OPHS.lAE%2b2Iy%2fDfaM%2fg474C474&w=240&h=240&c=17&o=5&pid=21.1",
"..."
]
},
"..."
],
"shopping_results": [
{
"position": 1,
"title": "Apple iPhone 16 Plus 512GB In Ultramarine",
"link": "https://www.bing.com/shop/productpage?q=iphone+16&filters=scenario%3a%2217%22+gType%3a%2212%22+gId%3...",
"seller": "Verizon Wireless",
"price": "$0.00 now",
"extracted_price": 0.0,
"original_price": "$1,129.99",
"extracted_original_price": 1129.99,
"rating": 4.8,
"reviews": 904,
"installment": {
"down_payment": "$0.00",
"extracted_down_payment": 0.0,
"months": "x 36",
"extracted_months": 36,
"cost_per_month": "$31.38/mo",
"extracted_cost_per_month": 31.38
},
"extensions": [
"SALE"
],
"delivery": "Free shipping",
"offer_id": "245276911918",
"thumbnail": "https://th.bing.com/th?id=OPHS.x4TRbwd%2bS6V%2bUQ474C474&w=220&h=210&c=17&o=5&pid=21.1",
"images": [
"https://th.bing.com/th?id=OPHS.I%2bKa2gWUXymcKg474C474&w=220&h=210&c=17&o=5&pid=21.1",
"..."
]
},
"..."
],
"ads": [
{
"position": 1,
"title": "iPhone 16 at T-Mobile® | T-Mobile® Official Site",
"link": "https://ad.doubleclick.net/searchads/link/click?lid=43700080698012671&ds_s_kwgid=58700008760832082&ds...",
"displayed_link": "https://www.t-mobile.com › iphone16",
"tracking_link": "https://www.bing.com/aclick?ld=e8Lz8IDztxLg0oPHAcydY7ATVUCUyEUbVdCnlAAezk2bsPWwD83yF9ZlOB8K0wvs...",
"snippet": "Experience iPhone 16 at T-Mobile® on America's largest 5G network. Upgrade your iPhone.",
"sitelinks": [
{
"title": "Get Deals When You Switch",
"link": "https://ad.doubleclick.net/searchads/link/click?lid=43700080698012671&ds_s_kwgid=587000087608320..."
},
"..."
]
},
"..."
],
"suggestions": [
{
"query": "iPhone 16 plus",
"link": "https://www.bing.com/shop?q=iPhone+16+plus&FORM=RSPINN",
"thumbnail": "https://th.bing.com/th/id/OPHS.GP8yCudqVU5gEw474C474?w=42&h=42&rs=1&qlt=80&cdv=1&pid=18.2"
},
"..."
],
"pagination": {
"current": 1,
"next": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk...",
"other_pages": {
"2": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk...",
"3": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk...",
"4": "https://www.bing.com/shop?q=iphone+16&filters=gsfilter%3a%22NDIwMTgxMTY4MixCYXNpYywwPTI2NzY4MjI5OTk..."
}
}
}