Skip to main content

Target Parser

Using the ScrapeOps Parser API you can scrape Target Pages without having to maintain your own product parsers.

Simply send the HTML of the Target Pages to the Parser API endpoint, and receive the data in structured JSON format.

Target Parser API Endpoint:


"https://parser.scrapeops.io/v2/target"

The Target Parser supports the following page types:


Authorisation - API Key

To use the ScrapeOps Parser API, you first need an API key which you can get by signing up for a free account here.

Your API key must be included with every request using the api_key query parameter otherwise the API will return a 403 Forbidden Access status code.


ScrapeOps Parser API - Target Product Page

Target Product Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Target Product Page with a very simple GET request:


import requests

response = requests.get('https://www.target.com/p/minolta-20-mega-pixels-26x-optical-zoom-digital-camera-with-1080p-fhd-video-black/-/A-92258924')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.target.com/p/minolta-20-mega-pixels-26x-optical-zoom-digital-camera-with-1080p-fhd-video-black/-/A-92258924')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.target.com/p/minolta-20-mega-pixels-26x-optical-zoom-digital-camera-with-1080p-fhd-video-black/-/A-92258924',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/target',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"product_details": {
"description": "Birds of a feather flock around this multi-hook feeder! Each hook is ready for use with one of two included feeder types: a suet feeder and a tube feeder. There are also a food tray and a water bowl so smaller birds can join the fun. 2 top hooks, 2 moveable hooks, a rust-resistant pole, and a 4-prong base make this a sturdy, dynamic garden fixture. The base secures deep within the ground for a sturdy hold. Feeding accessories are included! (Bird food not included)",
"highlights": [
"FEEDERS INCLUDED: This set comes complete with two feeders: a tube feeder and suet feeder, as well as a water bowl and additional food tray",
"MULTIPURPOSE HOOKS: The durable hooks are excellent hangers for feeders as well as wind chimes, birdhouses, and other decor",
"EASY ASSEMBLY: Threaded tubes come together while a set of wingnuts secure additional hooks or feeder stations before staking the pole into the ground",
"BUILT TO LAST: Made entirely of durable steel, this feeding station features a long anchor to withstand the wind and allow feathery friends to stop by for years to come",
"INVITING OUTDOOR ACCENT: At 91 inches tall, this feeder station will help attract dozens of birds and improve your gardening experience; OVERALL DIMENSIONS: 21.25\"(Dia) x 91\"(H)"
]
},
"product_summary": {
"brand": "Best Choice Products",
"brand_url": "https://www.target.com/b/best-choice-products/-/N-q643le2dwgz",
"categories": [
{
"name": "Target",
"url": "https://www.target.com/"
},
{
"name": "Pets",
"url": "https://www.target.com/c/pets/-/N-5xt44"
},
{
"name": "Bird Supplies",
"url": "https://www.target.com/c/bird-supplies-pets/-/N-5xt43"
}
],
"fullfillment": {},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_a114684c-7fb4-4cca-bbdd-fdf974b01490",
"https://target.scene7.com/is/image/Target/GUEST_30f5cdc1-9469-4b19-bc8b-fdbdc7bbb570",
"https://target.scene7.com/is/image/Target/GUEST_983e6a5d-b579-4aa7-855e-3e18747cc195",
"https://target.scene7.com/is/image/Target/GUEST_5b7902f7-7f80-45ef-8630-a906d6f04263",
"https://target.scene7.com/is/image/Target/GUEST_be652a75-7fd6-4657-9424-34d12b00ac48",
"https://target.scene7.com/is/image/Target/GUEST_c39b2cc1-5967-4fde-ac38-66b3b6bd70e9"
],
"name": "Best Choice Products 91in 4-Hook Bird Feeding Station, Steel Multi-Feeder Stand w/ 2 Feeders, Tray, Bird Bath",
"offer_type": "Sale",
"price": "$29.99",
"price_location": "When purchased online",
"price_regular": "reg $69.99",
"price_savings": "save $40.00 (57% off)",
"question_count": 4,
"rating_star": 4.6,
"reviews_count": 908,
"variants": [
{
"label": "color",
"options": [
{
"image": "https://target.scene7.com/is/image/Target/baseswatch",
"name": "black",
"url": "https://www.target.com/p/best-choice-products-91in-4-hook-bird-feeding-station-steel-multi-feeder-stand-w-2-feeders-tray-bird-bath-black/-/A-82149096"
},
{
"image": "https://target.scene7.com/is/image/Target/baseswatch",
"name": "bronze",
"url": "https://www.target.com/p/best-choice-products-91in-4-hook-bird-feeding-station-steel-multi-feeder-stand-w-2-feeders-tray-bird-bath-brown/-/A-82149106"
}
]
}
]
},
"products_bundle": {
"products": [
{
"name": "Best Choice Products 91in 4-Hook Bird Feeding Station, Steel Multi-Feeder Stand w/ 2 Feeders, Tray, Bird Bath - Black",
"price": "$29.99",
"url": "https://www.target.com/p/best-choice-products-91in-4-hook-bird-feeding-station-steel-multi-feeder-stand-w-2-feeders-tray-bird-bath-black/-/A-82149096"
},
{
"name": "Best Choice Products 89in 6-Hook Bird Feeding Station, Steel Multi-Feeder Stand w/ 4 Feeders, Tray, Bird Bath - Black",
"price": "$35.99",
"url": "https://www.target.com/p/best-choice-products-89in-6-hook-bird-feeding-station-steel-multi-feeder-stand-w-4-feeders-tray-bird-bath-black/-/A-82323630"
}
...
],
"summary": {
"items_count": "4",
"total_price": "$92.46"
}
},
"rating_review": {
"rating_info": {
"1_star_percent": "2%",
"2_star_percent": "2%",
"3_star_percent": "5%",
"4_star_percent": "14%",
"5_star_percent": "77%",
"rating_count": 908,
"rating_value": 4.6,
"recommend_count": 30,
"recommend_percent": "80%",
"secondary_ratings": {
"design": 4.17,
"quality": 3.8,
"value": 4.03
}
},
"review_info": {
"images": [
"https://target.scene7.com/is/image/Target/GUEST_c574b80b-facf-43fc-aa15-196a9e1e80de",
"https://target.scene7.com/is/image/Target/GUEST_3089774e-aa0f-4346-a225-6cd4872bdebd",
"https://target.scene7.com/is/image/Target/GUEST_9e066eef-9147-41b0-b159-a126716de20f",
"https://target.scene7.com/is/image/Target/GUEST_d7d92e58-e2ec-4ad2-9038-e9c84f53b6db",
"https://target.scene7.com/is/image/Target/GUEST_42e7dfd3-675c-4334-99d8-86e3a554ffbf",
"https://target.scene7.com/is/image/Target/GUEST_fbf395a8-fa06-4e0b-89e9-24adebee5ee7"
],
"reviews": [
{
"posted_on": "originally posted on bestchoiceproducts.com",
"rating": 5,
"text": "The most versatile feeding station I've found! Sturdy, easy to assemble, & reasonably priced!",
"time": "13 days ago",
"title": "Great Buy!",
"user": "Elizabeth H."
},
{
"rating": 5,
"secondary_ratings": {
"design": 5,
"quality": 5,
"value": 5
},
"text": "My birds favorite! Squirrel proof.",
"time": "1 month ago",
"title": "Nice squirrel proof feeder",
"user": "Moonspie",
"verified_purchaser": true,
"would_recommend": true
}
...
],
"summary": "This bird feeding station is praised for its attractive design, ease of assembly, and versatility with multiple hooks and feeders. Guests appreciate its ability to attract a variety of birds and its sturdy construction. However, some concerns were raised about the pole's stability and susceptibility to squirrel damage."
}
},
"related_categories": [
{
"name": "Bird Supplies",
"url": "https://www.target.com/c/bird-supplies-pets/-/N-5xt43"
},
{
"name": "Birding",
"url": "https://www.target.com/c/birding/-/N-5oach"
}
...
],
"related_products": [
{
"heading": "Similar items",
"products": [
{
"image": "https://target.scene7.com/is/image/Target/GUEST_f0c2c209-44eb-46bd-8e0f-be8bd714399e",
"name": "Best Choice Products 91in 4-Hook Bird Feeding Station, Steel Multi-Feeder Stand w/ 2 Feeders, Tray, Bird Bath - Brown",
"price": "$29.99",
"price_comparison": "reg $69.99 Sale",
"url": "https://www.target.com/p/best-choice-products-91in-4-hook-bird-feeding-station-steel-multi-feeder-stand-w-2-feeders-tray-bird-bath-brown/-/A-82149106?preselect=82149106#lnk=sametab"
},
{
"image": "https://target.scene7.com/is/image/Target/GUEST_a79d6384-0636-4690-a9f0-338ca3d0237e",
"name": "Best Choice Products 89in 6-Hook Bird Feeding Station, Steel Multi-Feeder Stand w/ 4 Feeders, Tray, Bird Bath - Black",
"price": "$35.99",
"price_comparison": "reg $59.99 Sale",
"url": "https://www.target.com/p/best-choice-products-89in-6-hook-bird-feeding-station-steel-multi-feeder-stand-w-4-feeders-tray-bird-bath-black/-/A-82323630?preselect=82323630#lnk=sametab"
}
...
]
},
{
"heading": "Your views",
"products": [
{
"image": "https://target.scene7.com/is/image/Target/GUEST_272870b9-144e-4892-a917-a957709e60be",
"name": "Canon EOS R50 RF-S18-45mm F4.5-6.3mm IS STM Kit",
"price": "$749.99",
"price_comparison": "reg $799.99 Sale",
"rating_star": 4.8,
"reviews_count": 24,
"url": "https://www.target.com/p/canon-eos-r50-rf-s18-45mm-f4-5-6-3mm-is-stm-kit/-/A-88661030#lnk=sametab"
}
...
]
}
...
]
},
"status": "parse_successful",
"url": "https://www.target.com/p/best-choice-products-91in-4-hook-bird-feeding-station-steel-multi-feeder-stand-w-2-feeders-tray-bird-bath/-/A-82149097"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Target Search Page

