Harbor Freight
Harbor Freight Store Locator API
Harbor Freight stores near a US ZIP code, a "City, ST" or coordinates, nearest first: store number, name, address, phone, coordinates, distance in miles, status, opening date and hours. Pass the store numbers to the availability endpoint for per-store stock. Costs 1 credit per request.
POST/api/v1/harborfreight/stores
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/jsonquerystringUS ZIP code or "City, ST" (e.g. "Los Angeles, CA"). Pass this, or latitude and longitude.
Example: 60601
latitudenumberLatitude to search around.
Example: 40.7128
longitudenumberLongitude to search around.
Example: -74.006
radiusintegerSearch radius in miles, 1-100. Defaults to 50.
Example: 50
limitintegerMost stores to return, 1-50. Defaults to 10.
Example: 5
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.harbor_freight.stores(query="60601", limit=5)["data"]
for s in res["stores"]:
print(s["store_id"], s["name"], s["address"], s["distance_miles"], s["hours"]["sunday"])Response
"query": "60601",
"latitude": 41.88527,
"longitude": -87.62197,
"radius_miles": 50,
"count": 5,
},
"response_time": 1785
}