---
title: "Best Buy API: Search | Perceptlayer"
description: "Search from Best Buy as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/best-buy/search
---

[APIs](https://perceptlayer.com/apis) / [Best Buy](https://perceptlayer.com/apis/best-buy) / Search

# Best Buy: Search

Search from Best Buy as JSON. 1 credit per successful call.

GET `/v1/best-buy/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 100 characters |
| `category` | string | Optional | Any |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `sort` | string | Optional | best\_match, top\_rated |
| `page` | integer | Optional | Any |

## Example request

Best Buy

GET /v1/best-buy/search?query=sony+headphones 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "sku": "6620467",
        "name": "Sony - WH-1000XM6- Best Wireless Noise Cancelling Headphones - Black",
        "brand": "Sony",
        "url": "https://www.bestbuy.com/product/sony-wh-1000xm6-best-wireless-noise-cancelling-headphones-black/J7XSRH5RCF",
        "image": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/5c0ff147-1f18-4f75-adbc-680f9fee5308.jpg",
        "images": [
          "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/5c0ff147-1f18-4f75-adbc-680f9fee5308.jpg"
        ],
        "price": {
          "amount": 348,
          "currency": "USD"
        },
        "regular_price": {
          "amount": 458,
          "currency": "USD"
        },
        "savings": {
          "amount": 110,
          "currency": "USD"
        },
        "discount_percent": 24,
        "rating": 4.7,
        "review_count": 1516,
        "button_state": "ADD_TO_CART",
        "in_stock": true
      },
      {
        "sku": "6667496",
        "name": "Sony - WF-1000XM6 Best Truly Wireless Noise Cancelling Earbuds - Platinum Silver",
        "brand": "Sony",
        "url": "https://www.bestbuy.com/product/sony-wf-1000xm6-best-truly-wireless-noise-cancelling-earbuds-platinum-silver/J7XSRH5WRC",
        "image": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/f49c3493-e940-4155-9391-ca78496eedde.jpg",
        "images": [
          "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/f49c3493-e940-4155-9391-ca78496eedde.jpg"
        ],
        "price": {
          "amount": 248,
          "currency": "USD"
        },
        "regular_price": {
          "amount": 328,
          "currency": "USD"
        },
        "savings": {
          "amount": 80,
          "currency": "USD"
        },
        "discount_percent": 24,
        "rating": 4.4,
        "review_count": 378,
        "button_state": "ADD_TO_CART",
        "in_stock": true
      },
      {
        "sku": "6675813",
        "name": "Sony - 1000X THE COLLEXION Wireless Noise Canceling Headphones - Black",
        "brand": "Sony",
        "url": "https://www.bestbuy.com/product/sony-1000x-the-collexion-wireless-noise-canceling-headphones-black/J7XSRH5W8X",
        "image": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/4083e8ce-39a4-4ede-8c2d-94322e0bd34c.jpg",
        "images": [
          "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/4083e8ce-39a4-4ede-8c2d-94322e0bd34c.jpg"
        ],
        "price": {
          "amount": 548,
          "currency": "USD"
        },
        "regular_price": {
          "amount": 648,
          "currency": "USD"
        },
        "savings": {
          "amount": 100,
          "currency": "USD"
        },
        "discount_percent": 15,
        "rating": 4.7,
        "review_count": 98,
        "button_state": "ADD_TO_CART",
        "in_stock": true
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 24,
      "total_items": 210,
      "total_pages": 9,
      "has_more": true
    },
    "filters": {
      "query": "sony headphones",
      "sort": "best_match"
    },
    "currency": "USD"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_70d83a73112f4eb587bcbad08d4e1929",
    "credits_charged": 1,
    "credits_remaining": 4973
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/best-buy?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `items` | object\[\] |
| `pagination` | object |
| `currency` | string |
