# Bing Shopping Search API

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

Source: https://www.sandbase.ai/apis/bing-shopping/search
API reference: https://www.sandbase.ai/apis/bing-shopping/search/docs

## Facts

- Provider: Bing Shopping
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/bing-shopping/search`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, bing shopping, ecommerce, product data
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/bing-shopping/search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string \| number \| boolean | yes |  |
| `cc` | string \| number \| boolean | no |  |
| `mkt` | string \| number \| boolean | no |  |
| `device` | string \| number \| boolean | no |  |
| `efirst` | string \| number \| boolean | no |  |
| `filters` | string \| number \| boolean | no |  |
| `json_restrictor` | string \| number \| boolean | no |  |

## FAQ

### How do I use the Bing Shopping Search API?

Send a POST request to https://api.sandbase.ai/v1/api/bing-shopping/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Bing Shopping Search API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Bing Shopping Search API accept?

Required: q (string | number | boolean). Optional: cc (string | number | boolean), mkt (string | number | boolean), device (string | number | boolean), efirst (string | number | boolean), filters (string | number | boolean) and json_restrictor (string | number | boolean). The Parameters table and the Playground on this page list every field.

### What does the Bing Shopping Search API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Bing Shopping developer account or API key?

No. Bing Shopping Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bing Shopping API access separately.

## README

### Bing Shopping Search

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

#### Request

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

This API runs asynchronously. `/v1/run` returns a task `id` with status `pending`; poll `GET https://api.sandbase.ai/v1/run/{id}` until `status` is `completed` and read the result from `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `q` | string/number/boolean | Yes | The search query. You can use anything that you would use in a regular Bing Shopping search. |
| `cc` | string/number/boolean | No | 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.). |
| `device` | string/number/boolean | No | 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. |
| `efirst` | string/number/boolean | No | Controls the offset of the shopping results. (e.g., `efirst=10` will move the 10th shopping result to the first position). |
| `filters` | string/number/boolean | No | 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-e… |
| `json_restrictor` | string/number/boolean | No | The 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 | 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… |

#### Pricing

Flat price per call. Failed calls are not charged.
