Harbor Freight
Harbor Freight Price API
Current prices for up to 50 Harbor Freight item numbers in one call, built for price tracking: the current price, regular price, sale price with its end date, clearance flag, public coupon price, Inside Track Club member price and the compare-at price, plus title, brand, URL and where it sells. Unknown item numbers are listed in not_found. Prices are national. Costs 1 credit per request.
POST/api/v1/harborfreight/prices
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/jsonskusstring[]required1-50 Harbor Freight item numbers (3-8 digits), the sku of a search result.
Example: ["73216", "59716", "64508"]
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.harbor_freight.prices(skus=["73216", "59716", "64508"])["data"]
for p in res["products"]:
member = p["member_deal"]["price"] if p["member_deal"] else None
coupon = p["coupon"]["price"] if p["coupon"] else None
print(p["sku"], p["price"], "regular", p["regular_price"], "coupon", coupon, "member", member)
print("not found:", res["not_found"])Response
"count": 3,
"not_found": [],
},
"response_time": 1565
}