Ulta Beauty Api 标志

Ulta Beauty Api

社区
scavio-ai
ulta-beauty-api

Ulta Beauty API:搜索 ulta.com 或列出某个类别的商品,并获取标价、促销价、折扣、促销文案、评分和评价数;读取单件商品的完整信息,包括所有色号或尺码、GTIN、成分和最新 5 条评价;还可查询某个色号是否有货,并支持在距离某个 ZIP 最近的 10 家 Ulta 门店自提。共 4 个端点,每个端点消耗 1 个 credit。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Ulta Beauty API - Search, Prices, Shades, Store Stock

Search Ulta Beauty and list any category: list and sale price, discount, promo text, rating, review count, badge and shade count, 64 products per page. Read one product for the shade or size you pick, with every variant, GTIN, ingredients, ship, pickup and same-day options and the five most recent reviews. Check whether one shade is in stock for pickup at the 10 Ulta stores nearest a ZIP. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find makeup, skincare, hair care or fragrance at Ulta Beauty by keyword
  • List the products in an Ulta category (lipstick, mascara, shampoo) with prices and ratings
  • Check an Ulta product's price, sale price and discount, or what is on sale
  • List the shades or sizes of a product and which are available
  • Find which Ulta stores near a ZIP have a shade in stock for pickup
  • Read the latest Ulta reviews, ingredients or usage for a product
  • Look up a product's GTIN (UPC)
  • Compare Ulta prices with Sephora or other retailers, 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 Ulta Beauty endpoints cost 1 credit.

EndpointCreditsWhat it returns
POST /api/v1/ulta/search164 products per page plus sponsored placements: product id, sku id, brand, name, URL, image, list and sale price (and the range when shades are priced differently), discount, promo text, rating, review count, badge, shade count, limited-stock and sponsored flags
POST /api/v1/ulta/category1One category's products in the same shape, with the category title and total results
POST /api/v1/ulta/product1One product for the selected shade or size: list and sale price, discount, availability, GTIN, rating, review count, badges, summary, description, usage, ingredients, restrictions, category and breadcrumbs, images, every shade or size variant, ship / pickup / same-day options, and the five most recent reviews
POST /api/v1/ulta/stores1In-store pickup stock of one shade at the 10 Ulta stores nearest a ZIP: store id, name, address, distance, open-now label, curbside label, in_stock and the availability label

Workflow

  1. Find products: call /ulta/search with query, or /ulta/category with a category path like /shop/makeup/lips/lipstick. Each row has a url, a product_id and a sku_id.
  2. One product in full: call /ulta/product with the row's url. Add sku to pick a shade or size; variants[] lists every one with its sku_id.
  3. Who has it nearby: call /ulta/stores with the product_id, the shade's sku_id and the user's zip. Stock is per shade, so pass the exact sku_id the user wants.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords (1-200 chars)
pageinteger11-based page (1-100), 64 products per page plus sponsored placements

Category (/category)

ParameterTypeDefaultDescription
categorystringrequiredAn ulta.com category that lists products: the full URL, or its path (/shop/makeup/lips/lipstick or makeup/lips/lipstick)
pageinteger11-based page (1-100), 64 products per page plus sponsored placements

Product (/product)

ParameterTypeDefaultDescription
urlstringrequiredUlta product page URL, /p/<name>-<productId> (the url of a search or category row). The name part is required
skustringURL's ?sku=, else the defaultShade or size to select, by sku id (a variants[].sku_id)

Stores (/stores)

ParameterTypeDefaultDescription
product_idstringrequiredUlta product id, e.g. pimprod2057119
sku_idstringrequiredSku id of the shade or size, a sku_id or variants[].sku_id
zipstringrequiredUS ZIP code to search around

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/ulta/stores \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "pimprod2057119", "sku_id": "2648428", "zip": "10001"}'

Captured response (Maybelline Serum Lipstick near Manhattan 10001; trimmed to 3 of 10 stores):

