Logotipo de Decathlon Product Data

Decathlon Product Data

Comunidad
scavio-ai
decathlon-product-data

API de datos de productos de Decathlon: busca productos con precio, valoración, disponibilidad e imágenes, y consulta los detalles completos de un artículo, con variantes, SKU, GTIN, ruta de navegación y categoría, en 7 dominios nacionales (FR, ES, IT, IN, UK, PT e internacional). 2 endpoints, 2 créditos cada uno.

Descripción general

Editorscavio-ai
Repositorioskills
Nombre de la habilidaddecathlon-product-data
Estrellas
67
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por scavio-ai en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Decathlon Product Data en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/scavio-ai/skills/tree/main/skills/decathlon-product-data
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Decathlon Product Data en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Decathlon Product Data automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Decathlon Product Data no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Decathlon Product Data?

API de datos de productos de Decathlon: busca productos con precio, valoración, disponibilidad e imágenes, y consulta los detalles completos de un artículo, con variantes, SKU, GTIN, ruta de navegación y categoría, en 7 dominios nacionales (FR, ES, IT, IN, UK, PT e internacional). 2 endpoints, 2 créditos cada uno.

¿Por qué usar Decathlon Product Data en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Decathlon Product Data está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Decathlon Product Data en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scavio-ai/skills/tree/main/skills/decathlon-product-data. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Decathlon Product Data?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Decathlon Product Data?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Decathlon Product Data con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Decathlon Product Data?

Sí. scavio-ai la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