Bath And Body Works Api 标志

Bath And Body Works Api

社区
scavio-ai
bath-and-body-works-api

Bath & Body Works API,适用于 Bath & Body Works(bathandbodyworks.com,美国身体护理和家居香氛零售商;以及提供英文服务、以 CAD 计价的 bathandbodyworks.ca):查询 Bath & Body Works 的价格和促销、每件商品的售价和标价,以及附加优惠的具体起止时间和条款,均与网站展示一致(Into the Night Gift Set 售价 $92.95,附带优惠文案“任意消费满 $40,即可按 $40 购买|价值 $130.90”,优惠时间为 2026-11-26 11:00 至 2026-11-27 11:00 UTC);查询首页优惠卡片和 Top Offers 磁贴(黑色星期五期间有 15 张优惠卡片和 2 个磁贴,包含“全店买 3 送 4”);查询某家门店是否接受某商品的自提订单及自提购买数量上限(德克萨斯州圣安东尼奥的门店 BBW00010 接受自提订单,上限为 24 件);价格为全国统一价;支持关键词搜索和分类页面,包括 Top Offers、Black Friday 等优惠页面,可查询网站显示的 48 条结果及其总数,按相关性、价格、评分最高或最新上架排序,并按香氛名称、香氛类别和商品类型筛选;查询商品完整信息,包括香调、成分、UPC 和线上购买数量上限(每种规格都有独立商品 ID);查询加拿大商品及对应的美国商品 ID(Champagne Toast 3-Wick Candle 在美国售价 $24.95 USD,在加拿大售价 $26.95 CAD);查询目录中的所有门店 ID(加拿大有 114 家),以及单家门店的地址、电话、营业时间和服务;查询商品评分、评论数和最新 4 条评论(不含评论者姓名);查询分类树。共 10 个端点,每次调用消耗 1 个 credit。不提供库存数量、按邮编搜索门店、第 2 页结果、搜索建议、完整评论分页或价格历史。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Bath And Body Works Api。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Bath & Body Works API - Prices, Promotions, Store Pickup

Read Bath & Body Works (bathandbodyworks.com, the US body care and home fragrance retailer, and bathandbodyworks.ca in English): keyword search and category pages, one product in full, the promotions attached to a product with their start and end times, the current offer cards and Top Offers tiles, whether one store takes a pickup order for a product, one store's public page, the store directory, a product's review summary and the category tree. country us (default, bathandbodyworks.com, USD) or ca (bathandbodyworks.ca in English, CAD) on every endpoint. Every endpoint returns structured JSON at 1 credit per call.

The job this skill is for: Bath & Body Works prices and promotions. What a candle, lotion or gift set costs today and which offers apply to it, with the dates the site gives each offer. On 2026-11-26 (Thanksgiving, the eve of Black Friday) the Champagne Toast 3-Wick Candle (028029548, 14.5 oz / 411 g) read $24.95 with list price $24.95 and the callout "Mix & Match: Buy 3, Get 4 FREE"; on bathandbodyworks.ca the same candle (028013573, us_product_id 028029548) read $26.95 CAD with "Buy 3, get 4 free everything". /promotions on the Into the Night Gift Set (025510502, $92.95) gave 3 promotions, one "$40 with any $40 purchase | $130.90 value" from 2026-11-26T11:00:00Z to 2026-11-27T11:00:00Z, with its terms as given. /offers read 15 offer cards and 2 Top Offers tiles, the first tile "Buy 3 get 4 FREE" on "Entire store", "Free items are the 4 lowest priced items in each set of 7 eligible items.*". Pair it with ulta-beauty-api, target-product-data and amazon-product-data for the same UPC elsewhere.

