Logo Sephora Product Data

Sephora Product Data

Cộng đồng
scavio-ai
sephora-product-data

API dữ liệu sản phẩm Sephora: tìm kiếm trên sephora.com và liệt kê mọi danh mục với giá, giá niêm yết và giá ưu đãi, điểm đánh giá, số lượt đánh giá cùng nhãn bán chạy, hàng mới và độc quyền; sau đó xem một sản phẩm với mọi tông màu hoặc kích cỡ, tình trạng còn hàng theo từng tông màu, thành phần và tóm tắt đánh giá của Sephora cùng số lượt nhận xét tích cực và tiêu cực. 3 endpoint: tìm kiếm và danh mục tốn 1 credit, sản phẩm tốn 2.

Tổng quan

Nhà phát hànhscavio-ai
Kho mãskills
Tên kỹ năngsephora-product-data
Sao
67
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được scavio-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Sephora Product Data trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/scavio-ai/skills/tree/main/skills/sephora-product-data
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/sephora-product-data .claude/skills/sephora-product-data
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Sephora Product Data trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Sephora Product Data ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Sephora Product Data với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Sephora Product Data API - Search, Shades, Prices, Reviews Summary

Search Sephora (sephora.com, US) and list any category: price, list and sale price, value price for sets, rating, review count, extra colors and bestseller, new, exclusive and limited-edition flags, 60 products per page. Read one product with every shade or size it offers, each with its own price, stock and ingredients, plus a summary of what reviews say and pro and con sentiment counts. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find makeup, skincare, hair care or fragrance at Sephora by keyword
  • List the products in a Sephora category (lipstick, face serum, foundation) with prices and ratings
  • Check a Sephora product's price, sale price, and which shades or sizes are in stock
  • Compare shades of one product: shade name, description, size, price, swatch
  • Summarize what Sephora reviewers like and dislike about a product
  • Read a product's ingredients or suggested usage
  • Find what is on sale, new or Sephora-exclusive in a search or category
  • Compare Sephora prices with 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. Search and category cost 1 credit per call, product 2.

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. Search and category cost 1 credit, product 2 credits.

EndpointCreditsWhat it returns
POST /api/v1/sephora/search160 products per page: product id, sku id, brand, name, URL, image, price, list and sale price, value price for sets, price range, rating, review count, extra colors, sale scope, bestseller, new, exclusive, online-only, limited-edition and sponsored flags. With zip, same-day delivery eligibility. Plus category facets and related searches
POST /api/v1/sephora/category160 products per page of one category in the same shape as search, plus the category id, name and URL, total products, parent category, subcategories with product counts and breadcrumbs
POST /api/v1/sephora/product1One product: name, brand, rating, review count, loves count, price range, description, suggested usage, category, breadcrumbs, a review summary with pro and con sentiment counts, and every shade or size the page offers with sku id, shade, size, price, list and sale price, in stock, only-few-left, ingredients, images, swatch, pickup and same-day eligibility

Workflow

  1. Find products: call /sephora/search with query, or /sephora/category with a category name such as lipstick. Each row has a url and a product_id.
  2. One product in full: call /sephora/product with the row's url (faster) or its product_id.
  3. Shades and stock: read skus[] on the product answer. Each shade or size has its own price, in_stock and only_few_left.
  4. What reviewers say: read review_summary and review_sentiments[] on the same answer. There is no review text endpoint.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords (1-200 chars)
pageinteger11-based page (1-100), 60 products per page
sortstringrelevancerelevance, best_selling, rating, price_low, price_high or newest
zipstring-US ZIP code. When set, each product carries same_day_eligible for same-day delivery to that ZIP

Category (/category)

ParameterTypeDefaultDescription
categorystringrequiredThe name in a sephora.com/shop/ URL (lipstick, face-serum, makeup-cosmetics), or the full https://www.sephora.com/shop/... URL
pageinteger11-based page (1-100), 60 products per page

Product (/product)

