Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Bing Shopping Search

API 文件
https://api.sandbase.ai/v1/api/bing-shopping/search

Search Bing Shopping by keyword: product title, price, old price, seller, rating, reviews and shipping, with market and filter options.

價格
$0.015美元/次呼叫
方法
POST
回應
非同步 JSON
參數
1 個必填 · 6 個選填

Playground

輸入
The search query. You can use anything that you would use in a regular Bing Shopping search.
The country to search from. It follows the 2-character ISO_3166-1 format. (e.g., `us` for United States, `de` for Germany, `gb` for United Kingdom, etc.).
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. NOTE: If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response.
The device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
Controls the offset of the shopping results. (e.g., `efirst=10` will move the 10th shopping result to the first position).
Allows usage of a more complex filtering options such as filtering by date range `ex1:"ez5_18169_18230"` or using a specific display filters such as `ufn:"Wunderman+Thompson"+sid:"5bede9a2-1bda-9887-e6eb-30b1b8b6b513"+catguid:"5bede9a2-1bda-9887-e6eb-30b1b8b6b513_cfb02057"+segment:"generic.carousel"+entitysegment:"Organization"`. Exact values can be constructed by using Bing search and copying `filters` query parameter.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Bing Shopping Search

Returns Bing Shopping results for a keyword search. Each result lists product details such as title, price, old price, seller, rating and reviews. The only required input is the search query q.

Use cases

  • Track the price and old price of competing products for a keyword like wireless earbuds.
  • Compare which sellers appear for a product search in different markets using cc or mkt.
  • Collect brand and price-range filter options to see how Bing groups a product category.
  • Find related search terms to expand a keyword list for a shopping catalog.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bing-shopping/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "wireless earbuds"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
