Williams-Sonoma
Williams-Sonoma Categories API
The category tree of one brand, Sale and Black Friday listings included: without category the top-level categories with their path and child count; with a top-level category id its full subtree, each node with id, name, type and the path to send to category. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonbrandenum<string>requiredThe brand. Served here: us: every brand. Any other brand answers 400 before anything is charged.
Example: pottery_barn
williams_sonoma— Williams Sonoma.pottery_barn— Pottery Barn.pottery_barn_kids— Pottery Barn Kids.pottery_barn_teen— Pottery Barn Teen.west_elm— West Elm.rejuvenation— Rejuvenation.mark_and_graham— Mark and Graham (no stores).
marketenum<string>default:usus (default). ca is not served on this endpoint (a 400).
us— The brand's US site, USD.
categorystringA top-level category id (categories[].id, e.g. furniture or sale): returns its full subtree. Leave out for the top-level list.
Example: furniture
Notes
Williams-Sonoma. brand picks one of the seven Williams-Sonoma, Inc. brands: williams_sonoma (Williams Sonoma, cookware and kitchen), pottery_barn (Pottery Barn, furniture and home), pottery_barn_kids (Pottery Barn Kids), pottery_barn_teen (Pottery Barn Teen), west_elm (West Elm, modern furniture), rejuvenation (Rejuvenation, lighting and hardware) and mark_and_graham (Mark and Graham, personalized gifts; it has no stores). market is us (default, USD) or ca (the brand's Canadian site, English, CAD, for Williams Sonoma, Pottery Barn and West Elm on product). Every answer carries brand, brand_name, market, currency, language and host. The brands publish no public API. This endpoint costs 1 credit and serves us: every brand. Reviews carry no reviewer names, locations or photos. Store phone numbers and addresses are the brands' public store details, as the store locator lists them. Pottery Barn listed 24 top-level categories on 2026-11-27, New with 154 children and Furniture with 117 first; Sale (56 children) holds the sale and Black Friday listings. type is the tree's own: supercat, topcat, subcat, header (a heading, with its link when it has one), linkcat or linksubcat. Send a path without /shop/ to category (Pottery Barn).
| Endpoint | Credits | Brands / markets |
|---|---|---|
product | 1 credit | us: every brand; ca: williams_sonoma, pottery_barn, west_elm |
configurator | 1 credit | us: pottery_barn |
delivery-estimate | 1 credit | us: every brand |
stock | 1 credit | us: every brand |
store-pickup | 1 credit | us: every brand with stores (not mark_and_graham) |
stores | 1 credit | us: every brand with stores (not mark_and_graham) |
floor-samples | 1 credit | us: every brand with stores (not mark_and_graham) |
categories | 1 credit | us: every brand |
category | 5 credits | us: pottery_barn |
search | 5 credits | us: williams_sonoma, pottery_barn |
popular-searches | 1 credit | us: every brand |
reviews | 1 credit | us: williams_sonoma |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=150)
# The Pottery Barn sale subtree: every path to send to category.
d = client.williamssonoma.categories(brand="pottery_barn", category="sale")["data"]
print(d["category"], d["count"])
for c in d["children"]:
print(c["type"], c["name"], c["path"])Response