ParameterTypeDefaultDescription
urlstringone ofsephora.com product URL, the url of a search or category row. Preferred: it answers faster
product_idstringone ofSephora product id like P510799, used when url is not given

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/sephora/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.sephora.com/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799"}'

Captured response (MAC lipstick; description, breadcrumbs and 31 skus[] trimmed, current_sku without images and ingredients):

json
{
  "data": {
    "product_id": "P510799",
    "name": "M·A·Cximal Silky Matte 12HR Wear Lipstick",
    "brand": "MAC Cosmetics",
    "url": "https://www.sephora.com/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799",
    "rating": 4.5879,
    "review_count": 774,
    "loves_count": 316704,
    "price_min": 16,
    "price_max": 25,
    "review_summary": "Reviews generally reflect favorable impressions of the pigment, texture, and finish, with these features often mentioned positively. Some customers note mild concerns about dryness, transfer, and formula change, though these are less frequently discussed.",
    "review_sentiments": [
      { "sentiment": "Dryness", "type": "cons", "count": 21 },
      { "sentiment": "Finish", "type": "pros", "count": 34 },
      { "sentiment": "Formula Change", "type": "cons", "count": 11 },
      { "sentiment": "Pigment", "type": "pros", "count": 88 },
      { "sentiment": "Texture", "type": "pros", "count": 54 },
      { "sentiment": "Transfer", "type": "cons", "count": 12 }
    ],
    "variation_type": "Color",
    "current_sku": {
      "sku_id": "2764421",
      "variation_type": "Color",
      "variation_value": "Honeylove",
      "variation_description": "light beige toned rose",
      "size": "0.12 oz",
      "price": 25,
      "list_price": 25,
      "sale_price": null,
      "on_sale": false,
      "in_stock": true,
      "only_few_left": false,
      "is_new": false,
      "is_limited_edition": false,
      "is_sephora_exclusive": false,
      "is_online_only": false,
      "pickup_eligible": true,
      "same_day_eligible": true,
      "max_purchase_quantity": 10,
      "highlights": ["Matte Finish"],
      "swatch": "https://www.sephora.com/productimages/sku/s2764421+sw.jpg",
      "url": "https://www.sephora.com/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799?skuId=2764421"
    },
    "sku_count": 31
  },
  "response_time": 3465,
  "credits_used": 2
}

A captured /search row for {"query": "lipstick", "zip": "10001"}, a product on sale (image trimmed):