Target Search Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Target Search Page with a very simple GET request:


import requests

response = requests.get('https://www.target.com/s?searchTerm=camera')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.target.com/s?searchTerm=camera')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.target.com/s?searchTerm=camera',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/target',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"popular_filters": [
{
"image": "https://target.scene7.com/is/image/Target//GUEST_06ec4798-d497-4f3e-ac92-110f47d87cac",
"name": "Point-and-Shoot Cameras",
"url": "https://www.target.com/s?searchTerm=camera&ignoreBrandExactness=true&Nao=0&facetedValue=qrrew"
},
{
"image": "https://target.scene7.com/is/image/Target//GUEST_c909c5e2-5961-4bf9-8752-9804a8fbfdc2",
"name": "Instant Cameras",
"url": "https://www.target.com/s?searchTerm=camera&ignoreBrandExactness=true&Nao=0&facetedValue=5xmbc"
}
...
],
"recommended_products": {
"products": [
{
"images": [
"https://target.scene7.com/is/image/Target/GUEST_373c2d52-b8f8-4c2a-b446-433048099ed4",
"https://target.scene7.com/is/image/Target/GUEST_4ad47ef1-8892-4b06-b0b0-69448bd0a507"
],
"name": "Vivitar 16mp Optical Lens Digital Camera - Black",
"price": "$89.99",
"rating_star": 2.9,
"reviews_count": 60,
"url": "https://www.target.com/p/vivitar-16mp-optical-lens-digital-camera-black/-/A-89161984#lnk=sametab"
},
{
"images": [
"https://target.scene7.com/is/image/Target/GUEST_82ba9386-65ac-4c92-8841-248b0fd4227c",
"https://target.scene7.com/is/image/Target/GUEST_f727e2f8-3d61-4271-817a-d5b450a366f4"
],
"name": "35MM Camera with Built-in Flash - heyday™",
"price": "$27.99 - $34.99",
"price_comparison": "Select items on sale",
"rating_star": 3.5,
"reviews_count": 228,
"url": "https://www.target.com/p/35mm-camera-with-built-in-flash-heyday/-/A-87696659#lnk=sametab"
}
...
]
},
"related_searches": [
{
"text": "kids camera",
"url": "https://www.target.com/s?searchTerm=kids+camera"
},
{
"text": "waterproof camera",
"url": "https://www.target.com/s?searchTerm=waterproof+camera"
}
...
],
"search_information": {
"page_count": 12,
"product_count": 281
},
"search_results": [
{
"brand": "myQ",
"brand_link": "https://www.target.com/b/myq/-/N-q643leya2tt",
"fullfillment": {
"shipping": [
"Ships free",
"Get it by Thu, Sep 5"
],
"stock": "Not available at Signal Hill"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_b923d68e-118b-49fa-a22d-57513c135220",
"https://target.scene7.com/is/image/Target/GUEST_72b6b73f-c785-47b7-92ee-0d8eb00d57e1"
],
"name": "myQ Smart Garage Camera - White",
"price": "$44.99",
"price_comparison": "reg $49.99",
"price_location": "When purchased online",
"rating_count": 335,
"rating_star": 3.6,
"url": "https://www.target.com/p/myq-smart-garage-camera-white/-/A-89037100#lnk=sametab"
},
{
"brand": "Polaroid",
"brand_link": "https://www.target.com/b/polaroid/-/N-5y2jb",
"fullfillment": {
"pickup": "Ready within 2 hours with pickup",
"stock": "In stock at Signal Hill"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_3250aaaa-8558-4707-909c-8b1dbe822b04",
"https://target.scene7.com/is/image/Target/GUEST_7b80ad53-54b0-4d4f-8ec1-888680b462e9"
],
"name": "Polaroid Go Camera (Gen 2)",
"price": "$79.99",
"rating_count": 42,
"rating_star": 4.4,
"url": "https://www.target.com/p/polaroid-go-camera-gen-2/-/A-90870913?preselect=88882907#lnk=sametab",
"variants": [
{
"image": "https://target.scene7.com/is/image/Target/GUEST_12d81f51-8279-4f4a-bf5a-4f40b93662c2?cropN=0.56%2C0.61%2C0.03%2C0.03&sizeN=150%2C150&wid=15&hei=15&qlt=80&fmt=webp",
"label": "Black"
},
{
"image": "https://target.scene7.com/is/image/Target/GUEST_3250aaaa-8558-4707-909c-8b1dbe822b04?cropN=0.38%2C0.78%2C0.03%2C0.03&sizeN=150%2C150&wid=15&hei=15&qlt=80&fmt=webp",
"label": "White"
}
]
}
...
]
},
"status": "parse_successful",
"url": "https://www.target.com/s/camera"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Target Category Page

