New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →
GET/api/v2/target-category/

Target Category Scraper API

Last updated: · REST · JSON

Quick answer

Send GET https://proxy.scrapier.io/api/v2/target-category/?urls=https://www.target.com/c/kitchen-dining/-/N-hz89j with your key in the X-API-Key header. You get the page of products back as JSON. 1 credit per page of products; failed calls are free.

  • 1 credit per page of products
  • Failed calls free
  • 3 parallel requests per key
Copy for your AI agent
API

Call the Target Category Scraper API

Use the Target Category Scraper API from your own apps, scripts or agents. You need a Scrapier account and the API key from your dashboard. Pick a language.

category.py
import requests# Replace YOUR_API_KEY with the key from your Scrapier dashboardAPI_KEY = "YOUR_API_KEY"params = {    "urls": "https://www.target.com/c/kitchen-dining/-/N-hz89j",    "sort_by": "featured",    "store_id": "3991",    "zip": "55403",    "enrich_details": "true",    "include_sponsored": "false",}r = requests.get(    "https://proxy.scrapier.io/api/v2/target-category/",    headers={"X-API-Key": API_KEY},    params=params,    timeout=210,)r.raise_for_status()# The result sits under data.productsresult = r.json()["data"]["products"]print(result)

Target Category Scraper API in Python

Plain requests is all you need — no SDK. Every response is typed JSON.

Install

$ pip install requests

Other ways to call it

Playground

Target Category Scraper API Interactive Playground

Edit the request, watch the code update, then run it. Without a key it shows the catalog sample and bills nothing. With your key it makes a real call from your browser; the key goes only to proxy.scrapier.io and is never stored.

No key? Run the catalog sample.
ReadyLatency —Credits billed: 0
Request readyGET /api/v2/target-category/?urls=https://www.target.com/c/kitchen-dining/-/N-hz89j

Press Run request to send it. Without a key you get the catalog sample.

Sending request…
Error

Failed calls are not billed.

Import in PostmanOpenAPI spec

The sample is the same for every input: it shows the response shape, not the account you typed.

Example response, catalog sample from 9 Nov 2026
{
  "success": true,
  "data": {
    "urls": "https://www.target.com/c/kitchen-dining/contigo/-/N-hz89jZ5v3gb",
    "category_id": "hz89j",
    "page": 1,
    "page_size": 24,
    "total_results": 66,
    "products": [
      {
        "input_url": "https://www.target.com/c/kitchen-dining/contigo/-/N-hz89jZ5v3gb",
        "category_id": "hz89j",
        "facets": "5v3gb",
        "position": 2,
        "page": 1,
        "id": "1004801191",
        "url": "https://www.target.com/p/contigo-cortland-chill-2-0-24oz-stainless-steel-water-bottle-with-autoseal-lid/-/A-1004801191",
        "title": "Contigo Cortland Chill 2.0, 24 oz, Stainless Steel Water Bottle with AUTOSEAL Lid",
        "description": "Press, sip, and seal your way to better hydration. The AUTOSEAL Stainless Steel Water Bottle lets you sip easily with just the push of a button...",
        "seller": "CPGIO",
        "brand": "Contigo",
        "price": {
          "current": 28.49,
          "original": 35,
          "currency": "USD"
        },
        "rating": {
          "average": 4.86,
          "count": 34
        },
        "image_urls": [
          "https://target.scene7.com/is/image/Target/GUEST_779483a4-5e59-473e-93cc-3445e4d35511"
        ],
        "availability": "IN_STOCK",
        "reviews_count": 32,
        "features": [
          "Push AUTOSEAL button for 100% spill-proof one-handed drinking; spout automatically seals when button is released",
          "Double-wall vacuum-insulated stainless steel keeps drinks cold for 24 hours and hot for 6 hours"
        ],
        "scraped_at": "2026-09-23T11:29:59.623Z"
      }
    ],
    "next_cursor": "eyJjIjoiaHo4OWoiLCJmIjoiNXYzZ2IiLCJuIjoyNCwibnAiOjIsInAiOjJ9"
  }
}
Data

Data You Can Extract

Target Category Scraper reads one Target category page, given as a category URL or a bare category ID, and returns its products page by page. Every field below comes from the catalog sample response, as typed JSON.

Product

7 fields in the response.

  • id
  • url
  • title
  • description
  • brand
  • seller
  • features

Price, rating and stock

4 fields in the response.

  • price
  • rating
  • reviews_count
  • availability

Media

1 field in the response.

  • image_urls

Position in the listing

6 fields in the response.

  • position
  • page
  • category_id
  • facets
  • input_url
  • scraped_at

Response envelope and paging

7 fields in the response.

  • success
  • data.urls
  • data.category_id
  • data.page
  • data.page_size
  • data.total_results
  • data.next_cursor
Schema

Response Schema Reference

Every field in the sample response. Field names stay the same on every call.