json
{
  "data": {
    "product_id": "pimprod2057119",
    "sku_id": "2648428",
    "zip": "10001",
    "count": 10,
    "in_stock_count": 7,
    "stores": [
      {
        "store_id": "1638",
        "name": "2 Herald Square",
        "address": "51 West 34th Street, Suite 110, New York, NY 10001",
        "city": "New York",
        "state": "NY",
        "zip": "10001",
        "distance_miles": 0.17,
        "is_open": true,
        "open_label": "Open until 8:00 pm",
        "curbside_label": null,
        "in_stock": false,
        "availability": "Out of Stock"
      },
      {
        "store_id": "1899",
        "name": "Ulta Beauty",
        "address": "620 Avenue of the Americas, Ste 0105, New York, NY 10011",
        "city": "New York",
        "state": "NY",
        "zip": "10011",
        "distance_miles": 0.63,
        "is_open": true,
        "open_label": "Open until 7:00 pm",
        "curbside_label": null,
        "in_stock": true,
        "availability": "In Stock"
      },
      {
        "store_id": "1402",
        "name": "Upper East Side",
        "address": "188 East 86th Street, New York, NY 10028",
        "city": "New York",
        "state": "NY",
        "zip": "10028",
        "distance_miles": 2.81,
        "is_open": true,
        "open_label": "Open until 7:00 pm",
        "curbside_label": null,
        "in_stock": true,
        "availability": "In Stock"
      }
    ]
  },
  "response_time": 3096,
  "credits_used": 1
}

A captured /product answer for the same product (summary, description, ingredients, images, breadcrumbs trimmed; 2 of 16 variants, 1 of 5 reviews):

