Логотип Target Product Data

Target Product Data

Сообщество
scavio-ai
target-product-data

Данные о товарах Target.com: поиск по ключевым словам, просмотр категорий, сведения о товаре по TCIN с ценой, оценкой, изображениями, характеристиками, вариантами и способами получения; отзывы с распределением оценок по звёздам и средними значениями по атрибутам; наличие в магазинах Target рядом с ZIP-кодом с количеством доступных единиц и статусом самовывоза. Цены с учетом выбранного магазина через store_id. 5 эндпоинтов, по 1 кредиту каждый, структурированный JSON.

Обзор

Издательscavio-ai
Репозиторийskills
Название навыкаtarget-product-data
Звёзды
67
Форки
0
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — scavio-ai. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Target Product Data в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/scavio-ai/skills/tree/main/skills/target-product-data
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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/target-product-data .claude/skills/target-product-data
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Target Product Data в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Target Product Data, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Target Product Data не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Target Product Data API - Search, TCIN Detail, Reviews, Store Stock

Search Target.com, the US retailer: browse a category, read a product by its TCIN, pull reviews with the rating breakdown, per-attribute averages and guest photos, and check a product's in-store stock at every Target near a ZIP. All endpoints return structured JSON and cost 1 credit each.

Target calls are slow. See the latency table below and set your client timeout accordingly.

When to trigger

