  [Home](https://scrapfly.io/)/[Scrapers](https://scrapfly.io/scrapers)/**Target**

Products · search results · store stock · store locations

# // Target.com Scraper API

Get Target product pages, search results, store-level stock and store locations as clean JSON: price and sale price, rating, review count, variants, and pickup and shipping status. Scrapfly gets each page past Target's bot check, so you send a URL and read the data.

- **Clone it and run it.** An open-source Target scraper for products, search results, store stock and store locations, tested against live Target every night.
- **Stock by store.** Ask for a store ID and ZIP code and get that store's pickup status and available quantity, next to shipping.
 
 [Get free API key](https://scrapfly.io/register) [View GitHub scraper](https://github.com/scrapfly/scrapfly-scrapers/tree/main/target-scraper) [Read the API docs](https://scrapfly.io/docs/scrape-api/getting-started) 

**$3.00 per 1,000 pages** on the Pro plan: 30 credits a page at $0.10 per 1,000 credits.

1,000 free credits. No credit card required.

 [  ](https://scrapeway.com/web-scraping-api/scrapfly) [  ](https://www.capterra.com/p/212653/Scrapfly/reviews/)  

 4.8/5 from 248 reviews 

 

 

 

 

 Target pages · illustration

  

 

 Product JSON**Output**

```
{
  <span class="c-str">"tcin"</span>: <span class="c-str">"1014309567"</span>,
  <span class="c-str">"price"</span>: <span class="c-str">"$79.99"</span>,
  <span class="c-str">"price_type"</span>: <span class="c-str">"sale"</span>,
  <span class="c-str">"regular_price"</span>: <span class="c-num">129.99</span>,
  <span class="c-str">"rating"</span>: <span class="c-num">4.55</span>,
  <span class="c-str">"reviews"</span>: <span class="c-num">784</span>,
  <span class="c-str">"variants"</span>: <span class="c-num">2</span>,
  <span class="c-str">"variants_shipping"</span>: <span class="c-num">2</span>
}
```

Printed by the Python request below[See the request ↓](#implementation)

   

  

What you can scrape from Target

Four kinds of Target.com data you can scrape with Scrapfly, no Target account required.

 

## // Scrape Target product pages

A product page sends its title and rating with the HTML, then loads price, stock and variants through its own JSON calls. Render the page and read those calls to get the current price, the regular price during a sale, the rating and review count, and for each variant its item number (TCIN), free shipping and stock.

- tcin
- title
- price
- reg\_price
- rating
- reviews
- variants

  

## // Scrape Target search results

A search page gives each result's TCIN, link, title, brand, price and regular price, with a price range for products that come in several options. Target loads the result grid with JavaScript, so render the page. Sponsored placements can show a product twice, so deduplicate by TCIN.

- tcin
- url
- title
- brand
- price
- reg\_price

  

## // Scrape Target stock by store

Target's fulfillment data tells you, per product and store, whether it is in stock for pickup, in the store and for shipping, how many units are available, when a pickup order is ready and when a shipped order arrives. Ask for it with a store ID and ZIP code to compare the same product across stores.

- tcin
- store
- pickup
- in\_store
- shipping
- quantity

  

## // Scrape Target store locations

Target's store sitemap lists store pages with their IDs. The store data adds the address, phone numbers, coordinates, opening hours, the store format and services such as Drive Up, Store Pickup or a pharmacy.

- store\_id
- address
- phone
- hours
- services
- coordinates

  

 

  

Reliability

## // Get Target pages past the bot check

Target runs a bot check on its pages and loads prices after the page itself. With the Unblocker and a browser, Scrapfly passes the check, renders the page and returns it with the JSON calls it made. Prices change with sales and stock changes by store, so store each value with its scrape time and store.

 `unblocker=true`

Routes the request through US residential proxies and solves the check in the browser. The first visit can take close to a minute; later requests often return in about ten seconds.

 

 `wait_for_selector=xhr:…`

Price, stock and variants arrive in XHR calls after the page loads. Wait for the `deferred_enrichment` call, add a short `rendering_wait` for the calls that follow, and read them from the response's browser data.

 

 `store_id`

A product page shows stock for the store nearest the visitor's IP, so the store can change from one request to the next. For a fixed store, pass its ID and ZIP code to the fulfillment call, as the open-source scraper does.

 

 

 

  

Choose your tools

## // Scrapfly products for Target scraping

Start with the Web Scraping API. Add an extraction model, screenshots or a browser session as your workflow needs them, or start from the open-source scraper. One API key covers every product.

 

### Web Scraping API for Target pages

Send a Target product or search URL with the Unblocker and a US country, and get the rendered page back with the JSON calls it made.

On product pages, wait for the `deferred_enrichment` call to read price and stock. On search pages, render so the result grid loads.

```
GET /scrape?url=https://www.target.com/p/-/A-1014309567&unblocker=true&country=US&render_js=true&rendering_wait=5000&wait_for_selector=xhr:deferred_enrichment/modules
```

 [Explore Web Scraping API →](https://scrapfly.io/products/web-scraping-api)  

### Data Extraction API for Target products

Add `extraction_model=product` to a rendered product request and get the product back as JSON, with no parser to write.

Get the name, brand, price and regular price, availability, rating and review count, delivery estimate, category path, images and colour variants.

```
GET /scrape?url=https://www.target.com/p/-/A-1014309567&unblocker=true&country=US&render_js=true&rendering_wait=5000&extraction_model=product
```

 [Explore Data Extraction API →](https://scrapfly.io/products/extraction-api)  

### Screenshot API for Target pages

Capture a Target product page as shoppers see it, with the sale price, the regular price and the pickup and shipping options for the nearest store.

Keep a dated visual record of prices and offers next to your JSON.

```
GET /screenshot?url=https://www.target.com/p/-/A-89231676&country=us&format=jpg&resolution=1920x1080&rendering_wait=3000
```

 [Explore Screenshot API →](https://scrapfly.io/products/screenshot-api)  

### Cloud Browser API for Target sessions

Call the Cloud Browser Unblock API with a Target URL to get a hosted Chromium session that is already past Target's check.

Connect Playwright or Puppeteer to the returned `ws_url` and work with the product page in a real browser.

```
POST https://browser.scrapfly.io/unblock?key=KEY {"url": "https://www.target.com/p/-/A-89231676", "country": "us"}
```

 [Explore Cloud Browser API →](https://scrapfly.io/products/cloud-browser-api)  

### Open-source Target scraper on GitHub

Clone the maintained Python scraper for product pages, search results, store stock and store locations.

It runs on the Web Scraping API with the Unblocker on US residential IPs, reads the JSON calls Target's pages make, pages through search results, and is tested against live Target every night.

- scrape\_product
- scrape\_search
- scrape\_availability
- scrape\_store\_locations
- scrape\_store\_locations\_sitemap

 [View the scraper on GitHub →](https://github.com/scrapfly/scrapfly-scrapers/tree/main/target-scraper)  

 

  

One request

## // Read a product's price, sale and stock

The JSON at the top is sample output from November 25, 2026, for a Ninja Pro 4-in-1 air fryer: one request through a US residential IP with a browser, the product's price, rating and fulfillment calls read from the response, then its sale price, regular price, rating, review count and how many of its variants ship. Prices change with sales, so yours may differ.

Install `scrapfly-sdk`, then replace the key below. Change the number after `A-` in the URL, the product's TCIN, to read any product.

**Prefer the full scraper?** The open-source [Target scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/target-scraper) scrapes product pages, search results across several pages, stock for a store and ZIP code, and store locations, in Python 3.12. It runs against live Target every night. Clone it, set `SCRAPFLY_KEY`, and point it at your own products, searches or stores.

 

 Python · scrapfly-sdkscrape + parse

```
<span class="c-key">import</span> json
<span class="c-key">from</span> scrapfly <span class="c-key">import</span> ScrapeConfig, ScrapflyClient

client = ScrapflyClient(key=<span class="c-str">"YOUR_SCRAPFLY_KEY"</span>)
result = client.scrape(ScrapeConfig(
    <span class="c-str">"https://www.target.com/p/-/A-1014309567"</span>,
    unblocker=<span class="c-key">True</span>, country=<span class="c-str">"US"</span>, render_js=<span class="c-key">True</span>,
    wait_for_selector=<span class="c-str">"xhr:deferred_enrichment/modules"</span>,
    rendering_wait=<span class="c-num">5000</span>,  <span class="c-com"># the modules arrive in several calls</span>
))

<span class="c-com"># price, stock and ratings load after the page, over XHR</span>
modules = {}
<span class="c-key">for</span> call <span class="c-key">in</span> result.scrape_result[<span class="c-str">"browser_data"</span>][<span class="c-str">"xhr_call"</span>]:
    <span class="c-key">if</span> <span class="c-str">"deferred_enrichment/modules"</span> <span class="c-key">not</span> <span class="c-key">in</span> call[<span class="c-str">"url"</span>]:
        <span class="c-key">continue</span>
    body = (call.get(<span class="c-str">"response"</span>) <span class="c-key">or</span> {}).get(<span class="c-str">"body"</span>)
    <span class="c-key">if</span> <span class="c-key">not</span> body:
        <span class="c-key">continue</span>
    <span class="c-key">for</span> module <span class="c-key">in</span> json.loads(body).get(<span class="c-str">"modules"</span>, []):
        modules[module[<span class="c-str">"module_type"</span>]] = module[<span class="c-str">"module_data"</span>]

product = modules[<span class="c-str">"ProductDetailWebDatasourceWithStore"</span>][
    <span class="c-str">"data"</span>][<span class="c-str">"product"</span>]
ratings = modules.get(<span class="c-str">"ProductDetailReviewsAndQuestions"</span>,
                      {}).get(<span class="c-str">"ratings_and_reviews"</span>, {})
variants = modules[
    <span class="c-str">"ProductDetailWebDatasourceFulfillmentAndVariations"</span>][
    <span class="c-str">"data"</span>][<span class="c-str">"product"</span>].get(<span class="c-str">"children"</span>, [])
ships = <span class="c-num">0</span>
<span class="c-key">for</span> v <span class="c-key">in</span> variants:
    shipping = (v.get(<span class="c-str">"fulfillment"</span>) <span class="c-key">or</span> {}).get(
        <span class="c-str">"shipping_options"</span>) <span class="c-key">or</span> {}
    ships += shipping.get(<span class="c-str">"availability_status"</span>) == <span class="c-str">"IN_STOCK"</span>
price = product[<span class="c-str">"price"</span>]
output = {
    <span class="c-str">"tcin"</span>: product[<span class="c-str">"tcin"</span>],
    <span class="c-str">"price"</span>: price[<span class="c-str">"formatted_current_price"</span>],
    <span class="c-str">"price_type"</span>: price[<span class="c-str">"formatted_current_price_type"</span>],
    <span class="c-str">"regular_price"</span>: price.get(<span class="c-str">"reg_retail_max"</span>),
    <span class="c-str">"rating"</span>: ratings.get(<span class="c-str">"average"</span>),
    <span class="c-str">"reviews"</span>: ratings.get(<span class="c-str">"count"</span>),
    <span class="c-str">"variants"</span>: len(variants),
    <span class="c-str">"variants_shipping"</span>: ships,
}
print(json.dumps(output, indent=<span class="c-num">2</span>))
```

 

 

 

  

What the data is used for

## // Common Target scraping use cases

### Price monitoring

Track Target's prices and sales on the products you sell or compare against, over time.

 

### Stock tracking

Check pickup and shipping stock for your products in the stores and ZIP codes you care about.

 

### Assortment research

See which brands and price points lead Target's search results for a keyword.

 

### Store location data

Map Target stores with their addresses, hours, formats and services.

 

### Rating tracking

Follow how a product's average rating and review count change after a launch or a price change.

 

### Product data for AI agents

Give an assistant current Target prices and stock, with links, for the product a user asks about.

 

 

 

  

Common questions

## // Target scraping FAQ

 Is scraping Target legal?

There is no universal answer. Legality depends on your jurisdiction, the data, the access method and how you use the result. Keep the workflow to public product, search and store pages, stay signed out, review Target's terms of use, and get legal advice for commercial use.

 Do I need a Target account or API key?

No. The requests on this page read public Target pages signed out, so you only need a Scrapfly API key.

 Why is the price missing from the page HTML?

Target sends the product title and rating with the page, then loads price, stock and variants through JSON calls. Request the page with `render_js` and `wait_for_selector=xhr:deferred_enrichment/modules`, then read those calls from the response's browser data, as the code above does.

 Can I check stock at a specific Target store?

Yes. Target's fulfillment data takes a store ID and ZIP code and returns pickup, in-store and shipping status with the available quantity. The store ID is the number at the end of a store page URL, such as `/sl/crystal/3`, and the open-source scraper's `scrape_availability` asks for it this way.

 Can I scrape Target search results?

Yes. Request `https://www.target.com/s?searchTerm=your+keywords` with `render_js` and wait for the product cards. Add `&Nao=24` for the next page, as the open-source scraper does, and deduplicate by TCIN, since sponsored placements can repeat a product.

 What is a TCIN?

Target's item number: the digits after `A-` in a product URL. A product that comes in several options has a parent TCIN and one TCIN per variant, each with its own price and stock.

 How much does scraping Target cost?

A Target request through the Unblocker costs 25 credits on residential proxies, or 30 when a browser runs, which product and search pages need. The product extraction model adds 5 credits per started 500 KB of page. The free plan includes 1,000 credits a month.

 What are the rate limits when scraping Target?

Scrapfly sets no Target-specific limit. Your maximum parallelism is the concurrency quota on your plan, or a lower cap configured for the project. Each in-flight request uses one slot until it finishes.

 

 

  

Start with one request

## Send the URL. Read the product.

Web Scraping API with the Unblocker, one call per Target URL.

Proxies across 75+ countries

[Target scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/target-scraper)[How to scrape Target.com](https://scrapfly.io/blog/posts/how-to-scrape-target-com)[Walmart Scraper API](https://scrapfly.io/scrapers/walmart)[Best Buy Scraper API](https://scrapfly.io/scrapers/bestbuy)[All scraper pages](https://scrapfly.io/scrapers)

 

[Get free API key](https://scrapfly.io/register)[Read the docs](https://scrapfly.io/docs/scrape-api/getting-started)