Harbor Freight
Harbor Freight Clearance API
Harbor Freight clearance items, optionally narrowed by keyword, category or brand, with the same fields as search: the clearance price and when it ends (sale.ends_at), the regular price and savings, coupon, member price, rating and review count. Every parameter is optional. Prices are national. Costs 1 credit 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/jsonquerystringOptional keywords to narrow the clearance list.
Example: drill
category_idstringHarbor Freight category id, from the category facet of any search or clearance answer.
Example: 2636
brandstringOnly this brand, as listed in the brand facet. Case-insensitive.
Example: WARRIOR
sortstringbest_match (default), price_low, price_high, member_price_low, member_price_high, top_rated or newest.
pageintegerResults page, 1-100. Defaults to 1.
Example: 1
page_sizeintegerResults per page, 1-48. Defaults to 36.
Example: 12
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.harbor_freight.clearance(query="drill", page_size=12)["data"]
for p in res["products"]:
print(p["sku"], p["title"], p["price"], "was", p["regular_price"], "ends", p["sale"]["ends_at"])Response