FieldTypeExampleDescription
products.idstring"1004801191"Product ID (TCIN)
products.urlstring"https://www.target.com/p/contigo-cortland-c…"URL of the product page
products.titlestring"Contigo Cortland Chill 2.0, 24 oz, Stainles…"Product title
products.descriptionstring"Press, sip, and seal your way to better hyd…"Product description text
products.brandstring"Contigo"Brand name
products.sellerstring"CPGIO"Seller name, such as a marketplace seller
products.featuresarray2 itemsList of feature bullets
products.priceobject{…}Object with current, original and currency
products.ratingobject{…}Object with average and count
products.reviews_countinteger32Number of written reviews
products.availabilitystring"IN_STOCK"Stock status, such as IN_STOCK
products.image_urlsarray1 itemsImage links for the product
products.positioninteger2Place of the product in the listing
products.pageinteger1Page number the product was on
products.category_idstring"hz89j"Category ID of the product
products.facetsstring"5v3gb"Facet filter code from the input URL
products.input_urlstring"https://www.target.com/c/kitchen-dining/con…"The input URL the product was read from
products.scraped_atstring"2026-09-23T11:29:59.623Z"When the product was scraped (ISO 8601)
successbooleantruetrue on every 200 response
data.urlsstring"https://www.target.com/c/kitchen-dining/con…"Your input, echoed back
data.category_idstring"hz89j"Target category ID
data.pageinteger1Page number of this response
data.page_sizeinteger24Number of products per page
data.total_resultsinteger66Total products in the category for this query
data.next_cursorstring"eyJjIjoiaHo4OWoiLCJmIjoiNXYzZ2IiLCJuIjoyNCw…"Pass back as cursor for the next page; null on the last page
Parameters

Request Parameters Reference

NameTypeRequiredDefaultDescriptionExample
urlsstringYes—A Target category URL or a bare category ID. One per call. Required on the first call. Aliases: url, category_url, category_id, categoryhttps://www.target.com/c/kitchen-dining/-/N-hz89j
cursorstringNo—Pass back data.next_cursor from the previous response to get the next page; null means the last page—
sort_bystringNofeaturedSort order: featured (default), price_low, price_high, rating, bestselling or newest. Locked in the cursorfeatured
store_idstringNo3991Target store ID used for availability (catalog default 3991). Locked in the cursor3991
zipstringNo55403ZIP code of the store used for availability (catalog default 55403). Locked in the cursor55403
enrich_detailsbooleanNotruetrue or false: add detail to each product (default true). Locked in the cursortrue
include_sponsoredbooleanNofalsetrue or false: include sponsored products (default false). Locked in the cursortrue
use_proxybooleanNotrueUse Scrapier's residential proxy pool when true (default true). Leave as istrue
raw_databooleanNofalseReturn Target's raw upstream payload under raw_responses instead of the formatted itemstrue

One value per call: to read ten categories, make ten calls and page each with cursor. Booleans are the strings true or false.

Pagination in the Target Category Scraper API

The Target Category Scraper API returns results in pages. Pass data.next_cursor back as cursor to get the next page; when it is null there are no more. Each successful call, first page or later, costs 1 credit.

Access

Access Without Target Login

The Target Category Scraper API needs no Target account, no login and no session cookies. You send your Scrapier key in the X-API-Key header and get JSON back. It reads public data only: what any visitor sees without logging in.

Performance

Speed, Cost and Concurrency

MetricValueSource
Cost of a successful call1 creditScrapier catalog
Cost of a failed call0 creditsAny non-2xx response
Parallel requests per key3Above that: 429 with Retry-After
Recommended client timeout210 secondsScrapier docs, every endpoint

Latency of the Target Category Scraper API

Scrapier does not publish a latency or success-rate figure for this endpoint. Each call reads Target at call time, so response time depends on Target and on the size of the result. Set a client timeout of 210 seconds, as the docs recommend for every endpoint.

Limits

Limits of the Endpoint

Honest constraints of the Target Category Scraper API.

  • Public data only.
  • A failed call, for example a missing or unavailable page of products, returns a non-2xx status and costs 0 credits.
  • Data is read live at call time.
  • 3 parallel requests per key; above that the API answers 429 with Retry-After.
  • Large results come in pages; pass data.next_cursor back as cursor.
  • Fields Target does not show are not returned.
Compare

Scrapier vs the Official Target API

Building your own is the better choice only when you need data from behind a Target login or want to control every request yourself.

FeatureScrapier {unit} scraperBuilding your own Target scraper
Access neededOne Scrapier API keyProxies, request headers and a way to handle blocks
What you getA category page of products with price, rating and stockWhatever you write the parser for
Fields returned18 fields per item, named the same on every callFields you extract and keep fixing yourself
Rate limitsUp to 3 parallel requests per key; 429 with Retry-AfterSet by how much traffic your proxies can carry
SetupSign up, copy a key, send a requestBuild, host and monitor a scraper
Cost1 credit per call, from $1.20 per 1,000 callsProxy, server and maintenance time
Errors

Errors and Retry Handling

