Harbor Freight Api 标志

Harbor Freight Api

社区
scavio-ai
harbor-freight-api

Harbor Freight API:搜索 harborfreight.com 或查看清仓商品,获取全国售价、促销价及促销结束日期、公开优惠券价、Inside Track 会员价和竞品对比价;读取单件商品的 UPC、规格和说明书;一次批量查询最多 50 件商品的价格;查找 ZIP 邮编附近的门店;查询附近门店最多 20 件商品的库存情况(有货、库存有限或缺货)及货架位置;还可分页查看顾客评论。共 7 个端点,每个端点消耗 1 个额度。

概览

发布者scavio-ai
代码仓库skills
技能名称harbor-freight-api
星标数
67
复刻数
0
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scavio-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Harbor Freight Api AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/harbor-freight-api
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/harbor-freight-api .claude/skills/harbor-freight-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Harbor Freight Api,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Harbor Freight Api。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Harbor Freight Api 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Harbor Freight API - Prices, Coupons, Store Stock, Reviews

Search Harbor Freight tools and equipment by keyword, category and brand, or list what is on clearance, with the national price, the sale price and when it ends, the public coupon price, the Inside Track Club member price and the competitor price Harbor Freight compares against. Read one product with UPC, the full specification table, warranty, owner's manuals and variants; get current prices for up to 50 item numbers in one call; find stores near a ZIP or city; check whether up to 20 items are in stock, limited or out of stock, and in which aisle, at chosen or nearby stores; and page customer reviews. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find tools or equipment at Harbor Freight by keyword, category or brand (BAUER, HERCULES, PITTSBURGH, WARRIOR)
  • Check a Harbor Freight item's price, sale price and end date, coupon price or Inside Track member price
  • List Harbor Freight clearance items and their clearance prices
  • Check whether nearby Harbor Freight stores have an item, and which aisle it is in
  • Find Harbor Freight stores near a ZIP code, city or coordinates
  • Read an item's specifications, warranty, UPC or owner's manual, or its customer reviews
  • Watch prices for a list of item numbers, or compare Harbor Freight with Home Depot, Lowe's or other retailers

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every endpoint in this skill costs 1 credit.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All Harbor Freight endpoints cost 1 credit.

EndpointCreditsWhat it returns
POST /api/v1/harborfreight/search1Up to 48 products per page by keyword and/or category, with brand and clearance filters and 7 sorts: item number, id, title, brand, URL, image, price, regular price, sale (price, end date, savings), coupon, member deal, compare-at, badges, rating, review count, where it sells, variants. Category, brand, rating, price and attribute facets
POST /api/v1/harborfreight/clearance1Clearance items, optionally narrowed by keyword, category or brand. Same row fields as search; the clearance price and end date are in sale
POST /api/v1/harborfreight/product1One product by item number, id or URL: UPC, every price field, rating, review count, badges, summary, description, highlights, full specification table, warranty, shipping notes, owner's manuals, images and variants
POST /api/v1/harborfreight/prices1Current price fields for up to 50 item numbers in one call. Unknown item numbers are listed in not_found
POST /api/v1/harborfreight/stores1Stores near a ZIP, "City, ST" or coordinates, nearest first: store number, name, address, phone, coordinates, distance, status, opening date and hours
POST /api/v1/harborfreight/availability1In-store stock for up to 20 items at up to 20 chosen stores, or at the stores nearest a ZIP or coordinates: per store and item the stock status (in_stock, limited, out_of_stock, not_carried), aisle, and a nearby store that has it
POST /api/v1/harborfreight/reviews1Customer reviews for one item, newest first, paged with limit/offset: title, text, star rating, author, review and purchase dates, incentivized flag, helpful votes and the reviewer's answers. Also the average rating and total review count

Workflow

Prices are national: every store charges the same. The store only matters for stock and aisle.

  1. Find the item: call /harborfreight/search with query (or category_id). Each row has a sku (the Harbor Freight item number, like 73216) and an id.
  2. One product in full: call /harborfreight/product with the sku for specifications, manuals and variants.
  3. Who has it: call /harborfreight/availability with the skus and the user's zip. One call returns the nearest stores (10 by default, up to 100) with each item's status and aisle. To watch specific stores, call /harborfreight/stores first and pass up to 20 store_ids.
  4. Watch prices: call /harborfreight/prices with up to 50 skus. This is the cheap way to track a list of items, their sales and coupons.
  5. Markdowns: call /harborfreight/clearance, optionally with query or category_id.
  6. What buyers say: call /harborfreight/reviews with the sku, paging with offset.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringone ofKeywords (1-200 chars). Pass this, category_id, or both
