Dick's Sporting Goods
Dick's Sporting Goods Product API
One Dick's Sporting Goods product by id or URL with every SKU: title, brand, description, features, specs, attributes, product type, category, images, rating, review count, question and answer counts, the price block (min, max, list min and max, percent off, MAP flag), the clearance flag, the option axes (color, size, width...) and every variant with sku, UPC, options, color, size, price, list price, percent off, MAP flag, clearance flag, online units (units available to ship), buyable, ship class and lead time. Prices differ per SKU, so read the variant you need. Usually 20 to 75 seconds; allow 180. Costs 2 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/jsonproduct_idstringA Dick's product id: a search result's id, the last part of a product URL (any case). One of product_id or url is required.
Example: 23FHQMCLFTN9GTXBLMNS
urlstringA dickssportinggoods.com product URL (its product id is used). Alternative to product_id.
Example: https://www.dickssportinggoods.com/p/hoka-mens-clifton-9-gtx-running-shoes-23fhqmclftn9gtxblmns/23fhqmclftn9gtxblmns
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# Which sizes are on clearance, and how many units ship online. Allow 180 s.
p = client.dicks.product(product_id="23FHQMCLFTN9GTXBLMNS")["data"]
print(p["title"], p["price"]["min"], "-", p["price"]["max"], "list", p["price"]["list_max"])
for v in p["variants"]:
print(v["sku"], v["color"], v["size"], v["price"], v["list_price"], v["is_clearance"], v["online_units"])Response