Harbor Freight
Harbor Freight Stock API
In-store stock for up to 20 Harbor Freight items at up to 20 chosen stores, or at the stores nearest a ZIP code or coordinates. Each store lists every item with stock_status (in_stock, limited, out_of_stock or not_carried), the aisle, and a nearby store that has it. Stock is a status, not a unit count, from a daily snapshot. 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/jsonskusstring[]required1-20 Harbor Freight item numbers (3-8 digits).
Example: ["73216", "58139"]
store_idsstring[]Up to 20 store numbers, from /api/v1/harborfreight/stores. Or pass zip, or latitude and longitude, for the nearest stores.
Example: ["374", "820"]
zipstringUS ZIP code: stock at the stores nearest to it.
Example: 90012
latitudenumberLatitude: stock at the stores nearest to it.
longitudenumberLongitude: stock at the stores nearest to it.
limitintegerNearest stores to return with zip or coordinates, 1-100. Defaults to 10.
Example: 5
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.harbor_freight.availability(skus=["73216"], zip="90012", limit=5)["data"]
print("stock snapshot:", res["inventory_updated_at"])
for s in res["stores"]:
for i in s["items"]:
print(s["store_id"], s["name"], s["distance_miles"], i["sku"], i["stock_status"], i["aisle"])Response