Logo Decathlon Product Data

Decathlon Product Data

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

API dữ liệu sản phẩm Decathlon: tìm sản phẩm kèm giá, đánh giá, tình trạng còn hàng và hình ảnh; xem thông tin chi tiết đầy đủ của sản phẩm, gồm biến thể, SKU, GTIN, đường dẫn danh mục và danh mục trên 7 miền quốc gia (FR, ES, IT, IN, UK, PT, quốc tế). 2 endpoint, mỗi endpoint tốn 2 credit.

Tổng quan

Nhà phát hànhscavio-ai
Kho mãskills
Tên kỹ năngdecathlon-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 Decathlon 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/decathlon-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/decathlon-product-data .claude/skills/decathlon-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 Decathlon 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 Decathlon 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 Decathlon 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.

Decathlon Product Data API - Search, Pricing, 7 Countries

Search Decathlon products and read full item detail with pricing, ratings, images, variants and breadcrumbs. Covers 7 country domains: France, Spain, Italy, India, UK, Portugal and decathlon.net (international). All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find products on decathlon.fr, decathlon.es, decathlon.it, decathlon.in, decathlon.co.uk, decathlon.pt or decathlon.net
  • Search Decathlon products by keyword across any supported country
  • Look up a Decathlon product by URL or product ID
  • Compare sporting goods prices across Decathlon country stores
  • Monitor Decathlon pricing or enrich a catalog with Decathlon product data
  • Get product details, images, variants or ratings for a Decathlon item

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 2 credits.

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. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All Decathlon endpoints cost 2 credits.

EndpointCreditsWhat it returns
POST /api/v1/decathlon/search2Product search results: name, brand, price, rating, review count, image, availability and product URL
POST /api/v1/decathlon/product2Full product detail: description, images, variants, pricing, SKU, GTIN, color, rating, breadcrumbs and category

Country domains

CodeDomainCountry
frdecathlon.frFrance
esdecathlon.esSpain
itdecathlon.itItaly
indecathlon.inIndia
ukdecathlon.co.ukUnited Kingdom
ptdecathlon.ptPortugal
netdecathlon.netInternational

Workflow

  1. Search for products: call /decathlon/search with query and a country code. Results include price in cents, rating and availability across any supported country store.
  2. Product detail: call /decathlon/product with a product_url from search results or a product_id, plus the country code.

Pagination

  • Search: page (1-based). The response carries count (number of products on this page). Each page is 2 credits.
  • Product: no pagination.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords or product name (1-200 chars)
countrystringrequiredCountry code: fr, es, it, in, uk, pt or net
pageinteger11-based page number (max 50)

Product (/product)

ParameterTypeDefaultDescription
product_urlstringone ofFull or relative Decathlon product URL from any supported domain
product_idstringone ofNumeric product ID (the 5+ digit number from the /p/{slug}/{id}/... URL)
countrystringrequiredCountry code: fr, es, it, in, uk, pt or net

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/decathlon/search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "running shoes", "country": "fr"}'
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 decathlon(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/decathlon/{endpoint}", headers=HEADERS, json=body)
    r.raise_for_status()
    return r.json()["data"]

# 1. Search for products in France
found = decathlon("search", {"query": "running shoes", "country": "fr"})
for row in found["products"]:
    print(row["name"], row["price"], row["rating"])

# 2. Full product detail by URL
product = decathlon("product", {
    "product_url": found["products"][0]["url"],
    "country": "fr"
})
print(product["name"], product["price"], product["brand"])

# 3. Look up by product ID
product = decathlon("product", {"product_id": "325965", "country": "fr"})
print(product["name"], product["description"])

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. fetched_at is the ISO time the data was retrieved; nothing is cached, so it is the age of the data. Key data fields:

  • search - query, page, country, count, products[]. A row: position, id, name, brand, url, image, price (cents), currency, availability, rating, review_count.
  • product - id, name, brand, url, country, description, images[], sku, gtin, mpn, color, price (cents), list_price (cents, original price before discount), currency, availability, offers[] (when multiple sellers), rating, review_count, best_rating, category, breadcrumbs[].

Guardrails

  • Decathlon runs different frontends per country (Svelte in France, Next.js in Spain, custom in India). The API normalizes all of them into one consistent shape.
  • Prices are in cents of the local currency. The currency field tells you which one (EUR, GBP, INR).
  • list_price is the original price before any discount. It is null when there is no discount.
  • availability follows Schema.org values: InStock, OutOfStock, PreOrder, etc.
  • Never fabricate prices, ratings or product IDs. Only return what the API returned, and surface the product url so the user can verify.
  • Product URLs from any country domain work, but the country parameter must match the domain (e.g. country: "fr" for decathlon.fr URLs).

Failure handling

  • 400 means an invalid or missing parameter - fix the body and retry.
  • 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 the product was not found - check the URL or product ID.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 / 503 mean Decathlon data is temporarily unavailable - wait a few seconds and retry.
  • If search returns nothing, try broader keywords, check spelling or try a different country.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

bash
pip install scavio==0.18.0
python
from scavio import ScavioClient

client = ScavioClient()  # reads SCAVIO_API_KEY

found = client.decathlon.search("running shoes", country="fr")
product = client.decathlon.product(product_url="/p/mens-running-shoes/325965/...")
product = client.decathlon.product(product_id="325965", country="fr")
bash
npm install scavio@0.18.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const found = await scavio.decathlon.search({ query: "running shoes", country: "fr" });
const product = await scavio.decathlon.product({ product_id: "325965", country: "fr" });

MCP: the Scavio MCP server exposes both Decathlon endpoints as tools (search_decathlon, get_decathlon_product). Decathlon is opt-in: add decathlon to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: Decathlon search, product. Overview: Decathlon API.

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

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

API dữ liệu sản phẩm Decathlon: tìm sản phẩm kèm giá, đánh giá, tình trạng còn hàng và hình ảnh; xem thông tin chi tiết đầy đủ của sản phẩm, gồm biến thể, SKU, GTIN, đường dẫn danh mục và danh mục trên 7 miền quốc gia (FR, ES, IT, IN, UK, PT, quốc tế). 2 endpoint, mỗi endpoint tốn 2 credit.

Vì sao nên dùng Decathlon 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. Decathlon 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 Decathlon 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/decathlon-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 Decathlon 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 Decathlon 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 Decathlon 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 Decathlon 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 👇