Canadian Tire Api 标志

Canadian Tire Api

社区
scavio-ai
canadian-tire-api

Canadian Tire API:在您选择的门店搜索 canadiantire.ca,获取该门店以 CAD 计价的价格、原价和库存;读取完整商品详情;一次调用即可查询最多 50 个 SKU 的价格和库存;按邮政编码查找附近门店,并获取指定商品的库存和货架通道;列出各门店的清仓商品和优惠。共 6 个端点,每个 1 个积分。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/canadian-tire-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/canadian-tire-api .claude/skills/canadian-tire-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Canadian Tire API - Store Prices, Stock, Clearance, Deals

Search Canadian Tire and read products at the store you choose: that store's price and regular price in CAD, units in stock and aisle, sale and clearance flags, and pickup and delivery dates. Check up to 50 SKUs at once, find stores near a postal code with their stock of one item, and list a store's clearance and deals. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find tools, automotive, home or outdoor products at Canadian Tire by keyword or category
  • Check what an item costs at a specific Canadian Tire store, and how many are in stock there and in which aisle
  • Find which Canadian Tire stores near a postal code have an item in stock
  • Check price and stock for a list of SKUs at one store
  • List clearance items at a Canadian Tire store
  • List a store's sale prices, instant rebates, special buys or Triangle Rewards offers
  • Compare Canadian Tire prices across stores or provinces, or monitor them

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 Canadian Tire endpoints cost 1 credit.

EndpointCreditsWhat it returns
POST /api/v1/canadiantire/search124 results per page at one store: price and regular price (CAD), price range for multi-variant items, savings, badges, rebate, rating, review count, brand, part number, SKUs, and stock at the store and online
POST /api/v1/canadiantire/product1One product by code: breadcrumb, images, videos, descriptions, features, specifications, price and regular price, warranty, manuals, variants with their SKUs, and the store's stock and pickup and ship-to-home dates
POST /api/v1/canadiantire/stores1Stores near a postal code or coordinates, nearest first: store_id, name, address, phone, coordinates, distance, weekly hours, services. With sku, each store's stock quantity and aisle for it
POST /api/v1/canadiantire/availability1Up to 50 SKUs at one store in one call: price, regular price, sale and clearance flags, price valid-until date, quantity, aisle, online stock, pickup and delivery dates. Unknown SKUs are listed in not_found
POST /api/v1/canadiantire/clearance1Every clearance item at one store, 100 per page, filtered to items Canadian Tire lists as available there by default
POST /api/v1/canadiantire/deals1Items on a deal at one store, 100 per page: sale, instant_rebate, special_buy or loyalty (Triangle Rewards)

Workflow