Target Category Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Target Category Page with a very simple GET request:


import requests

response = requests.get('https://www.target.com/c/bulk-cleaning-supplies/-/N-o4vrz')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.target.com/c/bulk-cleaning-supplies/-/N-o4vrz')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.target.com/c/bulk-cleaning-supplies/-/N-o4vrz',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/target',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"categories": [
{
"link": "https://www.target.com/",
"name": "Target"
},
{
"link": "https://www.target.com/c/household-essentials/-/N-5xsz1",
"name": "Household Essentials"
},
{
"link": "https://www.target.com/c/bulk-items-household-essentials/-/N-rrgkm",
"name": "Bulk Items"
},
{
"name": "Bulk Cleaning Supplies"
}
],
"category_name": "Bulk Cleaning Supplies",
"category_path": "Target / Household Essentials / Bulk Items / Bulk Cleaning Supplies",
"recommended_products": {
"products": [
{
"images": [
"https://target.scene7.com/is/image/Target/GUEST_2ad4717c-e8fd-4a86-94a7-1e231028e087",
"https://target.scene7.com/is/image/Target/GUEST_37cfa6f3-9965-40ab-84dc-3bfe51a9d266"
],
"name": "Dawn Original Scent Ultra Dishwashing Liquid Dish Soap",
"price": "$1.29 - $10.49",
"rating_star": 4.3,
"reviews_count": 15433,
"url": "https://www.target.com/p/dawn-original-scent-ultra-dishwashing-liquid-dish-soap/-/A-78259812#lnk=sametab"
},
{
"images": [
"https://target.scene7.com/is/image/Target/GUEST_c7655e4b-ab97-46f7-98c0-8b4db5dff586",
"https://target.scene7.com/is/image/Target/GUEST_4bd43e1f-e1af-44eb-8699-5db330a3c5eb"
],
"name": "Scotch-Brite Zero-Scratch Scrub Sponges",
"price": "$3.49 - $9.99",
"rating_star": 4.7,
"reviews_count": 4705,
"url": "https://www.target.com/p/scotch-brite-zero-scratch-scrub-sponges/-/A-52893690#lnk=sametab"
}
...
]
},
"search_information": {
"page_count": 3,
"product_count": 56
},
"search_results": [
{
"brand": "Lysol",
"brand_link": "https://www.target.com/b/lysol/-/N-567tv",
"fullfillment": {
"pickup": "Ready within 2 hours with pickup",
"shipping": [
"Ships free",
"with $35 orders",
"Get it by Thu, Sep 5"
],
"stock": "In stock at Signal Hill"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_917de4ab-037f-4b29-bdc8-13d4003ad399",
"https://target.scene7.com/is/image/Target/GUEST_a8c5d433-eca5-4e7f-9759-5e4c583700a3"
],
"name": "Lysol Toilet Bowl Cleaner - 24oz/2ct",
"price": "$4.99",
"price_unit": "$0.10/fluid ounce",
"rating_count": 2518,
"rating_star": 4.7,
"url": "https://www.target.com/p/lysol-toilet-bowl-cleaner-24oz-2ct/-/A-75666312#lnk=sametab"
},
{
"brand": "Lysol",
"brand_link": "https://www.target.com/b/lysol/-/N-567tv",
"fullfillment": {
"pickup": "Ready within 2 hours with pickup",
"shipping": [
"Ships free",
"with $35 orders",
"Get it by Thu, Sep 5"
],
"stock": "In stock at Signal Hill"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_473f9674-3d56-46fc-9e07-5260d72e769a",
"https://target.scene7.com/is/image/Target/GUEST_3c5d8fa7-776e-48a7-9975-f374d22dea72"
],
"name": "Lysol Power Clinging Gel - 96 fl oz/4ct",
"price": "$9.99",
"price_unit": "$0.10/fluid ounce",
"rating_count": 4,
"rating_star": 4.8,
"url": "https://www.target.com/p/lysol-power-clinging-gel-96-fl-oz-4ct/-/A-89695261#lnk=sametab"
}
...
]
},
"status": "parse_successful",
"url": "https://www.target.com/c/bulk-cleaning-supplies/-/N-o4vrz"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Target Shop Page

