JustSERPDocs
Bing

Bing Product

One product page of Bing Shopping, by the `product_token` of a `bing_shopping` result (URL-safe base64 of the offer id and the query it was listed for), answered as the document: `search_metadata`, `search_parameters`, `search_information` (empty), `product` (title, description, rating, reviews, pictures, specifications), `offers`, `top_insights`, `review_summary` (summary, pros, cons), `popular_opinions`, `sponsored_related_products` and `related_searches`.

GET
/v1/bing/product

One product page of Bing Shopping, by the product_token of a bing_shopping result (URL-safe base64 of the offer id and the query it was listed for), answered as the document: search_metadata, search_parameters, search_information (empty), product (title, description, rating, reviews, pictures, specifications), offers, top_insights, review_summary (summary, pros, cons), popular_opinions, sponsored_related_products and related_searches. No price_history (drawn by a script that a plain client does not get an answer from). A token that is not one bing_shopping gave is a 400. zero_retention is not handled.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
product_token*string

A shopping_results[].product_token of bing_shopping.

Lengthlength <= 2000
device?"desktop"

Anything but desktop is a 400.

Default"desktop"
Value in"desktop"
market_code?string

language-country from Bing's list (en-us...). Not with country_code.

country_code?string

Two letters from Bing's list; prices are in that country's money.

Default"US"
language?string

Bing's list.

Default"en"

Response Body

The product page, as the document. When the page could not be parsed, the usual envelope.

application/json
  1. response

The Bing Product document.

search_metadata*
search_parameters*

The request's own fields as sent, engine first, without cancel_token.

search_information*

The parser's own, e.g. yelp_search's; otherwise {}.

product?
offers?array<>

The page's buying options.

top_insights?array<>
review_summary?
popular_opinions?array<>

Reviews of other sites.

sponsored_related_products?array<>
related_searches?array<>
[key: string]?any
Example Request
curl -X GET 'https://api.justserp.com/v1/bing/product?product_token=eyJnb2lkIjoiNTI2NjYzNTk2ODY0IiwicSI6InJlZCBzbmVha2VycyJ9'
Example Response
{  "search_metadata": {    "id": "string",    "status": "Success",    "created_at": "string",    "request_url": "string",    "html_url": "string"  },  "search_parameters": {},  "search_information": {},  "product": {    "product_id": "string",    "title": "string",    "description": "string",    "rating": 0,    "reviews": 0,    "thumbnail": "string",    "images": [      "string"    ],    "specifications": [      {        "name": "string",        "value": "string"      }    ]  },  "offers": [    {      "position": 0,      "is_sponsored": true,      "title": "string",      "link": "string",      "price": "string",      "extracted_price": 0,      "currency": "string",      "merchant": {        "name": "string",        "favicon": "string"      }    }  ],  "top_insights": [    {      "title": "string",      "items": [        {          "title": "string",          "snippet": "string"        }      ]    }  ],  "review_summary": {    "summary": "string",    "pros": [      "string"    ],    "cons": [      "string"    ]  },  "popular_opinions": [    {      "position": 0,      "rating": 0,      "title": "string",      "text": "string",      "username": "string",      "source": "string"    }  ],  "sponsored_related_products": [    {      "position": 0,      "product_id": "string",      "title": "string",      "link": "string",      "price": "string",      "extracted_price": 0,      "original_price": "string",      "extracted_original_price": 0,      "rating": 0,      "reviews": 0,      "seller": "string",      "thumbnail": "string"    }  ],  "related_searches": [    {      "query": "string",      "link": "string"    }  ]}