Prices and stock are per store, and differ by province (Quebec prices differ from Ontario's), so pin the store first.

  1. Pick the store: call /canadiantire/stores with the user's postal_code (or latitude and longitude). Each row has a store_id.
  2. Search at that store: call /canadiantire/search with query (or category_id) and store_id. Each row has a code (like 0547273P) and its 7-digit sku.
  3. One product in full: call /canadiantire/product with the code as product_code and the same store_id.
  4. Many SKUs at once: call /canadiantire/availability with store_id and up to 50 skus. This is the cheap way to watch a list of items at one store.
  5. Which nearby store has it: call /canadiantire/stores with sku. Each store gets quantity and aisle for that item.
  6. Markdowns: call /canadiantire/clearance or /canadiantire/deals with store_id.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringone ofKeywords. Pass this or category_id. A broad word like "drill" that the site answers with a category page returns that category's products
category_idstringone ofDC followed by 7 digits (e.g. DC0002209), or a canadiantire.ca category URL ending in one
store_idstringrequiredStore number from /stores, e.g. "600"
pageinteger11-based page (1-100), 24 results per page
sortstringrelevancerelevance, price_asc, price_desc, newest, rating or bestseller
in_stock_onlybooleanfalseOnly items in stock at store_id

Product (/product)

ParameterTypeDefaultDescription
product_codestringrequiredThe code of a search result, e.g. 0547273P
store_idstringrequiredStore number

Stores (/stores)

ParameterTypeDefaultDescription
postal_codestringone ofCanadian postal code (or its first 3 characters), e.g. M5V 2T6
latitude, longitudenumberone ofCoordinates to search around, instead of postal_code
radius_kmnumber25Search radius in km, 1-200
limitinteger10Stores to return, nearest first, 1-50
skustring-7-digit SKU; each store also gets its stock quantity and aisle for it

Availability (/availability)

ParameterTypeDefaultDescription
store_idstringrequiredStore number
skusstring[]required1-50 SKUs, 7 digits each (the sku of a search result or product variant)

Clearance (/clearance)

ParameterTypeDefaultDescription
store_idstringrequiredStore number
pageinteger11-based page (1-100), 100 results per page
in_stock_onlybooleantrueOnly clearance items Canadian Tire lists as available at store_id. Its index counts nearly every clearance item as available, so 10-25% of rows can still show store_quantity 0 or null: filter on store_quantity > 0 for what is on the shelf

Deals (/deals)

ParameterTypeDefaultDescription
store_idstringrequiredStore number
typestringrequiredsale (this week's sale prices), instant_rebate, special_buy or loyalty (Triangle Rewards offers)
pageinteger11-based page (1-100), 100 results per page

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/canadiantire/availability \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store_id": "600", "skus": ["0547273", "0438858"]}'

Captured response (store 600; trimmed to 1 of 2 items):

json
{
  "data": {
    "store_id": "600",
    "count": 2,
    "not_found": [],
    "items": [
      {
        "sku": "0547273",
        "sku_number": "054-7273-0",
        "part_number": "DCK277D2",
        "price": 199.99,
        "was_price": 299.99,
        "price_range": null,
        "was_price_range": null,
        "savings": "Save 33% ($100.00)",
        "is_on_sale": true,
        "is_clearance": false,
        "badges": ["BESTSELLER", "TESTEDFORLIFE", "PROMO"],
        "rebate": null,
        "price_valid_until": "2026-11-05T23:59:59.000Z",
        "quantity": 3,
        "aisle": "Aisle 219",
        "warehouse_quantity": 1596,
        "sellable": true,
        "orderable": true,
        "pickup": { "enabled": true, "eta": "2026-10-31T12:30:00.000Z" },
        "ship_to_home": { "enabled": false, "eta_earliest": "2026-11-02T00:00:00.000Z", "eta_latest": null },
        "express_delivery": { "enabled": true, "eta": "2026-10-31T13:00:00.000Z", "order_by": "2026-10-31 16:30:00.0" },
        "warehouse_pickup_eta": "2026-11-06T00:00:00.000Z",
        "warehouse_ship_eta": "2026-11-07T00:00:00.000Z"
      }
    ]
  },
  "response_time": 1974,
  "credits_used": 1
}

A captured /stores row for {"postal_code": "M5V 2T6", "sku": "0438858"} (hours trimmed to one day):

json
{
  "store_id": "621",
  "name": "Liberty Village, ON",
  "address": {
    "line1": "5 Joe Shuster Way",
    "line2": null,
    "city": "Toronto",
    "province": "ON",
    "postal_code": "M6K 0C7",
    "formatted": "5 Joe Shuster Way, Ontario, Toronto, M6K 0C7"
  },
  "phone": "4165883232",
  "latitude": 43.639935,
  "longitude": -79.423492,
  "distance_km": 1.94,
  "timezone": "America/Toronto",
  "hours": [{ "day": "Sunday", "open": "8:00 AM", "close": "10:00 PM" }],
  "services": [],
  "curbside_pickup": true,
  "quantity": 2,
  "aisle": null,
  "warehouse_quantity": 4
}
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 ct(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/canadiantire/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. The user's store
store = ct("stores", {"postal_code": "M5V 2T6", "limit": 1})["stores"][0]
sid = store["store_id"]

# 2. Search at that store, in stock only
rows = ct("search", {"query": "dewalt drill", "store_id": sid, "in_stock_only": True})["products"]

# 3. Price and stock for every hit in one call
skus = [r["sku"] for r in rows if r["sku"]][:50]
for it in ct("availability", {"store_id": sid, "skus": skus})["items"]:
    print(it["sku"], it["price"], "was", it["was_price"], "qty", it["quantity"], it["aisle"])

# 4. This store's clearance
clr = ct("clearance", {"store_id": sid})
print(clr["total_results"], "clearance items at", store["name"])

Response shapes

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

  • search / clearance / deals - query, category_id, category_name, corrected_query, redirect_url (search) or deal_type (clearance, deals), store_id, page, page_size, total_results, total_pages, count, categories[] {category_id, name}, products[] (position, code, sku, skus[], sku_number, part_number, title, brand, url, image, rating, review_count, price, was_price, price_range {min, max}, was_price_range, savings, is_on_sale, is_clearance, badges[], rebate {message, price_after_rebate}, is_multi_variant, store_quantity, warehouse_quantity, sellable, warranty).
  • product - code, name, brand, url, breadcrumb[], images[], videos[], rating, review_count, short_description, description, features[], specifications[] {label, value}, part_number, the price fields above, warranty, manuals[], status, sellable, store_id, store_quantity, warehouse_quantity, pickup, ship_to_home, express_delivery, warehouse_pickup_eta, warehouse_ship_eta, options[], variants[] {sku, sku_number, part_number, name, url, status, sellable, badges[], specifications[]}.
  • stores - latitude, longitude, location_source, postal_code, fsa, radius_km, sku, count, stores[] (store_id, name, url, address {line1, line2, city, province, postal_code, formatted}, phone, latitude, longitude, distance_km, timezone, hours[] {day, open, close}, services[], curbside_pickup, and with sku: quantity, aisle, warehouse_quantity).
  • availability - store_id, count, not_found[], items[] (sku, sku_number, part_number, price fields, price_valid_until, quantity, aisle, warehouse_quantity, sellable, orderable, pickup, ship_to_home, express_delivery, warehouse_pickup_eta, warehouse_ship_eta).

Guardrails

  • Prices are in Canadian dollars: 199.99 is CA$199.99.
  • Every price and stock figure belongs to store_id. Prices differ by province (Quebec differs from Ontario), so never carry a price from one store to another; name the store when quoting.
  • A multi-variant product (tires, sizes, colours) has price: null and a price_range instead. Use /availability with the variant's 7-digit sku for one exact price.
  • store_quantity / quantity is units at the store; warehouse_quantity is the online warehouse, not the store.
  • Canadian Tire returns rating and review_count only; there is no review text endpoint.
  • Never fabricate prices, stock or aisles. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (no store_id, neither query nor category_id, a product_code not like 0547273P, a SKU that is not 7 digits, or an unknown deal type).
  • 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 means no such product code; re-run the search for a fresh code. Not charged. On /availability unknown SKUs are not an error: they come back in not_found.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Canadian Tire is temporarily unavailable. It is not charged; retry after a few seconds.

SDKs

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

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: near } = await scavio.canadianTire.stores({ postal_code: "M5V 2T6", limit: 1 });
const store_id = near.stores[0].store_id;
const found = await scavio.canadianTire.search({ query: "dewalt drill", store_id });
const stock = await scavio.canadianTire.availability({ store_id, skus: ["0547273", "0438858"] });
const deals = await scavio.canadianTire.deals({ store_id, type: "sale" });

MCP: the Scavio MCP server exposes all 6 endpoints as tools (search_canadian_tire, get_canadian_tire_product, get_canadian_tire_stores, get_canadian_tire_availability, get_canadian_tire_clearance, get_canadian_tire_deals). Canadian Tire is opt-in: add canadiantire to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, product, stores, availability, clearance, deals. Overview: Canadian Tire API.

常见问题

Canadian Tire Api AI 技能有什么作用?

Canadian Tire API:在您选择的门店搜索 canadiantire.ca,获取该门店以 CAD 计价的价格、原价和库存;读取完整商品详情;一次调用即可查询最多 50 个 SKU 的价格和库存;按邮政编码查找附近门店,并获取指定商品的库存和货架通道;列出各门店的清仓商品和优惠。共 6 个端点,每个 1 个积分。

为什么在 TypingMind 中使用 Canadian Tire Api?

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

如何在 TypingMind 中安装 Canadian Tire Api?

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

哪些 AI 模型可以使用 Canadian Tire Api?

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

Canadian Tire Api 可以搭配多少个 AI 模型使用?

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

Canadian Tire Api AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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