Search Target.com, browse a category, read product detail by TCIN, pull reviews with the rating breakdown, and check in-store stock at every Target near a ZIP as structured JSON. 5 endpoints, 1 credit each, store-aware pricing via store_id.
---
name: target-product-data
description: Search Target.com, browse a category, read product detail by TCIN, pull reviews with the rating breakdown, and check in-store stock at every Target near a ZIP as structured JSON. 5 endpoints, 1 credit each, store-aware pricing via store_id.
version: 1.0.0
tags: target, retail, ecommerce, product-data, product-search, price-tracking, reviews, category-browsing, store-pricing, store-availability, in-store-stock, tcin, competitor-research, price-monitoring, agents, langchain, crewai, autogen, structured-data, json, ai-agents
metadata:
openclaw:
requires:
env:
- SCAVIO_API_KEY
primaryEnv: SCAVIO_API_KEY
timeout: 180
throttle: 1
emoji: "\U0001F3AF"
homepage: https://scavio.dev/docs/target-search?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data
---
# Target via Scavio
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](https://scavio.dev/?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data) (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](https://dashboard.scavio.dev/sign-up?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data) - 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**.
| Endpoint | Credits | Typical latency | Description |
|---|---|---|---|
| `POST /api/v1/target/search` | 1 | ~9s | Search Target.com: prices, ratings, badges, promotions |
| `POST /api/v1/target/category` | 1 | ~37s | Products in a category, same shape as search plus the breadcrumb |
| `POST /api/v1/target/product` | 1 | ~4s | Product detail by TCIN: price, rating, images, specifications, variants, return policy, fulfillment |
| `POST /api/v1/target/reviews` | 1 | ~40s | Reviews with the rating breakdown, per-attribute averages and guest photos |
| `POST /api/v1/target/availability` | 1 | ~3s | In-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`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `keyword` | string | required | Search query (1-500 chars) |
| `page` | integer >= 1 | -- | Results page, 1-based |
| `count` | integer 1-28 | `24` | Results per page. Target rejects anything above 28 outright |
| `sort` | string | `relevance` | `relevance`, `featured`, `price_low`, `price_high`, `rating_high`, `best_seller`, `newest` |
| `store_id` | string | `3991` | Numeric Target store id. Sets the store prices are read against |
### Category (`/category`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `category_id` | string | required | The segment after `N-` in a target.com `/c/` URL, e.g. `5xtg6` |
| `page` | integer >= 1 | -- | Results page, 1-based |
| `count` | integer 1-28 | `24` | Results per page |
| `sort` | string | `relevance` | Same seven values as search |
| `store_id` | string | `3991` | Numeric Target store id |
### Product (`/product`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `tcin` | string | required | Target catalog id, e.g. `1010453160` |
| `store_id` | string | `3991` | Numeric 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`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `tcin` | string | required | Target catalog id |
| `limit` | integer >= 1 | -- | TRIMS the returned bodies only. There is no paging |
| `store_id` | string | `3991` | Numeric Target store id |
### Availability (`/availability`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `tcin` | string | required | Target catalog id |
| `zip` | string | required | 5-digit US ZIP to search around |
| `radius` | integer 1-100 | `25` | Miles. At most 20 stores come back |
| `store_id` | string | -- | 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](https://scavio.dev/docs/rate-limits?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data).
- `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 search](https://scavio.dev/docs/target-search?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data)
- [Target category](https://scavio.dev/docs/target-category?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data)
- [Target product](https://scavio.dev/docs/target-product?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data)
- [Target reviews](https://scavio.dev/docs/target-reviews?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data)
- [Target availability](https://scavio.dev/docs/target-availability?utm_source=agent-skills&utm_medium=skill&utm_campaign=target-product-data)
don't have the plugin yet? install it then click "run inline in claude" again.
added explicit intent section, structured inputs with scavio api connection details and concurrency limits, 9-step procedure with detailed json parameters and latency callouts, 12 decision point branches covering auth, rate limits, 404 not found, timeout handling, default store behavior, review pagination, and stock query routing, expanded output contract with all response schemas and status value enums, and outcome signals showing successful user indicators per endpoint.
query Target.com for product search results, category listings, detailed product specs, customer reviews with ratings and attributes, and real-time in-store stock levels across locations. use this skill when the user needs to find products by keyword, browse categories, check prices at specific stores, verify in-store availability, compare ratings, or pull reviews with per-attribute breakdowns. each endpoint costs 1 credit and returns structured JSON. target's api is slow (3-40 seconds per call depending on endpoint), so set your client timeout to at least 120 seconds and prefer async execution if the user is waiting.
external connection: scavio api
https://api.scavio.devAuthorization headerSCAVIO_API_KEY (required, free tier starts with 50 credits)client requirements
Validate api key: check that SCAVIO_API_KEY env var is set. if missing or empty, halt and prompt the user to export SCAVIO_API_KEY=sk_your_key from their scavio dashboard. if 401 error returned, key is invalid; re-check at dashboard.scavio.dev.
search products by keyword: post to /api/v1/target/search with json body {"keyword": "<user query>", "sort": "<relevance|featured|price_low|price_high|rating_high|best_seller|newest>", "count": <1-28>, "page": <1-based>, "store_id": "<numeric id or default 3991>"}. extract tcin from each result row. typical latency ~9 seconds. if count > 28, target rejects the request with 400; cap at 28.
browse category: post to /api/v1/target/category with json body {"category_id": "<segment after N- in target.com /c/ url>", "page": <1-based>, "count": <1-28>, "sort": "<relevance|featured|price_low|price_high|rating_high|best_seller|newest>", "store_id": "<numeric id or default 3991>"}. returns product rows and breadcrumb. typical latency ~37 seconds.
fetch product detail by tcin: post to /api/v1/target/product with json body {"tcin": "<required>", "store_id": "<numeric id or default 3991>"}. returns price, rating, images, specs, variants, return policy, fulfillment info, and optional parent_tcin if child variant. typical latency ~4 seconds. note: store_id sets which store's price is returned; price_location_id in response shows the actual store target keyed the price to (often 3991 for nationally priced items). fulfillment covers shipping and purchase limits, not in-store stock.
fetch reviews with rating breakdown: post to /api/v1/target/reviews with json body {"tcin": "<required>", "limit": <optional trim of bodies only, no paging>, "store_id": "<numeric id or default 3991>"}. returns up to 8 review bodies (regardless of review_count field), per-attribute rating averages, guest photo urls, and rating breakdown (count of 1-star, 2-star, etc across all reviews). no pagination available; limit only trims the 8 bodies further. typical latency ~40 seconds.
check in-store availability by zip: post to /api/v1/target/availability with json body {"tcin": "<required>", "zip": "<5-digit us zip required>", "radius": <1-100 miles, default 25>, "store_id": "<optional, filters to 1 store if provided>"}. returns every target store within radius with units available, in-store status, pickup status, pickup date, curbside status, ship-to-store status, store address, phone, and 7-day hours. typical latency ~3 seconds. if store_id passed, it must fall within radius or returns empty.
handle pagination: search and category support page (1-based) and count (1-28) for pagination. product, reviews, and availability do not paginate. reviews caps at 8 bodies; rating breakdown covers all reviews.
parse response envelope: all responses have shape {"data": {...}, "response_time": <ms>, "fetched_at": "<iso timestamp>", "credits_used": 1, "credits_remaining": <int>}. fetched_at is never cached; it reflects age of live data.
extract relevant fields: search and category: return product name, price, rating, badges, promotions, tcin, url. product: return tcin, price, regular_price, images, variant details if child, return policy, fulfillment. reviews: return review text, rating, per-attribute scores, guest photos, reviewer name. availability: return store name, distance, quantity, in_store/pickup/curbside/ship_to_store status, address, hours.
if SCAVIO_API_KEY is not set or empty: halt and ask the user to sign up at https://dashboard.scavio.dev/sign-up and export their key. do not make api calls.
if api returns 401 (unauthorized): the key is invalid or expired. check the key on dashboard.scavio.dev and re-export.
if api returns 400 (bad request): parameter is invalid or missing. common causes: count > 28, category_id is not the segment after N- in target.com url, tcin or zip missing, radius outside 1-100. fix the parameter and retry.
if api returns 402 (payment required): credits are exhausted. present the billing_url in the response to the user. do not retry until topup is complete.
if api returns 404 (not found): the tcin or category_id does not exist. confirm the tcin is correct and that category_id is the segment after N- (e.g. 5xtg6), not the full url path. do not retry.
if api returns 429 (too many requests): rate or usage limit hit. wait before retrying. check scavio rate limit docs at https://scavio.dev/docs/rate-limits. if many concurrent requests, batch them and respect the concurrency ceiling for your plan (1 on free, up to 50 on growth).
if api returns 502 or 503 (gateway error): upstream target service is temporarily unavailable. retry once after 3-5 seconds. do not abandon early; a 502-then-retry has been observed taking 105 seconds total. if error persists after 2 retries, halt and inform the user target is temporarily down.
if client-side timeout occurs (>120 seconds with no response): target call is hanging. this is more likely than an api error. log the timeout and retry once. if it happens again, skip that call and inform the user the endpoint is unresponsive.
if seller_id and seller_name are null in response: the item is sold by target directly (first-party). do not report as missing or unknown; this is correct. if seller_id is non-null, it is a marketplace vendor (target plus).
if the user asks for pagination of all reviews: clarify that /reviews caps at 8 review bodies and there is no page parameter. the rating breakdown does cover all reviews, so direct the user there for complete sentiment data.
if the user asks for in-store stock from a search or product detail call: explain that only /availability returns in-store stock. search and product do not include per-store inventory. if not_sold_in_store appears in product, it means target sells that item online only, not that it is out of stock.
if the user asks to compare target prices to another retailer: use this skill to pull target data, then pair with scavio-walmart, scavio-amazon, or scavio-ebay for other retailers. make sure to pass the same store_id if comparing prices at a specific location.
if store_id is not passed: default to 3991 (a national default store). always disclose to the user that prices shown are for the default store unless a specific store was requested. prices vary by store; if the user cares about a specific location, ask for a store_id or extract it from target.com using their zip.
successful response format: json envelope with data, response_time (milliseconds), fetched_at (iso 8601 timestamp), credits_used (1), credits_remaining (integer).
search output: array of products in data.results[] with keys: tcin, name, url, price, regular_price, rating, review_count, badges[], promotions[], seller_id (null if target), seller_name (null if target).
category output: array of products in data.products[] (same schema as search) plus data.breadcrumb[] with category hierarchy.
product output: single object in data with keys: tcin, price, regular_price, parent_tcin (if child variant), selected_variant (if child, includes attributes, url, image, sold_out, shipping_available), price_min and price_max (if parent), rating, review_count, images[], specifications[], variants[] (family options), return_policy, fulfillment (shipping info), store_id (echoed), price_location_id (actual store price keyed to), url.
reviews output: object in data with keys: tcin, review_count (total across all reviews), average_rating, rating_breakdown (counts for 1-5 stars, covers all reviews), per_attribute_averages (e.g. durability, comfort), bodies[] (up to 8 review objects with text, rating, attributes, guest photos, reviewer name), store_id (echoed).
availability output: object in data with keys: tcin, zip, radius, street_date, count (number of stores), stores[] (array with keys: store_id, name, distance_miles, quantity (units available), in_store (status: in_stock|limited_stock|out_of_stock|not_sold_in_store|unavailable), pickup (status), pickup_date (iso date), curbside (status), ship_to_store (status), address, phone, hours (7-day array with day, open, close)).
status values in availability: in_stock, limited_stock, out_of_stock, not_sold_in_store (sold online only), unavailable.
all responses: include fetched_at to indicate data freshness. never cached. all numeric prices in usd as floats. all urls are full target.com product pages. all tcin values are strings.
the user knows the skill worked when:
additional signals: