Nordstrom
Nordstrom Category API
Browse a nordstrom.com (US) category page, 24 products per page, sorted by relevance, rating, price, newest or percent off. Works on any /browse category, including sale sections (sale/women), new arrivals (/browse/new) and top-level departments (/browse/women). Returns the category's name, page title, path, URL, breadcrumbs and subcategories, the filter sidebar with a product count per option, the total result and page counts, and every product with the same fields as search. Costs 5 credits per request.
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/jsoncategorystringrequiredA nordstrom.com category: the /browse path or full URL of a category page, e.g. /browse/women/clothing/dresses, sale/women, /browse/new or https://www.nordstrom.com/browse/men/shoes. The /browse prefix is optional. Query parameters in a URL (filters) are ignored.
Example: /browse/women/clothing/dresses
pageintegerResults page, 1-based. Defaults to 1. 24 products per page, up to page 100.
Example: 1
sortstringrelevance (default), rating, price_high, price_low, newest or percent_off.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.nordstrom.category(category="/browse/women/clothing/dresses", sort="price_low")["data"]
print(res["category"]["title"], res["total_results"], "products")
for sub in res["category"]["subcategories"]:
print(sub["name"], sub["path"])
for p in res["products"]:
print(p["style_id"], p["brand"], p["name"], p["price"], p["percent_off"])Response