q['string', 'number', 'boolean']YesThe search query. You can use anything that you would use in a regular Bing Shopping search.
cc['string', 'number', 'boolean']NoThe country to search from. It follows the 2-character ISO_3166-1 format. (e.g., us for United States, de for Germany, gb for United Kingdom, etc.).
device['string', 'number', 'boolean']NoThe device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser.
efirst['string', 'number', 'boolean']NoControls the offset of the shopping results. (e.g., efirst=10 will move the 10th shopping result to the first position).
filters['string', 'number', 'boolean']NoAllows usage of a more complex filtering options such as filtering by date range ex1:"ez5_18169_18230" or using a specific display filters such as `ufn:"Wunderman+Thompson"+sid:"5bede9a2-1bda-9887-e6eb-30b1b8b6b513"+ca
json_restrictor['string', 'number', 'boolean']NoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
mkt['string', 'number', 'boolean']NoThe 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 Bin

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ads_results": [
    {
      "displayed_link": "https://top10best.how",
      "extensions": [
        "Site visitors: Over 100K in the past month"
      ],
      "link": "https://www.bing.com/aclick?ld=e81eGxNvMkOi3NPQOgPVVOrjVUCUyOrCzsUAPumQ1mDJxSSD-…",
      "title": "Top 10 Best Wireless Earbuds - See Our #1 Pick Before You Buy"
    }
  ],
  "filters": [
    {
      "options": [
        {
          "link": "https://www.bing.com/shop?q=Available+nearby+wireless+earbuds&filters=gsfilter%3…",
          "serpapi_link": {
            "endpoint": "/bing/shopping",
            "queryParams": {
              "device": "desktop",
              "filters": "gsfilter%3A%22MSxCYXNpYywyPTEsVHw7%22+scenario%3A%2215%22+OriginalQuery%3A%22wir…",
              "q": "Available nearby wireless earbuds"
            }
          },
          "text": "Available nearby"
        }
      ],
      "type": "Show Only"
    }
  ],
  "inline_ads_results": [
    {
      "block_position": "top",
      "external_link": "https://tryravine.com/pages/pdp-eb-v1?tw_source=bing&tw_campaign=524067636&utm_t…",
      "extracted_old_price": 199.99,
      "extracted_price": 99.99,
      "link": "https://www.bing.com/aclick?ld=e84gDIRd-R5za9R0WhkK-gADVUCUwJkz2_wSCGjGmzY3YH6VV…",
      "old_price": "$199.99",
      "price": "$99.99",
      "seller": "Ravine",
      "tag": {
        "top": "SALE"
      },
      "thumbnail": "https://th.bing.com/th/id/OPHS.jaaPkVy9mb81dQ474C474?w=200&h=209&c=17&pid=21.1",
      "title": "Bluetooth Shooting Earbuds | Wireless Hunting Hearing Protection | Ravine Fieldo…"
    }
  ],
  "pagination": {
    "current": 1,
    "next": "https://www.bing.com/shop?q=wireless+earbuds&filters=scenario%3a%2215%22+LookupK…",
    "other_pages": {
      "2": "https://www.bing.com/shop?q=wireless+earbuds&filters=scenario%3a%2215%22+LookupK…",
      "3": "https://www.bing.com/shop?q=wireless+earbuds&filters=scenario%3a%2215%22+LookupK…",
      "4": "https://www.bing.com/shop?q=wireless+earbuds&filters=scenario%3a%2215%22+LookupK…",
      "5": "https://www.bing.com/shop?q=wireless+earbuds&filters=scenario%3a%2215%22+LookupK…"
    }
  },
  "related_searches": [
    {
      "highlighted_words": [
        "Apple"
      ],
      "link": "https://www.bing.com/shop?q=Apple+AirPods+Pro&FORM=SHOPA2",
      "serpapi_link": {
        "endpoint": "/bing/shopping",
        "queryParams": {
          "device": "desktop",
          "q": "Apple AirPods Pro"
        }
      },
      "text": "Apple AirPods Pro"
    }
  ],
  "search_metadata": {
    "bing_shopping_url": "https://www.bing.com/shop?q=wireless+earbuds",
    "cached": false,
    "created_at": "2026-11-03 07:26:43 UTC",
    "id": "6ae98cb34e12bd49d8426ebc",
    "processed_at": "2026-11-03 07:26:43 UTC",
    "status": "Success",
    "total_time_taken": 1.13
  },
  "search_parameters": {
    "device": "desktop",
    "engine": "bing_shopping",
    "q": "wireless earbuds"
  },
  "serpapi_pagination": {
    "current": 1,
    "next": {
      "endpoint": "/bing/shopping",
      "queryParams": {
        "device": "desktop",
        "efirst": "37",
        "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
        "q": "wireless earbuds"
      }
    },
    "next_link": {
      "endpoint": "/bing/shopping",
      "queryParams": {
        "device": "desktop",
        "efirst": "37",
        "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
        "q": "wireless earbuds"
      }
    },
    "other_pages": {
      "2": {
        "endpoint": "/bing/shopping",
        "queryParams": {
          "device": "desktop",
          "efirst": "37",
          "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
          "q": "wireless earbuds"
        }
      },
      "3": {
        "endpoint": "/bing/shopping",
        "queryParams": {
          "device": "desktop",
          "efirst": "73",
          "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
          "q": "wireless earbuds"
        }
      },
      "4": {
        "endpoint": "/bing/shopping",
        "queryParams": {
          "device": "desktop",
          "efirst": "109",
          "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
          "q": "wireless earbuds"
        }
      },
      "5": {
        "endpoint": "/bing/shopping",
        "queryParams": {
          "device": "desktop",
          "efirst": "145",
          "filters": "scenario:\"15\" LookupKey:\"e143c33b72324705a2a81cc606282447\" ParentRguid:\"e143c33b…",
          "q": "wireless earbuds"
        }
      }
    }
  },
  "shopping_results": [
    {
      "external_link": "https://www.macys.com/shop/product/sony-wf-1000xm6-truly-wireless-noise-cancelli…",
      "extracted_old_price": 328,
      "extracted_price": 298,
      "link": "https://www.bing.com/ck/a?!&&p=a15e83ffd043ae8ecadb51169f62df553726a2042071124e4…",
      "old_price": "$328.00",
      "price": "$298.00",
      "product_token": "KQg5Xnic…",
      "rating": 4.4,
      "reviews": "10K+",
      "seller": "Macy's",
      "serpapi_bing_product_api": {
        "endpoint": "/bing/product",
        "queryParams": {
          "product_token": "KQg5Xnic…"
        }
      },
      "thumbnails": [
        "https://th.bing.com/th?id=OPHS.x8x%2fz4CIrJyVng474C474&w=220&h=220&c=17&o=5&pid=…"
      ]
    }
  ]
}

Response fields

FieldMeaning
shopping_results[]The organic product results for the query. Each item is one product listing.
inline_ads_results[].titleThe product title of a sponsored product listing shown at the top of the results.
inline_ads_results[].price / inline_ads_results[].old_priceThe current price and the earlier price as display strings, for example $99.99 and $199.99.
inline_ads_results[].extracted_price / inline_ads_results[].extracted_old_priceThe same current and old prices as plain numbers, ready for calculations.
inline_ads_results[].sellerThe store that sells the sponsored product, for example Walmart.
inline_ads_results[].rating / inline_ads_results[].reviewsThe product rating and the number of reviews. Some listings do not include them.
ads_results[].title / ads_results[].linkThe title and tracking link of a text ad shown for the query.
filters[].type / filters[].options[].textThe filter group name, such as Brand or Price, and the label of each option in that group.
related_searches[].textA related search phrase that Bing suggests for the query.
pagination.current / pagination.other_pagesThe current page number and links to the other result pages.

Notes

  • Each filter option and related search has a serpapi_link.queryParams object. Pass its q and filters values into a new request to apply that filter or search.
  • To get the next page, use the efirst and filters values in serpapi_pagination.next.queryParams. In this response, page 2 uses efirst of 37 and page 3 uses 73.
  • The search_parameters object echoes the q and device values used for the call.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Bing Shopping每次呼叫 $0.015非同步 JSON
Bing Shopping每次呼叫 $0.01JSON

問題

常見問題

我要如何使用 Bing Shopping Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/bing-shopping/search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Bing Shopping Search API 的費用是多少?

每次 $0.015,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Bing Shopping Search API 接受哪些參數?

必要:q (string | number | boolean)。 選填:cc (string | number | boolean), mkt (string | number | boolean), device (string | number | boolean), efirst (string | number | boolean), filters (string | number | boolean) 和 json_restrictor (string | number | boolean)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Bing Shopping Search API 會回傳什麼?

JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。

我需要 Bing Shopping 開發者帳號或 API 金鑰嗎?

不需要。Bing Shopping Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Bing Shopping API 存取權。