Eight limits shape every answer, so say them plainly:

  • 1 credit per call. Every endpoint is 1 credit. credits_used in the response is the truth. A not-found (404) is charged; a refused input (400) and an upstream failure (502, 503) are not.
  • 48 results, no page 2. Bath & Body Works shows 48 results of a search or category on its page: count is at most 48 and total is the site's own result count. There is no page 2 (a page other than 1 is a 400); narrow with sort or the filters.
  • Prices are national. The same price at every store. Report "$24.95 at bathandbodyworks.com on 2026-11-26", never a store's price, and never carry a US price to Canada or the reverse.
  • Multi-buy offers are a rule, not a price. "Buy 3, Get 4 FREE" is applied in the bag; the rule text is in promotions and offers terms. No per-unit or after-offer price is computed, and none should be claimed. promotional_price is the site's own field, set only where the site states one (gift sets with a qualifying-purchase offer; it can equal the list price, the offer itself is in the callout).
  • Store pickup is a purchase limit, not stock. /store-availability returns store_orderable (whether the store takes a pickup order for the product) and pickup_purchase_limit (the most the store lets you reserve for pickup, 0-24). Bath & Body Works publishes no unit counts; never present the limit as stock or units.
  • No store search by ZIP. /stores lists every store id in the market's directory; /store reads one store's address, coordinates and hours. There is no search near a ZIP or a city.
  • Every size is its own product. There are no variants: each size has its own product id and price. A Canadian product carries us_product_id, the matching US id.
  • No history, no full reviews. /reviews-summary gives the rating, review count and up to 4 newest reviews, without reviewer names; full review paging, sorting and star filters are not offered. Nothing is cached or kept: poll and store your own series.

Bath & Body Works does not offer a public API for reading its catalog, prices, promotions or store pickup. Prices, offers and store pickup are shown on bathandbodyworks.com and bathandbodyworks.ca, and this skill reads those public pages with one Scavio key. Its international stores are run by partners on their own sites and are not read.

Bath & Body Works reported 1,927 company-operated stores in the United States and Canada and 573 partner stores in 45+ countries in its 10-K for fiscal 2025. Quote these with their source, never from the samples.

See also: for the same item at Ulta Beauty use ulta-beauty-api; at Target target-product-data; at Amazon amazon-product-data; at Walmart walmart-product-data; prices across retailers google-shopping-api; another body care and fragrance retailer sephora-product-data.

When to trigger

Use this skill when the user asks to:

  • Price a Bath & Body Works candle, body care or home fragrance product, with its list price and the offers attached to it
  • Read the start and end times and terms of the promotions on one Bath & Body Works product
  • List the current Bath & Body Works offers: the site-wide banner, the menu offers, the home page cards and the Top Offers tiles
  • Search bathandbodyworks.com by keyword, sorted by price, top rated or new arrivals, or filtered by fragrance name, fragrance family or product type
  • List a Bath & Body Works category or deal page (3-Wick Candles, Top Offers, Black Friday)
  • Read one product in full: fragrance notes, description, ingredients, UPC, size, online purchase limit and low-stock flag
  • Check whether one Bath & Body Works store takes a pickup order for a product, and its pickup purchase limit
  • Read a Bath & Body Works store's address, phone, hours and services, or list every store id in the US or Canada
  • Read a product's rating, review count and newest reviews
  • Read the same product on bathandbodyworks.ca in CAD with its matching US id

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 call in this skill costs 1 credit, so 50 credits cover 50 calls.

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. Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth, 1,000 credits cost $1.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. In the captures, the store directory took about 2 seconds, a Canadian search or product about 4, a category about 5, and search, product, store, offers, promotions, reviews summary and store availability 13-32. Promotions and store availability are slower than product (10-40 seconds). Allow a client timeout of at least 180 seconds: a busy moment can queue a request.