Target Shop Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Target Shop Page with a very simple GET request:


import requests

response = requests.get('https://www.target.com/b/minolta/-/N-q643levm4rz')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.target.com/b/minolta/-/N-q643levm4rz')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.target.com/b/minolta/-/N-q643levm4rz',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/target',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"name": "Minolta",
"search_information": {
"page_count": 2,
"product_count": 24
},
"search_results": [
{
"brand": "Minolta",
"brand_link": "https://www.target.com/b/minolta/-/N-q643levm4rz",
"fullfillment": {
"shipping": [
"Ships free",
"Get it by Tue, Sep 10"
],
"stock": "Not available in stores"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_781a64f3-9d94-4245-a881-909eb1633adf",
"https://target.scene7.com/is/image/Target/GUEST_ec41be85-ddfd-44ea-bf70-a3f43b2a990e"
],
"name": "Minolta MN693 Mini LCD Portable Projector with 80\" Screen Bundle: Crisp Imaging, Versatile Connectivity",
"price": "$54.99",
"price_comparison": "reg $69.99",
"price_location": "When purchased online",
"rating_count": 4,
"rating_star": 3.5,
"url": "https://www.target.com/p/minolta-mn693-mini-lcd-portable-projector-with-80-screen-bundle-crisp-imaging-versatile-connectivity/-/A-91320784#lnk=sametab"
},
{
"brand": "Minolta",
"brand_link": "https://www.target.com/b/minolta/-/N-q643levm4rz",
"fullfillment": {
"shipping": [
"Ships free",
"Get it by Tue, Sep 10"
],
"stock": "Not available in stores"
},
"images": [
"https://target.scene7.com/is/image/Target/GUEST_28376419-9170-48ee-8798-9838b7473b90",
"https://target.scene7.com/is/image/Target/GUEST_56997b61-96ae-4889-b6a1-c597a69331c2"
],
"name": "Minolta MN630 Portable Compact Mini Projector Bundle: HD Quality, Versatile Compatibility, Easy Setup - Perfect for Travel & Entertainment",
"price": "$49.99",
"price_comparison": "reg $64.99",
"price_location": "When purchased online",
"rating_count": 1,
"rating_star": 5,
"url": "https://www.target.com/p/minolta-mn630-portable-compact-mini-projector-bundle-hd-quality-versatile-compatibility-easy-setup-perfect-for-travel-entertainment/-/A-91320754#lnk=sametab"
}
...
]
},
"status": "parse_successful",
"url": "https://www.target.com/b/minolta/-/N-q643levm4rz"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Target Finds Page

