Skip to main content
POST
/
api
/
bestbuy
/
categories
/bestbuy/categories
curl --request POST \
  --url https://api.anysite.io/api/bestbuy/categories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "category": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@bestbuy_category",
    "name": "<string>",
    "product_count": 123,
    "breadcrumbs": [],
    "children": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
category
string
required

Best Buy category id or a category page URL containing it

Minimum string length: 1
Examples:

"pcmcat138500050001"

"https://www.bestbuy.com/site/laptop-computers/all-laptops/pcmcat138500050001.c?id=pcmcat138500050001"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@bestbuy_category
name
string | null
product_count
integer | null
breadcrumbs
string[]
children
BestbuyChildCategory · object[]