Bing Shopping search API
Products for a query on Bing Shopping with full name, price and was-price, seller, image and offer link, per market.
GET /v1/bing/shopping/searchBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bing/shopping/search?query=coffee%20maker",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "query": "coffee maker", "value": [ { "goid": "401460688311", "name": "Braun Multiserve Plus 10-Cup Automatic Drip Coffee Maker, Stainless Steel (KF9270SI)", "price": "$256.19", "seller": "Staples", "image": "https://th.bing.com/th/id/OPHS.dbIZyrMnKioHyg474C474?w=220&h=210&c=17&o=5&pid=21.1", "offerUrl": "https://www.bing.com/ck/a?!&&p=5cff1f8dd05640ea94c0bcf1f8f98333f73c708e823966119b6564bc9975d96aJmltdHM9MTc5NTU2NDgwMA&pt…" }, { "goid": "374898909282", "name": "Braun Brewsense 12-Cups Automatic Drip Coffee Maker, Stainless/Black (KF7150BK)", "price": "$129.95", "seller": "Staples", "image": "https://th.bing.com/th/id/ODF.qoxUyz0o5WzJUJGf3mO94A?w=16&h=16&r=0&dpr=2&pid=retail", "offerUrl": "https://www.bing.com/ck/a?!&&p=634d6ac38cde8eae55d0107452b6a4bd286702252783c2339bc72114afa8dee2JmltdHM9MTc5NTU2NDgwMA&pt…" }, "… 34 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | |
marketquery | string | Bing market, e.g. en-US, de-DE (default en-US). |
countryquery | string | |
cursorquery | string | Accepted for compatibility; one page. |
Status codes
| Status | Meaning |
|---|---|
200 | Products. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Bing has nothing for that search. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Bing is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How many?
One results page, about 36 products.
Bing is a trademark of Microsoft Corporation. We are not affiliated with or endorsed by Microsoft.