json
{
  "position": 30,
  "product_id": "P501583",
  "sku_id": "2599041",
  "brand": "NARS",
  "name": "Powermatte Long-Lasting Lipstick",
  "url": "https://www.sephora.com/product/nars-powermatte-lipstick-P501583?skuId=2599041",
  "price": 18,
  "list_price": 36,
  "sale_price": 18,
  "value_price": null,
  "price_range": null,
  "price_text": "$36.00",
  "rating": 4.3106,
  "review_count": 367,
  "more_colors": 7,
  "on_sale": true,
  "sale_scope": "full",
  "is_bestseller": false,
  "is_new": false,
  "is_sephora_exclusive": true,
  "is_online_only": false,
  "is_limited_edition": false,
  "sponsored": false,
  "same_day_eligible": true
}
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 sephora(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/sephora/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. What is on sale in a category
cat = sephora("category", {"category": "lipstick"})
for p in cat["products"]:
    if p["on_sale"]:
        print(p["brand"], p["name"][:40], p["price"], "was", p["list_price"])

# 2. One product: shades in stock and what reviewers say
item = sephora("product", {"url": cat["products"][0]["url"]})
print(item["name"], item["rating"], item["review_count"], "reviews")
print(item["review_summary"])
for s in item["review_sentiments"]:
    print(s["type"], s["sentiment"], s["count"])
print([s["variation_value"] for s in item["skus"] if s["in_stock"]])

Response shapes

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

  • search - query, page, sort, zip, total_results, total_pages, count, products[] (position, product_id, sku_id, brand, name, url, image, price, list_price, sale_price, value_price, price_range {min, max}, price_text, rating, review_count, more_colors, on_sale, sale_scope, is_bestseller, is_new, is_sephora_exclusive, is_online_only, is_limited_edition, sponsored, same_day_eligible), categories[] {category_id, name, product_count}, related_searches[].
  • category - category {category_id, name, seo_name, url, page_type}, page, total_results, total_pages, count, parent_category {category_id, name, url}, subcategories[] {category_id, name, url, product_count}, breadcrumbs[] {name, url}, products[] (the search product shape).
  • product - product_id, name, brand, brand_url, url, rating, review_count, loves_count, price_min, price_max, description, suggested_usage, category {category_id, name, url}, breadcrumbs[], review_summary, review_sentiments[] {sentiment, type (pros or cons), count}, variation_type, current_sku, sku_count, skus[] (sku_id, variation_type, variation_value, variation_description, size, price, list_price, sale_price, on_sale, in_stock, only_few_left, is_new, is_limited_edition, is_sephora_exclusive, is_online_only, pickup_eligible, same_day_eligible, max_purchase_quantity, highlights[], ingredients, image, images[], swatch, url).

Guardrails

  • Prices are in dollars: 25 is $25.00. price is what the shopper pays now: the sale price when there is one, else the list price.
  • On a listing row whose sizes are priced differently, price and list_price are the low end; price_range holds both ends and price_text the range as shown ("$16.00 - $25.00"). Quote the range, or read the exact shade's price from /product.
  • value_price is the stated value of a set's contents, not a price anyone pays.
  • sale_scope is full (every shade on sale) or partial (some shades). On a partial sale the product page can leave the sale shades out, so skus[] is what the page offers, not necessarily every shade; more_colors on the listing row is the site's own count.
  • same_day_eligible on listings is only set when a zip was sent; it is null otherwise and always null on /category.
  • review_summary and review_sentiments are Sephora's own summary of its reviews. There is no review text endpoint; do not quote individual reviews.
  • Prices are sephora.com's. Store-level stock is not available; pickup_eligible only says the shade can be picked up somewhere.
  • 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, an unknown sort, a ZIP that is not 5 digits, a category that is not a sephora.com/shop/ name, or a product_id not like P510799).
  • 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 /category means no such category; use the name from a sephora.com/shop/ URL. 404 on /product means no such product; re-run the search for a fresh url. Not charged.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Sephora is temporarily unavailable. It is not charged; retry after a few seconds.
  • A nonsense query is not empty: Sephora falls back to loosely related products, so check that results match before answering.

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.sephora.search({ query: "lipstick", sort: "best_selling", zip: "10001" });
const lips = await scavio.sephora.category({ category: "lipstick", page: 2 });
const item = await scavio.sephora.product({ url: found.products[0].url });

MCP: the Scavio MCP server exposes all 3 endpoints as tools (search_sephora, get_sephora_category, get_sephora_product). Sephora is opt-in: add sephora 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,sephora"
      }
    }
  }
}

Docs

Full reference per endpoint: search, category, product. Overview: Sephora API.

Câu hỏi thường gặp

Kỹ năng AI Sephora Product Data làm được gì?

API dữ liệu sản phẩm Sephora: tìm kiếm trên sephora.com và liệt kê mọi danh mục với giá, giá niêm yết và giá ưu đãi, điểm đánh giá, số lượt đánh giá cùng nhãn bán chạy, hàng mới và độc quyền; sau đó xem một sản phẩm với mọi tông màu hoặc kích cỡ, tình trạng còn hàng theo từng tông màu, thành phần và tóm tắt đánh giá của Sephora cùng số lượt nhận xét tích cực và tiêu cực. 3 endpoint: tìm kiếm và danh mục tốn 1 credit, sản phẩm tốn 2.

Vì sao nên dùng Sephora Product Data trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Sephora Product Data là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Sephora Product Data trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/scavio-ai/skills/tree/main/skills/sephora-product-data. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Sephora Product Data?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Sephora Product Data với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Sephora Product Data với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Sephora Product Data có miễn phí không?

Có. Kỹ năng này được scavio-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