EndpointWhat it returnsMarketsCredits
POST /api/v1/bathandbodyworks/searchKeyword search: the 48 results the site shows with its total, facets, prices and promotion calloutsus, ca1
POST /api/v1/bathandbodyworks/categoryOne category or deal page (/c/..., /g/..., /t/...), sorted and filtered like searchus, ca1
POST /api/v1/bathandbodyworks/categoriesThe site's category tree (its navigation menu)us, ca1
POST /api/v1/bathandbodyworks/productOne product by id or link: price, list price, promotions, fragrance notes, ingredients, UPC, online purchase limitus, ca1
POST /api/v1/bathandbodyworks/promotionsThe promotions attached to one product with start and end times (ISO, UTC) and terms as givenus, ca1
POST /api/v1/bathandbodyworks/offersThe home page's offer cards and the Top Offers tilesus, ca1
POST /api/v1/bathandbodyworks/store-availabilityWhether one store takes a pickup order for one product, and its pickup purchase limitus, ca1
POST /api/v1/bathandbodyworks/storeOne store's public page: address, phone, coordinates, hours, services, store typesus, ca1
POST /api/v1/bathandbodyworks/storesEvery store id in the market's store directoryus, ca1
POST /api/v1/bathandbodyworks/reviews-summaryA product's rating, review count and up to 4 newest reviewsus, ca1

country is us (default, bathandbodyworks.com, USD) or ca (bathandbodyworks.ca in English, CAD). Spanish (es-US) and French (fr-CA) are not offered: the site serves the same English product data there. A product or store link sets the market; a country that does not match the link is a 400.

Prices and promotions

Every product card and product carries:

FieldMeaning
priceThe current price in the market's currency (currency USD or CAD)
list_priceThe list price as the site gives it
promotional_priceThe site's own promotional price field, set only where the site states one; null otherwise
promotions[{id, callout, promotional_price}]: the offers attached to the product; callout is the text shown on it ("Mix & Match: Buy 3, Get 4 FREE"), null for a member or bag offer the product qualifies for
badgeThe site's badge as given ("Best Seller", "Trending", "In 37,535 bags")
member_exclusiveThe site's member-exclusive flag
online_orderable, in_store_pickupWhether the product can be ordered online and picked up in store

