100 free credits. No credit card required. Get a key

Target product API

One Target item with price at a store, specifications, images, ratings and variations.

GET /v1/target/products/{tcin}2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/target/products/87450164",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"tcin": "87450164",
"product": {
"__typename": "Product",
"tcin": "54406334",
"category": {
"parent_category_id": "4ydi5",
"name": "Holiday Hosting & Entertaining",
"breadcrumbs": [
"…"
]
},
"sales_classification_nodes": {
"node_ids": [
"…"
]
},
"ratings_and_reviews": {
"has_verified": true,
"statistics": {
"…": "6 fields"
},
"most_recent": [
"…"
],
"photos": [
"…"
]
},
"variation_hierarchy": [
{
"…": "5 fields"
},
"… 2 more"
],
"desirability_cues": [
{
"…": "3 fields"
}
],
"ornaments": [
{
"…": "6 fields"
},
"… 1 more"
],
"…": "6 more fields"
}
}

Parameters

NameTypeDescription
tcinpath · requiredstringTarget item number (TCIN), or a target.com/p/…/A-<tcin> URL. Example: 87450164.
store_idquerystringStore whose prices and stock to use (default 3991).
Response fields

200 with a TargetProductResponse, in the JSON Target’s own site reads.

FieldTypeDescription
tcinstring
productTargetProductTarget’s pdp_client product: item (title, brand, bullets, images, specs), price, ratings_and_reviews, variation_hierarchy, children, promotions, category.
Status codes
StatusMeaning
200The item.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The item, category or place does not exist.
429Too many requests. Wait for Retry-After seconds.
503Target is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Target is a trademark of Target Brands, Inc. We are not affiliated with or endorsed by Target.