category_idstringone ofNumeric category id, e.g. 1827 (Drills, Drivers & Drill Presses): the value of an option in the category facet
brandstring-Only this brand, as listed in the brand facet (BAUER, HERCULES, PITTSBURGH). Case-insensitive
clearancebooleanfalseOnly clearance items
sortstringbest_matchbest_match, price_low, price_high, member_price_low, member_price_high (Inside Track Club price), top_rated or newest
pageinteger11-based page (1-100)
page_sizeinteger36Results per page, 1-48

Clearance (/clearance)

Same parameters as search, all optional (query, category_id, brand, sort, page, page_size). With none, it lists all clearance items.

Product (/product)

ParameterTypeDefaultDescription
skustringone ofHarbor Freight item number (3-8 digits), a search row's sku
idintegerone ofNumeric product id, a search row's id
urlstringone ofharborfreight.com product URL ending in the item number, https://www.harborfreight.com/<name>-73216.html

Prices (/prices)

ParameterTypeDefaultDescription
skusstring[]required1-50 Harbor Freight item numbers

Stores (/stores)

ParameterTypeDefaultDescription
querystringone of5-digit US ZIP code or "City, ST" ("Los Angeles, CA")
latitude, longitudenumberone ofCoordinates to search around, instead of query
radiusinteger50Search radius in miles, 1-100
limitinteger10Most stores to return, 1-50

Availability (/availability)

ParameterTypeDefaultDescription
skusstring[]required1-20 Harbor Freight item numbers
store_idsstring[]one of1-20 store numbers, the store_id values from /stores
zipstringone ofUS ZIP code: stock at the stores nearest to it
latitude, longitudenumberone ofCoordinates: stock at the stores nearest to them
limitinteger10Nearest stores to return with zip or coordinates, 1-100

Reviews (/reviews)

ParameterTypeDefaultDescription
skustringrequiredHarbor Freight item number
limitinteger10Reviews per call, 1-50
offsetinteger0Reviews to skip, for paging

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/harborfreight/availability \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"skus": ["73216"], "zip": "90012", "limit": 5}'

Captured response (a BAUER 20V drill kit at the five stores nearest downtown Los Angeles; two stores trimmed, the out-of-stock one kept):

json
{
  "data": {
    "skus": ["73216"],
    "store_ids": null,
    "zip": "90012",
    "latitude": 34.066,
    "longitude": -118.239,
    "inventory_updated_at": "2026-11-01 17:17:07",
    "total_stores": 95,
    "count": 5,
    "stores": [
      {
        "store_id": "3060",
        "name": "Los Angeles, CA",
        "address": "2619 N Figueroa St",
        "city": "Los Angeles",
        "state": "CA",
        "zip": "90065",
        "phone": "747-286-7600",
        "distance_miles": 1.61,
        "status": "OPEN",
        "hours": { "monday_friday": "8:00AM-8:00PM", "saturday": "8:00AM-8:00PM", "sunday": "9:00AM-6:00PM" },
        "items": [
          { "sku": "73216", "stock_status": "in_stock", "stock_code": "IS", "aisle": "Aisle 1", "nearby_store_with_stock": null }
        ]
      },
      {
        "store_id": "3224",
        "name": "Hollywood, CA",
        "address": "5711 Hollywood Blvd",
        "city": "Hollywood",
        "state": "CA",
        "zip": "90028",
        "phone": "213-374-2626",
        "distance_miles": 4.98,
        "status": "OPEN",
        "hours": { "monday_friday": "8:00AM-8:00PM", "saturday": "8:00AM-8:00PM", "sunday": "9:00AM-6:00PM" },
        "items": [
          {
            "sku": "73216",
            "stock_status": "out_of_stock",
            "stock_code": "NS",
            "aisle": "Aisle 1",
            "nearby_store_with_stock": { "store_id": "3654", "stock_status": "in_stock" }
          }
        ]
      }
    ]
  },
  "response_time": 2354,
  "credits_used": 1
}

A captured /prices row for {"skus": ["73216", "59716", "64508"]}, with an Inside Track member deal:

json
{
  "sku": "59716",
  "id": 30724,
  "title": "9 Amp, 1/2 in. Variable-Speed D-Handle Drill",
  "brand": "BAUER",
  "url": "https://www.harborfreight.com/9-amp-12-in-variable-speed-d-handle-drill-59716.html",
  "price": 59.99,
  "regular_price": 59.99,
  "on_sale": false,
  "clearance": false,
  "sale": null,
  "coupon": null,
  "member_deal": {
    "code": "32457254",
    "price": 42.99,
    "was_price": 59.99,
    "savings": "28%",
    "expires": "2026-12-03",
    "limit": 2,
    "members_only": true
  },
  "compare_at": { "brand": "RIDGID", "model": "R71111", "price": 139, "savings": "$79.01" },
  "badges": [],
  "sold_in": "Store",
  "in_store_only": true,
  "online_only": false
}

A captured /clearance row for {"query": "drill"} (image trimmed):

json
{
  "position": 1,
  "id": 12112,
  "sku": "63443",
  "title": "7.3 Amp, 1 in. SDS-PLUS Type Variable-Speed Rotary Hammer",
  "brand": "BAUER",
  "category": "Power Tools",
  "url": "https://www.harborfreight.com/73-amp-1-in-sds-plus-type-variable-speed-rotary-hammer-63443.html",
  "price": 39.97,
  "regular_price": 49.97,
  "on_sale": true,
  "clearance": true,
  "sale": { "price": 39.97, "ends_at": "2026-12-03 23:59:59", "savings": "20%", "banner_code": "CLR", "clearance": true },
  "coupon": null,
  "member_deal": null,
  "compare_at": null,
  "badges": [],
  "rating": 4.6,
  "review_count": 1528,
  "sold_in": "Store",
  "in_store_only": true,
  "online_only": false,
  "variants": null
}
python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def hf(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/harborfreight/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. Find the item (1 credit). A keyword that maps to a category can come back
#    with no rows and a redirect; retry with a category_id from the facets.
found = hf("search", {"query": "impact wrench", "sort": "top_rated"})
if not found["products"] and found["redirect"]:
    cats = next(f for f in found["facets"] if f["name"] == "category")["options"]
    found = hf("search", {"category_id": cats[0]["value"], "sort": "top_rated"})
row = found["products"][0]
member = row["member_deal"]["price"] if row["member_deal"] else None
print(row["sku"], row["title"], row["price"], "member:", member)

# 2. Status and aisle at the 10 stores nearest a ZIP (1 credit)
stock = hf("availability", {"skus": [row["sku"]], "zip": "60601"})
for s in stock["stores"]:
    it = s["items"][0]
    print(s["name"], s["distance_miles"], "mi:", it["stock_status"], it["aisle"])

# 3. Recent reviews (1 credit)
for rv in hf("reviews", {"sku": row["sku"], "limit": 5})["reviews"]:
    print(rv["rating"], rv["title"])

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Nothing is cached; fetched_at is when Harbor Freight answered.

Price block (on every search, clearance, prices and product row): price, regular_price, on_sale, clearance, sale {price, ends_at, savings, banner_code, clearance} or null, coupon {code, price, was_price, savings, expires, limit, members_only} or null, member_deal (same shape as coupon) or null, compare_at {brand, model, price, savings} or null.

  • search / clearance - query, category_id, brand, clearance, sort, page, page_size, corrected_query, redirect {url, category_id, category_name} or null, total_results, total_pages, count, products[] (position, id, sku, title, brand, category, url, image, price block, badges[], rating, review_count, sold_in, in_store_only, online_only, variants {name, options[], count} or null), facets[] {name, type, options[] {label, value, count}}.
  • product - id, sku, title, brand, upc, category, url, price block, badges[], rating, review_count, sold_in, in_store_only, online_only, online_only_message, summary, description, highlights[], specifications[] {label, value}, warranty, shipping_notes[], manuals[] {title, url}, images[], variants {options[], items[] {id, sku, url, attributes[]}} or null.
  • prices - count, not_found[], products[] (sku, id, title, brand, url, price block, badges[], sold_in, in_store_only, online_only).
  • stores - query, latitude, longitude, radius_miles, count, stores[] (store_id, name, address, city, state, zip, latitude, longitude, phone, distance_miles, status, opened, hours {monday_friday, saturday, sunday}).
  • availability - skus[], store_ids, zip, latitude, longitude, inventory_updated_at, total_stores, count, stores[] (every store field above plus items[] {sku, stock_status, stock_code, aisle, nearby_store_with_stock {store_id, stock_status} or null}).
  • reviews - sku, average_rating, total_results, offset, limit, count, reviews[] (id, title, text, rating, author, date, purchase_date, incentivized, helpful_votes, unhelpful_votes, answers[] {question, answers[]}).

Guardrails

  • Prices are in dollars and national: 59.99 is $59.99 at every store. No endpoint takes a store for price, so never claim a store-specific price.
  • price is what the shelf charges now (the sale price while a sale runs); regular_price is the list price. sale carries the sale price, ends_at and savings; banner_code CLR means clearance. On many clearance items regular_price already equals the clearance price and sale.savings is "0".
  • coupon is the public coupon price with its code, expiry and per-customer limit. member_deal is the Inside Track Club member price and needs a paid membership; say so when quoting it. Neither is applied to price; quote them separately and do not stack them into a final price.
  • compare_at is the competitor brand, model and price Harbor Freight itself quotes on the page, not a live price from that retailer. savings is Harbor Freight's text ("39%" or "$79.01").
  • Store stock is a status, never a unit count: in_stock, limited, out_of_stock (the site reads "Back In Stock Soon") or not_carried (the store does not sell it; an aisle can still appear). Never turn a status into a number.
  • Stock comes from a daily snapshot: inventory_updated_at is when it was taken. Quote it with the status, and tell the user to confirm with the store for same-day plans.
  • /availability with zip or coordinates returns the nearest stores (limit, default 10) out of total_stores within about 200 miles. With store_ids, unknown store numbers are simply absent from stores.
  • A keyword that maps to a category page (e.g. "wrench") follows that category: redirect.category_id is set and the rows are the category's. If redirect is set with category_id: null, products is empty even though total_results is not 0; retry with a category_id from the category facet or a narrower keyword.
  • sold_in is where it sells (Store, All, DTC); in_store_only: true items cannot be shipped.
  • The product's review_count and the reviews endpoint's total_results can differ by a few reviews; quote the one from the call you made.
  • Never fabricate prices, stock, aisles or reviews. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (neither query nor category_id on search, an item number that is not 3-8 digits, a URL without the item number, an unknown sort, page_size above 48, more than 50 skus on prices or 20 on availability, more than 20 store_ids, a ZIP that is not 5 digits, or a stores query that is neither a ZIP nor "City, ST").
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 on /product or /reviews means no such item number; re-run the search for a fresh sku. Not charged. On /prices unknown item numbers are not an error: they come back in not_found.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 or 503 means Harbor Freight is temporarily unavailable. It is not charged; retry after a few seconds.

SDKs

bash
pip install scavio==0.33.0
npm install scavio@0.33.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: found } = await scavio.harborFreight.search({ query: "floor jack", sort: "price_low" });
const sku = found.products[0].sku;
const item = await scavio.harborFreight.product({ sku });
const stock = await scavio.harborFreight.availability({ skus: [sku], zip: "60601" });
const prices = await scavio.harborFreight.prices({ skus: found.products.slice(0, 50).map((p) => p.sku) });

MCP: the Scavio MCP server exposes all 7 endpoints as tools (search_harbor_freight, get_harbor_freight_clearance, get_harbor_freight_product, get_harbor_freight_prices, get_harbor_freight_stores, get_harbor_freight_availability, get_harbor_freight_reviews). Harbor Freight is opt-in: add harborfreight to SCAVIO_PLATFORMS.

json
{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.31.0"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,harborfreight"
      }
    }
  }
}

Docs

Full reference per endpoint: search, clearance, product, prices, stores, availability, reviews. Overview: Harbor Freight API.

常见问题

Harbor Freight Api AI 技能有什么作用?

Harbor Freight API:搜索 harborfreight.com 或查看清仓商品,获取全国售价、促销价及促销结束日期、公开优惠券价、Inside Track 会员价和竞品对比价;读取单件商品的 UPC、规格和说明书;一次批量查询最多 50 件商品的价格;查找 ZIP 邮编附近的门店;查询附近门店最多 20 件商品的库存情况(有货、库存有限或缺货)及货架位置;还可分页查看顾客评论。共 7 个端点,每个端点消耗 1 个额度。

为什么在 TypingMind 中使用 Harbor Freight Api?

因为您只需安装一次,就能搭配任何模型使用。Harbor Freight Api 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Harbor Freight Api?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scavio-ai/skills/tree/main/skills/harbor-freight-api。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Harbor Freight Api?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Harbor Freight Api 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Harbor Freight Api 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Harbor Freight Api AI 技能免费吗?

是的。scavio-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