Use this skill when the user asks to:

  • Search Target.com for products by keyword
  • Browse the products in a Target category
  • Look up a Target product by TCIN (Target's catalog id)
  • Check a Target product's price at a specific store
  • Check whether a Target store has a product in stock, how many units, and whether it can be picked up
  • Read Target reviews, the star breakdown or per-attribute ratings for a product
  • Compare Target pricing against another retailer (pair with scavio-walmart, scavio-amazon or scavio-ebay)

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. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

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. Every endpoint costs 1 credit.

EndpointCreditsTypical latencyDescription
POST /api/v1/target/search1~9sSearch Target.com: prices, ratings, badges, promotions
POST /api/v1/target/category1~37sProducts in a category, same shape as search plus the breadcrumb
POST /api/v1/target/product1~4sProduct detail by TCIN: price, rating, images, specifications, variants, return policy, fulfillment
POST /api/v1/target/reviews1~40sReviews with the rating breakdown, per-attribute averages and guest photos
POST /api/v1/target/availability1~3sIn-store stock at every Target near a ZIP: units available, in-store, pickup, curbside and ship-to-store status, store address and hours

Latency, not cost, is the thing to plan around. A 502-then-retry has been observed taking 105 seconds. Set a client timeout of at least 120 seconds, and prefer async or background execution if the user is waiting on a response.

Workflow

  1. Find products: call /target/search with keyword. Read the TCIN off each row.
  2. Browse a category: call /target/category with category_id, which is the segment after N- in a target.com /c/ URL.
  3. Read a product: call /target/product with tcin.
  4. Reviews: call /target/reviews with the same tcin.
  5. Store-specific prices: pass store_id on search, category, product or reviews. It defaults to 3991. It sets the prices returned, not stock.
  6. In-store stock: call /target/availability with tcin and a US zip. Every Target store nearby comes back with units available and per-channel status. Add store_id to keep one store.

search and category paginate with page plus count. product and reviews do not paginate.

Parameters

Search (/search)

ParameterTypeDefaultDescription
keywordstringrequiredSearch query (1-500 chars)
pageinteger >= 1--Results page, 1-based
countinteger 1-2824Results per page. Target rejects anything above 28 outright
sortstringrelevancerelevance, featured, price_low, price_high, rating_high, best_seller, newest
store_idstring3991Numeric Target store id. Sets the store prices are read against

Category (/category)

ParameterTypeDefaultDescription
category_idstringrequiredThe segment after N- in a target.com /c/ URL, e.g. 5xtg6
pageinteger >= 1--Results page, 1-based
countinteger 1-2824Results per page
sortstringrelevanceSame seven values as search
store_idstring3991Numeric Target store id

Product (/product)

ParameterTypeDefaultDescription
tcinstringrequiredTarget catalog id, e.g. 1010453160
store_idstring3991Numeric Target store id

A child TCIN (one size or colour) returns that exact variant: its own tcin, price and regular_price (not the family's range), plus parent_tcin and selected_variant (attributes[] with every option axis, e.g. Size and Color, plus url, image, sold_out, shipping_available). A parent TCIN returns the family with price_min / price_max; both new fields are null there.

Reviews (/reviews)

ParameterTypeDefaultDescription
tcinstringrequiredTarget catalog id
limitinteger >= 1--TRIMS the returned bodies only. There is no paging
store_idstring3991Numeric Target store id

Availability (/availability)

ParameterTypeDefaultDescription
tcinstringrequiredTarget catalog id
zipstringrequired5-digit US ZIP to search around
radiusinteger 1-10025Miles. At most 20 stores come back
store_idstring--Return only this store. It must be within the radius

Examples

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}"}
# Target calls are slow: give the client room.
TIMEOUT = 120

# 1. Search (~9s)
results = requests.post(f"{BASE}/api/v1/target/search", headers=HEADERS, timeout=TIMEOUT,
    json={"keyword": "airpods", "sort": "price_low", "count": 28}).json()

# 2. Category browse (~37s) - category_id is the segment after N- in a /c/ URL
category = requests.post(f"{BASE}/api/v1/target/category", headers=HEADERS, timeout=TIMEOUT,
    json={"category_id": "5xtg6", "page": 1}).json()

# 3. Product detail by TCIN (~4s), priced at a specific store
product = requests.post(f"{BASE}/api/v1/target/product", headers=HEADERS, timeout=TIMEOUT,
    json={"tcin": "1010453160", "store_id": "3991"}).json()

# 4. Reviews (~40s). Returns 8 bodies maximum, whatever review_count says.
reviews = requests.post(f"{BASE}/api/v1/target/reviews", headers=HEADERS, timeout=TIMEOUT,
    json={"tcin": "1010453160"}).json()

# 5. In-store stock at every Target near a ZIP (~3s)
stock = requests.post(f"{BASE}/api/v1/target/availability", headers=HEADERS, timeout=TIMEOUT,
    json={"tcin": "85978609", "zip": "79407"}).json()
for store in stock["data"]["stores"]:
    print(store["name"], store["quantity"], store["in_store"], store["pickup"])

Response

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. fetched_at is the ISO time the data was retrieved; responses are never cached, so it is the age of the data.

  • search returns the product rows with prices, ratings, badges and promotions.
  • category returns the same row shape as search, plus the category breadcrumb.
  • product returns price, rating, images, specifications, variants, return policy and fulfillment. store_id echoes the store you requested; price_location_id is the store Target keys the price to, which is 3991 for nationally priced items whatever store you asked for. Fulfillment covers shipping and purchase limits, not in-store stock.
  • reviews returns the review bodies with the rating breakdown, per-attribute averages and guest photos.
  • availability returns tcin, zip, radius, street_date, count and stores[]. Each store has store_id, name, distance_miles, quantity (units Target can promise at that store), in_store, pickup, pickup_date, curbside, ship_to_store, address, phone and 7 days of hours. Status values: in_stock, limited_stock, out_of_stock, not_sold_in_store, unavailable.

seller_id and seller_name are null for first-party stock, which is most of Target. Null there means "sold by Target", not missing data. Only Target Plus marketplace rows name a vendor, and how many of those appear varies enormously by query: in testing, 22 of 24 rows for "office chair" carried a vendor and 0 of 24 for "patio furniture" did.

Guardrails

  • Never fabricate product names, prices, TCINs, ratings or review text. Only return data the API returned.
  • Do not overpromise speed. Product is roughly 4s, search roughly 9s, category roughly 37s and reviews roughly 40s. If the user is building something interactive, tell them to run these in the background.
  • /reviews returns 8 review bodies maximum, regardless of what review_count on the product says. limit only trims that set further. There is no page and no offset parameter. Never tell the user they can page through all reviews, and never present 8 bodies as the complete review corpus. The rating breakdown does cover all reviews.
  • A null seller_id / seller_name means the item is sold by Target itself. Do not report it as missing or unknown data.
  • count is capped at 28. Target rejects anything higher outright.
  • Concurrency, not credits, is the real ceiling. Simultaneous requests are capped per plan and shared across Target, eBay, Walmart, Amazon and Google -- 1 on free and pay-as-you-go, up to 50 on Growth -- and a single Target call can hold a slot for 40 seconds. Do not fan out dozens of Target calls in parallel.
  • Prices are store-dependent. If the user cares about a specific store, pass store_id; if you did not pass one, say the numbers are for the default store. Never claim an item is in stock at a Target store from search, category or product: only /availability returns in-store stock. not_sold_in_store means Target sells that item online only, not that it is sold out.
  • Always include the product URL so the user can verify.

Failure handling

  • 400 means an invalid or missing parameter, e.g. a count above 28. Fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 404 means the TCIN or category id was not found. Check that category_id is the segment after N- in the /c/ URL, not the whole path.
  • 429 means a rate or usage limit was exceeded. Wait before retrying. See rate limits.
  • 502 / 503 mean the upstream is temporarily unavailable. Retry once after a few seconds; a 502-then-retry has been seen to complete at 105 seconds total, so do not abandon the request too early.
  • A client-side timeout is far more likely than an API error here. Raise the timeout before assuming the endpoint is broken.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Docs

Часто задаваемые вопросы

Что делает навык ИИ Target Product Data?

Данные о товарах Target.com: поиск по ключевым словам, просмотр категорий, сведения о товаре по TCIN с ценой, оценкой, изображениями, характеристиками, вариантами и способами получения; отзывы с распределением оценок по звёздам и средними значениями по атрибутам; наличие в магазинах Target рядом с ZIP-кодом с количеством доступных единиц и статусом самовывоза. Цены с учетом выбранного магазина через store_id. 5 эндпоинтов, по 1 кредиту каждый, структурированный JSON.

Зачем использовать Target Product Data в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Target Product Data — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Target Product Data в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/scavio-ai/skills/tree/main/skills/target-product-data. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Target Product Data?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Target Product Data?

С любым количеством. В TypingMind вы можете использовать Target Product Data с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Target Product Data?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — scavio-ai. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