json
{
  "product_id": "pimprod2057119",
  "sku_id": "2648428",
  "name": "Serum Lipstick",
  "brand": "Maybelline",
  "url": "https://www.ulta.com/p/serum-lipstick-pimprod2057119?sku=2648428",
  "variant_label": "Crop Top (light nude pink)",
  "variant_type": "Color",
  "size": "0.12 oz",
  "list_price": 9.99,
  "list_price_range": null,
  "sale_price": 4.99,
  "sale_price_range": null,
  "discount": 5,
  "currency": "USD",
  "availability": "InStock",
  "gtin": "041554100051",
  "rating": 4.7,
  "review_count": 431,
  "questions_count": 1,
  "badges": ["Sale"],
  "category": "Makeup:Lips:Lipstick",
  "variants": [
    { "sku_id": "2648432", "name": "Avenue A", "shade_description": "deep chocolate brown", "selected": false, "available": true, "out_of_stock_label": null },
    { "sku_id": "2648514", "name": "Blind Date", "shade_description": "midtone bricky mauve", "selected": false, "available": true, "out_of_stock_label": null }
  ],
  "fulfillment": {
    "ship": { "eligibility": "in_stock", "state": "active", "label": "Free standard shipping over $35", "message": "In stock and ready to ship", "stock_status": null, "speed": "Usually ships in 24 hours" },
    "pickup": { "eligibility": "change_store", "state": "unavailable", "label": "Unavailable", "message": null, "stock_status": null, "speed": null },
    "same_day": { "eligibility": "change_address", "state": "active", "label": "Delivered for $6.95", "message": "Check your address to view availability", "stock_status": null, "speed": "Get by 8PM today if ordered before 4PM" }
  },
  "recent_reviews": [
    { "title": "i wouldn't say matte, but its ok", "body": "glides on and king lasting... a little greasy looking. which i personally do not care for.  I layer with lip liners to achieve the look I want. It does stay on! so that's good", "rating": 3, "date": "2026-10-27", "author": "Vanessa", "location": "ai" }
  ]
}
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 ulta(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/ulta/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. Search, organic results only, one row per product
rows = [p for p in ulta("search", {"query": "lipstick"})["products"] if not p["sponsored"]]
top = rows[0]
print(top["brand"], top["name"], top["list_price"], "sale", top["sale_price"])

# 2. The product and its shades
item = ulta("product", {"url": top["url"]})
shade = next(v for v in item["variants"] if v["available"])

# 3. Which nearby stores have that shade for pickup
near = ulta("stores", {"product_id": item["product_id"], "sku_id": shade["sku_id"], "zip": "10001"})
for s in near["stores"]:
    if s["in_stock"]:
        print(shade["name"], "at", s["name"], s["address"], s["distance_miles"], "mi")

Response shapes

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

  • search / category - query (search) or category, title, url (category), page, page_size, total_results, total_pages, count, sponsored_count, has_more, products[] (position, product_id, sku_id, brand, name, url, image, list_price, list_price_range, sale_price, sale_price_range, discount, promo_text, rating, review_count, badge, variant_label, is_limited_stock, sponsored).
  • product - product_id, sku_id, name, brand, url, variant_label, variant_type, size, list_price, list_price_range, sale_price, sale_price_range, discount, currency, availability, gtin, rating, review_count, questions_count, badges[], summary, description, usage, ingredients, restrictions, category, category_path[], breadcrumbs[] {label, url}, images[], variants[] {sku_id, name, shade_description, selected, available, out_of_stock_label, image, swatch}, fulfillment {ship, pickup, same_day: {eligibility, state, label, message, stock_status, speed}}, recent_reviews[] {title, body, rating, date, author, location}.
  • stores - product_id, sku_id, zip, count, in_stock_count, stores[] (store_id, name, address, city, state, zip, distance_miles, is_open, open_label, curbside_label, in_stock, availability).

Guardrails

  • Prices are in dollars: 9.99 is $9.99. discount is a dollar amount off, not a percentage: 5 is $5 off.
  • When shades are priced differently, list_price / sale_price are the low end and list_price_range / sale_price_range hold the range as shown ("$4.99 - $9.99"). Quote the range, or call /product with the shade's sku for one exact price.
  • sale_price is null when the item is not on sale; the price paid is then list_price.
  • Listing pages carry sponsored placements on top of the 64 organic cards (count can be 73), and they can repeat products from other pages. Filter on sponsored and dedupe by product_id when merging pages.
  • /stores reports In Stock or Out of Stock per store for pickup; Ulta does not publish unit counts. Never quote a quantity.
  • Store stock is per shade: a store can have one shade and not another, so always check the exact sku_id.
  • recent_reviews are the five most recent reviews the product page shows; there is no endpoint that pages older reviews.
  • Never fabricate prices, shades or stock. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (no query, a url or category that is not on ulta.com, a non-numeric sku or sku_id, a product_id not like pimprod2057119, or an unknown ZIP).
  • 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, or a URL without its name part (/p/<productId> alone). 404 on /category means a path with no product grid, such as the /shop/makeup landing page; use a deeper path. 404 on /stores means no Ulta store near that ZIP. Not charged.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Ulta Beauty is temporarily unavailable. It is not charged; retry after a few seconds.

SDKs

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

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: found } = await scavio.ulta.search({ query: "lipstick" });
const lips = await scavio.ulta.category({ category: "/shop/makeup/lips/lipstick" });
const { data: item } = await scavio.ulta.product({ url: found.products[0].url });
const near = await scavio.ulta.stores({ product_id: item.product_id, sku_id: item.sku_id, zip: "10001" });

MCP: the Scavio MCP server exposes all 4 endpoints as tools (search_ulta, get_ulta_category, get_ulta_product, get_ulta_stores). Ulta Beauty is opt-in: add ulta to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, category, product, stores. Overview: Ulta Beauty API.

常见问题

Ulta Beauty Api AI 技能有什么作用?

Ulta Beauty API:搜索 ulta.com 或列出某个类别的商品,并获取标价、促销价、折扣、促销文案、评分和评价数;读取单件商品的完整信息,包括所有色号或尺码、GTIN、成分和最新 5 条评价;还可查询某个色号是否有货,并支持在距离某个 ZIP 最近的 10 家 Ulta 门店自提。共 4 个端点,每个端点消耗 1 个 credit。

为什么在 TypingMind 中使用 Ulta Beauty Api?

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

如何在 TypingMind 中安装 Ulta Beauty Api?

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

哪些 AI 模型可以使用 Ulta Beauty Api?

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

Ulta Beauty Api 可以搭配多少个 AI 模型使用?

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

Ulta Beauty Api AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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