StatusMeaningBilledFix
200Page of products data returned in data.productsYes—
400Bad or missing inputNoCheck urls: one value per call
401X-API-Key header missingNoAdd the header
402Out of credits (body has balance)NoTop up; retrying will not help
403Invalid or revoked API keyNoCheck the key in your dashboard
429ThrottledNoWait Retry-After seconds, then retry
5xxUpstream failure or timeoutNoRetry with backoff; set a 210 s client timeout

From the error reference. Any non-2xx response costs 0 credits.

Retry logic for the Target Category Scraper API

retry.py
import time, requests

def get_category(value, key, tries=5):
    for attempt in range(tries):
        r = requests.get(
            "https://proxy.scrapier.io/api/v2/target-category/",
            headers={"X-API-Key": key},
            params={"urls": value},
            timeout=210,
        )
        if r.status_code == 429:
            time.sleep(int(r.headers.get("Retry-After", 2 ** attempt)))
        elif r.status_code >= 500:
            time.sleep(2 ** attempt)
        else:
            r.raise_for_status()
            return r.json()
    raise RuntimeError("gave up after retries")
Pricing

Pricing and Rate Limits

PlanMonthly pricePages Of Products includedCost per 1,000
Hobby$2915,000$1.93
Pro$7950,000$1.58
Scale$299250,000$1.20

See all plans →

Billing rules for the Target Category Scraper API

The Target Category Scraper API bills 1 credit per successful page of products. Failed calls, meaning any non-2xx status, cost 0 credits. Every plan allows 3 parallel requests per key. The free tier lets you try it before you pay.

Bulk

Bulk Lookups and CSV

urls takes one value per call. For a list, loop and run up to 3 requests in parallel per key, then flatten each row into one CSV line.

bulk.py
import csv, requests
from concurrent.futures import ThreadPoolExecutor

values = ["https://www.target.com/c/kitchen-dining/-/N-hz89j"]  # your list

def fetch(value):
    r = requests.get(
        "https://proxy.scrapier.io/api/v2/target-category/",
        headers={"X-API-Key": "YOUR_API_KEY"},
        params={"urls": value},
        timeout=210,
    )
    r.raise_for_status()
    out = r.json()["data"]["products"]
    return out if isinstance(out, list) else [out]

# 3 parallel requests per key is the limit
with ThreadPoolExecutor(max_workers=3) as pool:
    rows = [row for part in pool.map(fetch, values) for row in part]

cols = ["id", "title", "brand", "seller", "availability", "reviews_count"]
with open("out.csv", "w", newline="") as f:
    w = csv.DictWriter(f, fieldnames=cols, extrasaction="ignore")
    w.writeheader()
    w.writerows(rows)

CSV export from the Target Category Scraper API

out.csvcatalog sample · 1 row
id,title,brand,seller,availability,reviews_count
1004801191,Contigo Cortland Chill 2.0, 24 oz, Stainless Steel Water Bottle with AUTOSEAL Lid,Contigo,CPGIO,IN_STOCK,32
Agents

AI Agent Access via MCP

MCP for the Target Category Scraper API

The same endpoint is available to AI agents through the Scrapier MCP server at https://mcp.scrapier.io/mcp. One command registers it in Claude Code: claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY". The agent finds the endpoint with search_endpoints and calls it with run_scrape and the endpoint id target-category. It takes the same urls input and costs the same 1 credit per page of products. Setup for every client is on the Target Category Scraper MCP page.

Integrations

Integration Paths by Role

No-code

n8n and Make

  1. Add an HTTP Request step
  2. GET the endpoint with your X-API-Key header
  3. Map the data.products fields to your columns
Developers

Loop and paginate

for value in values: rows += get(value) while cur := page["data"]["next_cursor"]: page = get(cursor=cur)
AI agents

MCP tool in your agent

Call run_scrape with endpoint target-category from Claude, Cursor or Windsurf. Setup is on the MCP page.

Analysts

CSV and flattened JSON

Flatten each row into one CSV line, one column per field, ready for Sheets, Excel or a BI tool.

FAQ

Frequently Asked Questions

Is there a Target page of products API?

Yes. Scrapier's Target Category Scraper API returns any public page of products as JSON with one GET request and an X-API-Key header. No Target app or login.

How do I call it from Python?

Use <code>requests.get</code> on <code>https://proxy.scrapier.io/api/v2/target-category/</code> with <code>params={'urls': 'https://www.target.com/c/kitchen-dining/-/N-hz89j'}</code> and <code>headers={"X-API-Key": KEY}</code>. Read <code>r.json()["data"]["products"]</code>.

What happens when a call fails?

Any non-200 response is free. Retry 429 and 5xx with backoff; the API already retries upstream failures.

How much does it cost?

1 credit per successful call — about $1.58 per 1,000 pages of products on the Pro plan. Failed calls are free.

Is there an OpenAPI spec?

Yes. It needs no key and covers every Scrapier endpoint.

Fetch public Target pages of products as typed JSON in one request

1 credit per page of products · failed calls free