Target Finds Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Target Finds Page with a very simple GET request:


import requests

response = requests.get('https://www.target.com/finds/')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.target.com/finds/')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.target.com/finds/',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/target',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"stories": [
{
"date": "2024-08-26",
"description": "Discover the latest trends and curated collections",
"image": "https://target.scene7.com/is/image/Target/...",
"link": "https://www.target.com/finds/stories/...",
"title": "Featured Story",
"type": "Story"
}
...
],
"tags": [
{
"count": 150,
"icon": "https://target.scene7.com/is/image/Target/...",
"link": "https://www.target.com/finds/tag/...",
"text": "Home Decor"
}
...
]
},
"status": "parse_successful",
"url": "https://www.target.com/finds/"
}

A full example JSON response can be found here.


Proxy API Integration

The ScrapeOps Parser API is integrated into the ScrapeOps Proxy API Aggregator and can be used for free by using the Auto Extract functionality.

So if you already have a Proxy API Aggregator plan then use the Parser API for no extra charge.

The following example shows you how to use the Parser API via a Python Requests based scraper using the Proxy API Aggregator:


import requests

response = requests.get(
url='https://proxy.scrapeops.io/v1/',
params={
'api_key': 'YOUR_API_KEY',
'url': 'https://www.target.com/p/minolta-20-mega-pixels-26x-optical-zoom-digital-camera-with-1080p-fhd-video-black/-/A-9225892',
'auto_extract': 'target'
}
)

print(response.json())