/promotions adds, per promotion, name, start_date and end_date (ISO, UTC, as the site gives them) and terms as given. /offers gives the site-wide offer cards with placement (banner, menu or home), headline, validity (the site's own text), terms, percent_off, promo_code where one is needed and link_path.

  • National: one price per product per market. Report it with the market, the date and the size; never per store.
  • Offers: quote the callout, the validity text or the start and end times, and the terms as given. A multi-buy offer is a bag rule ("Free items are the 4 lowest priced items in each set of 7 eligible items."); compute no per-unit or after-offer price.
  • Sale prices: on 2026-11-26 every captured price equalled its list_price (the Black Friday offer was a buy 3, get 4 rule). Report the two fields as given.
  • Report the site's labels and dates only. Never judge a price, an offer or its deadline, and never describe how often an item is on sale.

Workflow

  1. Find the product. /search with query (a product, a fragrance or a collection), or /category with a path from /categories (/c/all-candles/3-wick-candles, /g/top-offers, /t/black-friday). Each product's id is the input of product, promotions, store-availability and reviews-summary.
  2. Read it in full. /product with product_id (or the product url): price, list price, promotions, fragrance notes, ingredients, UPC and online {orderable, purchase_limit, low_stock}. Each size is its own id.
  3. Offer dates. /promotions with the same product_id: each promotion's start and end time and terms.
  4. Site-wide offers. /offers for the banner, menu and home page offer cards and the Top Offers tiles; read a tile's link_path with /category.
  5. Store pickup. /stores lists store ids; /store gives one store's city, state, address and hours; /store-availability with product_id and store_id says whether that store takes a pickup order and its pickup_purchase_limit.
  6. Narrow a list. sort and the filters fragrance_name, fragrance_family and product_type (one value or a list of up to 10, exactly as facets[].values[].value gives them). There is no page 2.
  7. Canada. Send country ca. A Canadian product's us_product_id is its US id: read both and report each in its own currency, never converted.
  8. Watching prices and offers: there is no history. Poll the same products on a schedule and store each answer with its fetched_at and market; that stored series is the history.

Parameters

Product (/product), promotions (/promotions), reviews summary (/reviews-summary)

ParameterTypeDefaultDescription
product_idstringone ofA Bath & Body Works product id, 9 digits (028029548: products[].id). Every size is its own id
urlstringone ofThe product link (bathandbodyworks.com or bathandbodyworks.ca /p/...-<id>); the link's site sets country
countrystringusus or ca

Store availability (/store-availability)

ParameterTypeDefaultDescription
product_id or urlstringrequiredAs for product
store_idstringrequiredA store id, BBW + 5 digits (BBW00010: stores[].store_id)
countrystringusus or ca; a Canadian store needs ca

Search (/search) and category (/category)

ParameterTypeDefaultDescription
querystringsearch: requiredA keyword: a product, a fragrance or a collection, 1-120 chars
pathstringcategory: requiredA category path from categories (/c/all-candles/3-wick-candles, /g/top-offers, /t/black-friday) or its link, without query parameters
sortstringrelevancerelevance, price_low, price_high, top_rated, new_arrivals (the site's own sorts)
fragrance_namestring or arraynoneFragrances as the site names them (Champagne Toast); up to 10
fragrance_familystring or arraynoneWarm & Woodsy, Treats & Sweets, Fruity & Bright, Fresh & Clean, Botanicals & Blooms; up to 10
product_typestring or arraynoneProduct types as the site names them (3-Wick Candle, Body Lotion); up to 10
countrystringusus or ca

Store (/store), stores (/stores), categories (/categories), offers (/offers)

/store takes store_id (required) and country. /stores, /categories and /offers take only country. /stores refuses zip, postal_code, location, latitude, longitude, near, state and city: the directory lists store ids, and /store gives each store's city and state.

Examples

The promotions on one product, with their dates

bash
curl -X POST https://api.scavio.dev/api/v1/bathandbodyworks/promotions \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "025510502"}'

Captured data (2026-11-26; the first promotion's terms cut, notes dropped):

json
{
  "country": "us",
  "product_id": "025510502",
  "name": "Into the Night Gift Set",
  "currency": "USD",
  "price": 92.95,
  "count": 3,
  "promotions": [
    {
      "id": "BF_40w40_PWP_Bonus_130.90_tag_clone",
      "name": "$40 with any $40 purchase",
      "callout": "$40 with any $40 purchase | $130.90 value",
      "promotional_price": 92.95,
      "start_date": "2026-11-26T11:00:00.000Z",
      "end_date": "2026-11-27T11:00:00.000Z",
      "terms": "*Online Only! - $40 Select Gift Sets with $40 Purchase + Free Tote valid on November 26, 2026 at 6:00 AM ET to November 27, 2026 at 5:59 AM ET. While supplies last. ..."
    },
    {
      "id": "LOYALTY_XmasBag_1124",
      "name": null,
      "callout": null,
      "promotional_price": null,
      "start_date": "2026-11-24T11:00:00.000Z",
      "end_date": "2026-12-25T11:00:00.000Z",
      "terms": null
    },
    {
      "id": "BF_40w40_PWP_Bonus",
      "name": null,
      "callout": null,
      "promotional_price": null,
      "start_date": "2026-11-25T11:00:00.000Z",
      "end_date": "2026-12-02T11:00:00.000Z",
      "terms": null
    }
  ]
}

A promotion without a callout is a member or bag offer the product qualifies for. Here promotional_price equals price: the offer itself is in the callout and the terms. A product with no promotions answers count 0 with the note "No promotions are attached to this product right now."

Whether one store takes a pickup order

bash
curl -X POST https://api.scavio.dev/api/v1/bathandbodyworks/store-availability \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "028029548", "store_id": "BBW00010"}'

Captured data (2026-11-26; notes cut to 2 of 3):

json
{
  "country": "us",
  "product_id": "028029548",
  "store_id": "BBW00010",
  "store": { "name": "SOUTH PARK MALL", "city": "SAN ANTONIO", "state": "TX" },
  "name": "Champagne Toast 3-Wick Candle",
  "size": "14.5 oz / 411 g",
  "currency": "USD",
  "price": 24.95,
  "store_orderable": true,
  "pickup_purchase_limit": 24,
  "online_orderable": true,
  "online_purchase_limit": 24,
  "low_stock": false,
  "notes": [
    "store_orderable is whether the store takes a pickup order for this product. pickup_purchase_limit is the most the store lets you reserve for pickup (0-24): Bath & Body Works does not label it as stock and publishes no unit counts, so it is not a stock count. low_stock is the site's own flag.",
    "Prices are national: the same price at every store (price)."
  ]
}

Report it as "store BBW00010 (South Park Mall, San Antonio, TX) takes pickup orders for this candle, up to 24 per order". An unknown store id is a charged 404 ("Bath & Body Works has no store <store_id> on its US site (a Canadian store needs country ca) (stores[].store_id).").

Search with a sort and a filter

bash
curl -X POST https://api.scavio.dev/api/v1/bathandbodyworks/search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "candle", "sort": "top_rated", "product_type": "3-Wick Candle"}'

Captured data (2026-11-26; 1 of 48 products shown, facets and notes dropped):

json
{
  "query": "candle",
  "country": "us",
  "currency": "USD",
  "sort": "top_rated",
  "filters": { "fragrance_name": [], "fragrance_family": [], "product_type": ["3-Wick Candle"] },
  "total": 123,
  "count": 48,
  "has_more": true,
  "selected_filters": { "product_type": "3-Wick Candle" },
  "products": [
    {
      "id": "028037702",
      "name": "Vanilla Eggnog 3-Wick Candle",
      "brand": null,
      "product_type": "3-Wick Candle",
      "form": "3-Wick Candle",
      "size": "13.5 oz / 383g",
      "currency": "USD",
      "price": 26.95,
      "list_price": 26.95,
      "promotional_price": null,
      "promotions": [
        { "id": "ALL_b3g4_clone", "callout": "Mix & Match: Buy 3, Get 4 FREE", "promotional_price": null },
        { "id": "LOYALTY_XmasBag_1124", "callout": null, "promotional_price": null },
        { "id": "BF_40w40_PWP_Bonus", "callout": null, "promotional_price": null }
      ],
      "rating": 5,
      "review_count": 4,
      "badge": null,
      "fragrance_name": "Vanilla Eggnog",
      "fragrance_family": "Treats & Sweets",
      "online_orderable": false,
      "in_store_pickup": true,
      "member_exclusive": false,
      "launch_date": "2026-11-06T06:00:00.000Z",
      "url_path": "/p/vanilla-eggnog-3-wick-candle-028037702",
      "us_product_id": null
    }
  ],
  "redirect_path": null
}

123 matched and the site showed 48 (has_more true): narrow with a fragrance or a different sort rather than asking for page 2. Facets: Fragrance Name (107 values), Fragrance Category (5) and Product Type (5). Where the site sends a search to a page instead of listing results, redirect_path names it; read it with /category.

Product, category, categories, offers, store, stores, reviews summary and Canada

  • /product {"product_id": "028029548"}: Champagne Toast 3-Wick Candle, White Barn, 14.5 oz / 411 g, $24.95 (list price $24.95), rating 4.75 from 3,789 reviews, fragrance_notes top "Kir royale, vintage Champagne, sparkling tangerine, juicy passionfruit", heart "dark plum, white nectarine, black currant", base "warm woods, sugared musk, vanilla extract", upc 667659466474, collection CORE, online {orderable true, purchase_limit 24, low_stock false}, breadcrumbs Candles > 3-Wick Candles. An unknown id is a charged 404.
  • /category {"path": "/c/all-candles/3-wick-candles"}: 3-Wick Candles, total 123, count 48, with the page title and description; Mahogany Teakwood Intense 3-Wick Candle $24.95 (badge "In 37,535 bags", 4.78 from 2,196 reviews) and Fresh Balsam 3-Wick Candle $22.95 ("Trending") first.
  • /categories: 132 nodes, from Sale (/g/all-sale), Top Offers (/g/top-offers), New & Now, The Holiday Gift Shop, Body care and Candles (/g/all-candles) to Black Friday sale (/t/black-friday). A node with path null is a menu group (read its children).
  • /offers: 15 offer cards (3 banner, 11 menu, 1 home), such as the banner "$40 gift set and tote with any $40 purchase" ("Over $110 value.", "Online only, in stores tomorrow") and "Free shipping on $50 orders"; 2 Top Offers tiles: "Buy 3 get 4 FREE" on "Entire store" (link_path /t/black-friday) and "$40 with any $40 purchase" (/t/promotion-3).
  • /store {"store_id": "BBW00010"}: South Park Mall, 2310 Southwest Military Dr, San Antonio, TX 78224, phone (210) 932 - 3848, hours Mon-Wed 10AM-8PM, Thu Closed, Fri 7AM-9PM, Sat 9AM-9PM, Sun 11AM-7PM, services In-Store Pickup, store_types BBW (BBWO: outlet, WBC: White Barn).
  • /stores {"country": "ca"}: 114 store ids (BBW06001, BBW06004, ...), each with url_path. The US directory has about 1,800.
  • /reviews-summary {"product_id": "028029548"}: rating 4.7, review_count 3,796, the 4 newest reviews (title, text, date_created, date_published, verified_purchaser), the newest "Love these Candles!!!" on 2026-11-26. No reviewer names.
  • Canada: /search {"query": "candle", "country": "ca"} read total 173, 48 shown, Champagne Toast 3-Wick Candle (028013573) $26.95 CAD first ("Best Seller", 4.8 from 1,815 reviews, us_product_id 028029548); /product on it read upc 667659363414 and online purchase_limit 24; /store {"store_id": "BBW06001", "country": "ca"} read Erin Mills Town Centre, 5100 Erin Mills Parkway, Mississauga, ON L5M 4Z5.

Python

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 bbw(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/bathandbodyworks/{endpoint}", headers=HEADERS, json=body, timeout=180)
    r.raise_for_status()
    return r.json()

# 1. 3-wick candles in one fragrance family, lowest price first (1 credit)
hits = bbw("search", {"query": "candle", "product_type": "3-Wick Candle",
                      "fragrance_family": "Fruity & Bright", "sort": "price_low"})["data"]
print(hits["total"], "matched,", hits["count"], "shown")
for p in hits["products"][:5]:
    callouts = [x["callout"] for x in p["promotions"] if x["callout"]]
    print(p["id"], p["name"], p["size"], p["price"], p["list_price"], callouts)

# 2. The promotions on the first one, with their dates (1 credit)
pid = hits["products"][0]["id"]
promos = bbw("promotions", {"product_id": pid})["data"]
for x in promos["promotions"]:
    print(x["callout"], x["start_date"], x["end_date"])

# 3. Does one store take a pickup order for it? (1 credit)
a = bbw("store-availability", {"product_id": pid, "store_id": "BBW00010"})["data"]
print(a["store"], a["store_orderable"], "pickup purchase limit", a["pickup_purchase_limit"])

# Prices and offers can change between calls. Store each answer with fetched_at
# and run this on a schedule: that stored series is your history.

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Everything is fetched when the request asks for it; nothing is cached. Every data carries country and notes.

  • card (search, category) - id, name, brand, product_type, form, size, currency, price, list_price, promotional_price, promotions[] {id, callout, promotional_price}, rating, review_count, badge, fragrance_name, fragrance_family, online_orderable, in_store_pickup, member_exclusive, launch_date, image, url_path, us_product_id (ca: the matching US id).
  • lists - currency, sort, filters, total, count (at most 48), has_more, selected_filters, products[], facets[] {filter, label, values[] {value, count}}. Search adds query and redirect_path; category path and category {id, name, page_title, description, breadcrumbs}.
  • categories - count, categories[] {id, name, path (null for a menu group), children}.
  • product - the card fields plus fragrance_classification, fragrance_description, fragrance_notes {top, heart, base}, description, short_description, highlights, ingredients, upc, collection, online {orderable, purchase_limit, low_stock}, images, breadcrumbs[] {id, name, path}.
  • promotions - product_id, name, currency, price, count, promotions[] {id, name, callout, promotional_price, start_date, end_date, terms}.
  • offers - currency, count, promotions[] {id, placement, title, headline, form_headline, details, urgency, romance_copy, percent_off, percent_off_copy, price_point {dollars, cents}, promo_code, promo_code_instructions, validity, terms, link_path, published_at}, top_offers_count, top_offers[] {id, label, offer, applies_to, detail, urgency, link_path}.
  • store-availability - product_id, store_id, store {name, city, state}, name, size, currency, price, store_orderable, pickup_purchase_limit, online_orderable, online_purchase_limit, low_stock.
  • store - store_id, name, address {line1, city, state, postal_code, country}, phone, latitude, longitude, hours[] {day, hours}, services, store_types, url_path, nearby_stores.
  • stores - count, stores[] {store_id, url_path}.
  • reviews-summary - product_id, rating, review_count, best_rating, count, reviews[] {id, rating, title, text, date_created, date_published, verified_purchaser}.

Guardrails

  • Name it "Bath & Body Works (bathandbodyworks.com, the US body care and home fragrance retailer)" on first mention, and "bathandbodyworks.ca" for Canada.
  • Prices: quote price and list_price with the size, the site and the fetched_at date. Prices are national: never call a price a store's price. Report each market in its own currency; never convert or call one cheaper.
  • Offers: quote the callout, the validity text, the start and end times and the terms as given. Compute no per-unit, per-item or after-offer price for a multi-buy offer, and never judge an offer or its deadline.
  • Store pickup: report store_orderable and pickup_purchase_limit as a purchase limit for pickup. Never call it stock, inventory or units, and never infer how many a store holds. Never promise pickup.
  • Reviews: no reviewer names are returned; quote the rating, count and review text with their dates.
  • Comparing Bath & Body Works with Ulta, Target or Amazon: compare only the same item (same UPC), each with its date and market. Never call one retailer cheaper beyond the numbers shown.
  • Not available: stock or unit counts, store search by ZIP or city, page 2 of a list, search suggestions, full review paging, sort or star filters, Spanish or French pages, partner-run international stores, member prices, price history (poll and store), checkout, cart or ordering. This API cannot reserve, add to bag or buy.
  • Terms: Scavio does not collect or store Bath & Body Works data: each call fetches the public Bath & Body Works page at the moment the request asks for it and returns what it shows as JSON, with no response cache. Bath & Body Works' terms of use cover how its site may be used; read the current terms for your use case and get your own advice. This is not legal advice. Do not republish Bath & Body Works product photos or logos; link products by their page instead.
  • Never fabricate prices, offers, dates, product ids, store ids, hours, limits or ratings. Only return what the API returned, with the fetched_at time and the market.

Failure handling

  • 400 means a missing or invalid parameter, and it is not charged: "product_id (or url) is required.", a product_id that is not 9 digits, "url must be a Bath & Body Works product link such as ...", "product_id does not match the link's product id.", "store_id is required (BBW + 5 digits, e.g. BBW00010: stores[].store_id).", a country other than us or ca ("Bath & Body Works' international stores are run by partners on their own sites."), Spanish or French ("Spanish (es-US) is not offered ...", "French (fr-CA) is not offered ..."), a country that does not match the link, "query is required (a keyword such as candle, body lotion or a fragrance name).", a page other than 1 ("Bath & Body Works shows 48 results of a search on its page; there is no page 2. Narrow with sort or filters."), a category path with query parameters or not a Bath & Body Works category path, an unknown sort, more than 10 values in a filter, and a ZIP, location, city or state on /stores ("Bath & Body Works has no store search by ZIP or location on its pages ...").
  • 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 means not found, and it is charged: "Bath & Body Works has no product on its US site (a Canadian product id needs country ca).", "Bath & Body Works has no store on its US site (a Canadian store needs country ca) (stores[].store_id).", "Bath & Body Works has no category page at (categories[].path).". Take product ids, store ids and paths from a previous answer rather than guessing them. A search with no results is an answer with count 0; a product without reviews answers rating null and no reviews.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Bath & Body Works data was temporarily unavailable ("Bath & Body Works is temporarily unavailable. Please try again."). It is not charged, so retry after a few seconds.
  • 503 with a Retry-After header means the site is busy ("Bath & Body Works is busy right now. Please retry in a few seconds."): wait the Retry-After seconds and send it again. Not charged.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

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

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: hits } = await scavio.bathandbodyworks.search({ query: "candle", sort: "top_rated", product_type: "3-Wick Candle" });
const { data: cat } = await scavio.bathandbodyworks.category({ path: "/c/all-candles/3-wick-candles" });
const { data: tree } = await scavio.bathandbodyworks.categories();
const { data: product } = await scavio.bathandbodyworks.product({ product_id: "028029548" });
const { data: promos } = await scavio.bathandbodyworks.promotions({ product_id: "025510502" });
const { data: offers } = await scavio.bathandbodyworks.offers();
const { data: pickup } = await scavio.bathandbodyworks.storeAvailability({ product_id: "028029548", store_id: "BBW00010" });
const { data: store } = await scavio.bathandbodyworks.store({ store_id: "BBW00010" });
const { data: stores } = await scavio.bathandbodyworks.stores({ country: "ca" });
const { data: reviews } = await scavio.bathandbodyworks.reviewsSummary({ product_id: "028029548" });

In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.bathandbodyworks.search(...), category, categories, product, promotions, offers, store_availability, store, stores and reviews_summary, with the same parameter names as keyword arguments.

MCP

The Scavio MCP server exposes all 10 endpoints as tools: search_bathandbodyworks, get_bathandbodyworks_category, get_bathandbodyworks_categories, get_bathandbodyworks_product, get_bathandbodyworks_promotions, get_bathandbodyworks_offers, get_bathandbodyworks_store_availability, get_bathandbodyworks_store, get_bathandbodyworks_stores and get_bathandbodyworks_reviews_summary. Bath & Body Works is opt-in: add bathandbodyworks to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, category, categories, product, promotions, offers, store availability, store, stores, reviews summary. Overview: Bath & Body Works API.

常见问题

Bath And Body Works Api AI 技能有什么作用?

Bath & Body Works API,适用于 Bath & Body Works(bathandbodyworks.com,美国身体护理和家居香氛零售商;以及提供英文服务、以 CAD 计价的 bathandbodyworks.ca):查询 Bath & Body Works 的价格和促销、每件商品的售价和标价,以及附加优惠的具体起止时间和条款,均与网站展示一致(Into the Night Gift Set 售价 $92.95,附带优惠文案“任意消费满 $40,即可按 $40 购买|价值 $130.90”,优惠时间为 2026-11-26 11:00 至 2026-11-27 11:00 UTC);查询首页优惠卡片和 Top Offers 磁贴(黑色星期五期间有 15 张优惠卡片和 2 个磁贴,包含“全店买 3 送 4”);查询某家门店是否接受某商品的自提订单及自提购买数量上限(德克萨斯州圣安东尼奥的门店 BBW00010 接受自提订单,上限为 24 件);价格为全国统一价;支持关键词搜索和分类页面,包括 Top Offers、Black Friday 等优惠页面,可查询网站显示的 48 条结果及其总数,按相关性、价格、评分最高或最新上架排序,并按香氛名称、香氛类别和商品类型筛选;查询商品完整信息,包括香调、成分、UPC 和线上购买数量上限(每种规格都有独立商品 ID)...

为什么在 TypingMind 中使用 Bath And Body Works Api?

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

如何在 TypingMind 中安装 Bath And Body Works Api?

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

哪些 AI 模型可以使用 Bath And Body Works Api?

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

Bath And Body Works Api 可以搭配多少个 AI 模型使用?

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

Bath And Body Works Api AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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