Target Search API
The Target Search API returns Target's search results as JSON. Each product comes with its title, brand, price and promotions, rating and reviews, badges, variants, and its availability for shipping, pickup, same-day delivery and in store. The response also carries Target's filters, popular filters, related searches and pagination, and on a category page the category path in categories.
API Parameters
Search Query
-
- Name
-
q - Required
- Optional
- Description
-
Parameter defines the terms you want to search, up to 128 characters. A search needs
qorcategory_id. Target answers some keywords, such astoys, with a category page, and the response then lists that category's products.
-
- Name
-
category_id - Required
- Optional
- Description
-
Parameter defines the Target category to search in. Take it from the
category_idof an option in the Category group offilters. Withoutq, the response lists the category's products. The response also carries the category's path incategories.
Geographic Location
-
- Name
-
store_id - Required
- Optional
- Description
-
Parameter defines the Target store whose prices and availability are returned. The ID is the number at the end of a store's page address, such as
1771intarget.com/sl/cedar-rapids-south/1771. Find a store with Target's store locator. It is a number from1to9999with no leading zeros. Without it, prices are those of Target's online store3991and availability is that of store1771.
-
- Name
-
postal_code - Required
- Optional
- Description
-
Parameter defines the five-digit US ZIP code that shipping dates and delivery availability are worked out for, such as
10001.00000is not accepted.
Sorting
-
- Name
-
sort_by - Required
- Optional
- Description
-
Parameter defines the order of the results. Available options:
best_match,featured,price_low_to_high,price_high_to_low,rating_high_to_low,best_seller,new_arrivals.best_matchneedsq. A search without it comes in Target's own order.
Filters
-
- Name
-
filters - Required
- Optional
- Description
-
Parameter defines the filters to apply, as up to 40 values separated by commas. Take each value from the
filtersof an option infiltersor of an entry inpopular_filters.
-
- Name
-
price_min - Required
- Optional
- Description
-
Parameter defines the minimum price in US dollars, as a number from
0to1000000with up to two decimal places, such as20or19.99. Withprice_minalone, the maximum price is1000000.
-
- Name
-
price_max - Required
- Optional
- Description
-
Parameter defines the maximum price in US dollars, as a number from
0to1000000with up to two decimal places. It cannot be lower thanprice_min. Withprice_maxalone, the minimum price is0.
-
- Name
-
nfpr - Required
- Optional
- Description
-
Parameter controls Target's spelling correction. Set it to
1to search the query exactly as sent. Available options:0,1. When Target corrects a query,search_information.showing_results_forcarries the corrected one.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
Parameter defines the page of results, from
1to50. Target shows the first page when it is omitted.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
target_search.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=target_search&q=mens+t-shirt
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "mens t-shirt"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_9jGd7bMw38EDuqXGpmJ8v5YA",
"status": "Success",
"created_at": "2026-11-19T16:41:17Z",
"request_time_taken": 7.87,
"parsing_time_taken": 0.06,
"total_time_taken": 7.93,
"request_url": "https://www.target.com/s?searchTerm=mens+t-shirt",
"html_url": "https://www.searchapi.io/api/v1/searches/search_9jGd7bMw38EDuqXGpmJ8v5YA.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_9jGd7bMw38EDuqXGpmJ8v5YA"
},
"search_parameters": {
"engine": "target_search",
"q": "mens t-shirt"
},
"search_information": {
"total_results": 59809,
"query_displayed": "mens t-shirt",
"store_id": "1771",
"store_name": "Cedar Rapids South"
},
"organic_results": [
{
"position": 1,
"product_id": "94689077",
"parent_product_id": "94732708",
"title": "Hanes Men's Cotton Stretch Crewneck Shirt - White XL",
"link": "https://www.target.com/p/hanes-men-39-s-cotton-stretch-crewneck-shirt-white-xl/-/A-94689077",
"brand": "Hanes",
"brand_id": "5xl5q",
"category_id": "4vr7u",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_99a520bd-ae75-4d6a-bcc1-1c4b6becd3b9",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_fcd7c46e-0aa8-4971-9f3c-6c48dfe64271",
...
],
"price": "$12.99",
"extracted_price": 12.99,
"rating": 4.68,
"reviews": 132,
"ai_summary": {
"title": "Guests are saying",
"summary": "These Hanes cotton stretch t-shirts are a favorite among guests for their exceptional comfort and versatility. Made from a soft cotton blend with a touch of spandex, they provide a great fit that moves with you. Ideal for layering or wearing alone, these shirts maintain their shape and softness even after multiple washes. Guests appreciate their breathable fabric, tagless design, and the fact that they are perfect for everyday wear or active use.",
"sentiment": "positive"
},
"is_sponsored": true,
"dpci": "040-02-0960",
"item_type": "Shirts",
"classification": {
"department_id": "40",
"class_id": "2"
},
"recent_sales": "1k+ bought in last month",
"extracted_recent_sales": 1000,
"attributes": [
{
"name": "Garment protection and safety",
"value": "Breathable Fabric"
},
...
],
"variants": [
{
"option_type": "Size",
"product_id": "94689074",
"title": "S",
"link": "https://www.target.com/p/-/A-94689074",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_99a520bd-ae75-4d6a-bcc1-1c4b6becd3b9",
"swatch_thumbnail": "https://target.scene7.com/is/image/Target/baseswatch?color=252,252,252"
},
...
],
"fulfillment": {
"shipping": {
"availability": "IN_STOCK",
"expected_date": "2026-11-24",
"start_date": "2026-11-24",
"order_cutoff": "2026-11-20T19:00:00Z",
"text": "Standard Shipping",
"stock": 10
},
"pickup": {
"availability": "UNAVAILABLE"
},
"delivery": {
"availability": "UNAVAILABLE"
},
"in_store": {
"availability": "OUT_OF_STOCK",
"stock": 0
}
}
},
...
],
"popular_filters": [
{
"text": "Goodfellow & Co",
"filters": "rcv2g",
"thumbnail": "https://target.scene7.com/is/image/Target/gf129506-180514_1526316464150",
"link": "https://www.target.com/s?searchTerm=mens+t-shirt&facetedValue=rcv2g&newSearch=false"
},
...
],
"filters": [
{
"type": "Deals",
"options": [
{
"text": "All Deals",
"filters": "akkos",
"link": "https://www.target.com/s?searchTerm=mens+t-shirt&facetedValue=akkos&newSearch=false"
},
...
]
},
...
],
"related_searches": [
{
"query": "100 cotton t shirts",
"link": "https://www.target.com/s/100+cotton+t+shirts"
},
...
],
"pagination": {
"current": 1,
"next": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=24",
"other_pages": {
"2": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=24",
"3": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=48",
"4": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=72",
"5": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=96",
"6": "https://www.target.com/s?searchTerm=mens+t-shirt&Nao=120"
}
}
}
Product Listings
https://www.searchapi.io/api/v1/search?engine=target_search&q=headphones
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "headphones"
}
response = requests.get(url, params=params)
print(response.text)
{
"organic_results": [
{
"position": 1,
"product_id": "95009024",
"parent_product_id": "94760871",
"title": "Sony WH-1000XM6 Wireless Noise-Cancelling Headphones - Sand Pink",
"link": "https://www.target.com/p/sony-wh1000xm6-pink/-/A-95009024",
"brand": "Sony",
"brand_id": "5y720",
"category_id": "paw82",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_6b0bbc47-0d21-4d5f-9337-9e29f79cd7e3",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_8d932e09-7ee1-4d0e-9edb-ad854c2dc11c",
...
],
"price": "$349.99",
"extracted_price": 349.99,
"original_price": "$459.99",
"extracted_original_price": 459.99,
"discount": 110.0,
"discount_percentage": 24,
"tag": "Sale",
"price_note": "Ends Saturday",
"rating": 4.38,
"reviews": 375,
"loved_for": "excellent sound",
"ai_summary": {
"title": "Guests are saying",
"summary": "The Sony WH-1000XM6 headphones offer exceptional sound quality and industry-leading active noise cancellation, making them ideal for immersive listening experiences. Guests appreciate their comfort for extended wear, impressive battery life, and seamless connectivity with multiple devices. The headphones also feature customizable sound settings through an app, enhancing the listening experience for various music genres. While some guests noted minor comfort issues, the overall feedback highlights their effectiveness in blocking out noise and delivering rich audio.",
"pros": [
"excellent sound",
...
],
"cons": [
"fingerprint marks",
...
],
"sentiment": "mixed"
},
"is_sponsored": true,
"dpci": "008-07-8816",
"item_type": "Headphones",
"classification": {
"department_id": "8",
"class_id": "7"
},
"attributes": [
{
"name": "Wireless Technology",
"value": "Bluetooth"
},
...
],
"variants": [
{
"option_type": "Color",
"product_id": "94649372",
"title": "Black",
"link": "https://www.target.com/p/-/A-94649372",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_c7ad96c4-0f98-4d8d-9854-960c3f3ef0e8",
"swatch_thumbnail": "https://target.scene7.com/is/image/Target/GUEST_c7ad96c4-0f98-4d8d-9854-960c3f3ef0e8?cropN=0.32,0.66,0.05,0.05&sizeN=150,150"
},
...
],
"fulfillment": {
"shipping": {
"availability": "IN_STOCK",
"expected_date": "2026-11-24",
"start_date": "2026-11-24",
"order_cutoff": "2026-11-20T19:00:00Z",
"text": "Standard Shipping",
"stock": 10
},
"pickup": {
"availability": "UNAVAILABLE"
},
"delivery": {
"availability": "UNAVAILABLE"
},
"in_store": {
"availability": "NOT_SOLD_IN_STORE",
"stock": 0
}
},
"is_free_shipping": true
},
{
"position": 2,
"product_id": "1012764584",
"parent_product_id": "1014532259",
"title": "Sony WH-CH730N Bluetooth Wireless Noise-Canceling Headphones - White",
"link": "https://www.target.com/p/sony-wh-ch730n-bluetooth-wireless-noise-canceling-headphones-white/-/A-1012764584",
"brand": "Sony",
"brand_id": "5y720",
"category_id": "paw82",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_89af08bd-bb94-4448-974e-e967e5ce4e11",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_5c524546-cb21-42bf-ba48-3186dba20b01",
...
],
"price": "$99.99",
"extracted_price": 99.99,
"original_price": "$179.99",
"extracted_original_price": 179.99,
"discount": 80.0,
"discount_percentage": 44,
"tag": "Sale",
"price_note": "Ends Saturday",
"rating": 4.48,
"reviews": 23,
"loved_for": "comfortable design",
"ai_summary": {
"title": "Guests are saying",
"summary": "The Sony WH-CH730N wireless noise-cancelling headphones offer an impressive blend of comfort, sound quality, and practical features, making them ideal for various listening environments. Guests appreciate the lightweight design, effective noise cancellation, and user-friendly Sony Connect app that enhances the listening experience. With excellent battery life and easy Bluetooth pairing, these headphones are perfect for long sessions at home, commuting, or enjoying music on the go. However, some guests noted minor concerns regarding build materials and the absence of a carrying case.",
"pros": [
"Comfortable design",
...
],
"cons": [
"Build materials feel basic",
...
],
"sentiment": "mixed"
},
"is_sponsored": true,
"dpci": "008-07-4429",
"item_type": "Headphones",
"classification": {
"department_id": "8",
"class_id": "7"
},
"badges": [
{
"key": "new_at_target",
"text": "New At Target"
}
],
"recent_sales": "300+ bought in last month",
"extracted_recent_sales": 300,
"attributes": [
{
"name": "Wireless Technology",
"value": "Bluetooth"
},
...
],
"variants": [
{
"option_type": "Color",
"product_id": "1012764579",
"title": "Black",
"link": "https://www.target.com/p/-/A-1012764579",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_46c43104-7ca9-4286-9493-2537aaaf097e"
},
...
],
"fulfillment": {
"shipping": {
"availability": "IN_STOCK",
"expected_date": "2026-11-24",
"start_date": "2026-11-24",
"order_cutoff": "2026-11-20T19:00:00Z",
"text": "Standard Shipping",
"stock": 10
},
"pickup": {
"availability": "IN_STOCK",
"expected_date": "2026-11-19"
},
"delivery": {
"availability": "IN_STOCK",
"stock": 3
},
"in_store": {
"availability": "IN_STOCK",
"stock": 3
}
},
"is_free_shipping": true
},
...
]
}
Applied Filters
https://www.searchapi.io/api/v1/search?engine=target_search&filters=5y720%2C5tdv0&q=headphones
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "headphones",
"filters": "5y720,5tdv0"
}
response = requests.get(url, params=params)
print(response.text)
{
"filters": [
{
"type": "Brand",
"options": [
{
"text": "Adesso",
"filters": "5o81l",
"link": "https://www.target.com/s?searchTerm=headphones&facetedValue=5y720Z5tdv0Z5o81l&newSearch=false"
},
...
]
},
{
"type": "Deals",
"options": [
{
"text": "All Deals",
"filters": "akkos",
"link": "https://www.target.com/s?searchTerm=headphones&facetedValue=5y720Z5tdv0Zakkos&newSearch=false"
},
{
"text": "Sale",
"filters": "5tdv0",
"is_selected": true
},
...
]
},
...
]
}
Popular Filters
https://www.searchapi.io/api/v1/search?engine=target_search&q=lego
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "lego"
}
response = requests.get(url, params=params)
print(response.text)
{
"popular_filters": [
{
"text": "Deals",
"filters": "56h5n,akkos",
"thumbnail": "https://target.scene7.com/is/image/Target/Deals_CB159600-181214_1544819345725",
"link": "https://www.target.com/s?searchTerm=lego&facetedValue=56h5nZakkos&newSearch=false"
},
{
"text": "LEGO Botanicals",
"filters": "56h5n,b7xvqlt5a4v",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_b87aed28-9c64-4f7b-a06f-8d547598939c",
"link": "https://www.target.com/s?searchTerm=lego&facetedValue=56h5nZb7xvqlt5a4v&newSearch=false"
},
...
]
}
Related Searches
https://www.searchapi.io/api/v1/search?engine=target_search&q=electric+toothbrush
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "electric toothbrush"
}
response = requests.get(url, params=params)
print(response.text)
{
"related_searches": [
{
"query": "rechargeable toothbrush",
"link": "https://www.target.com/s/rechargeable+toothbrush"
},
{
"query": "rechargeable electric toothbrush",
"link": "https://www.target.com/s/rechargeable+electric+toothbrush"
},
{
"query": "toothbrush deep sweep",
"link": "https://www.target.com/s/toothbrush+deep+sweep"
},
...
]
}
Category Path
https://www.searchapi.io/api/v1/search?category_id=5xte8&engine=target_search
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"category_id": "5xte8"
}
response = requests.get(url, params=params)
print(response.text)
{
"categories": [
{
"title": "Electronics & Tech",
"category_id": "5xtg6",
"link": "https://www.target.com/c/electronics/-/N-5xtg6"
},
{
"title": "Cell Phones",
"category_id": "5xte8",
"link": "https://www.target.com/c/cell-phones-electronics-tech/-/N-5xte8"
}
]
}
Store and ZIP Code
https://www.searchapi.io/api/v1/search?engine=target_search&postal_code=18062&q=milk&store_id=2608
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "target_search",
"q": "milk",
"store_id": "2608",
"postal_code": "18062"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_parameters": {
"engine": "target_search",
"q": "milk",
"store_id": "2608",
"postal_code": "18062"
},
"search_information": {
"total_results": 195,
"query_displayed": "milk",
"store_id": "2608",
"store_name": "Lower Macungie Twp"
},
"organic_results": [
{
"position": 1,
"product_id": "14936369",
"parent_product_id": "94768582",
"title": "Horizon Organic Whole DHA Omega 3 Milk - 0.5gal",
"link": "https://www.target.com/p/horizon-organic-whole-dha-omega-3-milk-0-5gal/-/A-14936369",
"brand": "Horizon",
"brand_id": "5e90h",
"category_id": "h29og",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_f253600f-b409-4fe1-ab5f-a28bb6117911",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_c7abfa44-1386-4a46-84ac-6aaa63e46cfa",
...
],
"price": "$6.49",
"extracted_price": 6.49,
"price_range": {
"text": "$6.49 - $6.89",
"from": "$6.49",
"to": "$6.89",
"extracted_from_price": 6.49,
"extracted_to_price": 6.89
},
"unit_price": "$0.10/fluid ounce",
"extracted_unit_price": 0.1,
"rating": 4.67,
"reviews": 1672,
"loved_for": "organic quality",
"ai_summary": {
"title": "Guests are saying",
"summary": "This milk is a favorite among guests for its creamy texture and great taste, making it a popular choice for families, especially those with young children. Many appreciate its organic quality and added DHA omega-3, which supports health. However, some guests have experienced issues with expired products and off flavors, particularly when heated. Overall, it remains a go-to option for those seeking quality dairy.",
"pros": [
"organic quality",
...
],
"sentiment": "mixed"
},
"is_sponsored": true,
"dpci": "284-06-0406",
"item_type": "Milk and Buttermilk",
"classification": {
"department_id": "284",
"class_id": "6"
},
"badges": [
{
"key": "highly_rated",
"text": "Highly rated"
}
],
"is_snap_eligible": true,
"attributes": [
{
"name": "wellness standard",
"value": "Non-GMO"
},
...
],
"variants": [
{
"option_type": "Fat Content",
"product_id": "14937631",
"title": "2 Percent",
"link": "https://www.target.com/p/-/A-14937631",
"thumbnail": "https://target.scene7.com/is/image/Target/GUEST_fd089ccd-a822-4cbd-a506-59bc09b80888"
},
...
],
"fulfillment": {
"shipping": {
"availability": "OUT_OF_STOCK",
"stock": 0
},
"pickup": {
"availability": "IN_STOCK",
"expected_date": "2026-11-19"
},
"delivery": {
"availability": "IN_STOCK",
"stock": 6
},
"in_store": {
"availability": "IN_STOCK",
"stock": 6
}
}
},
...
]
}