product_tokenstringобязательно
Parameter defines the token needed to retrieve specific product details. The token is generated by the API using our Bing Shopping API.
https://api.sandbase.ai/v1/api/bing-shopping/productGet a Bing Shopping product by product token with title, specifications, rating, reviews and offers from each merchant.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Get a Bing Shopping product by product token with title, specifications, rating, reviews and offers from each merchant.
curl -X POST "https://api.sandbase.ai/v1/api/bing-shopping/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_token": "<product_token from search results>"}'
The result is returned in outputs[0].data as structured JSON.
| Name | Type | Required | Description |
|---|---|---|---|
product_token | string | Yes | Parameter defines the token needed to retrieve specific product details. The token is generated by the API using our Bing Shopping API. |
json_restrictor | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
$0.010 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/bing-shopping/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
product_tokenstringобязательноParameter defines the token needed to retrieve specific product details. The token is generated by the API using our Bing Shopping API.
json_restrictorstringParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Bing Shopping ProductЭтот API Bing Shopping | $0.01 за запрос | JSON |
Bing Shopping | $0.015 за запрос | Асинхронный JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/bing-shopping/product, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: product_token (string). Необязательные: json_restrictor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).
Нет. Bing Shopping Product работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Bing Shopping.