Product
Last updated
Was this helpful?
Last updated
Was this helpful?
The target_product
source is designed to retrieve Target product result pages. We can return the HTML for any Target page you like. Additionally, we can deliver structured (parsed) output for Target product pages.
The example below illustrates how you can get a parsed Target product page result.
We use synchronous integration method in our examples. If you would like to use or asynchronous integration, refer to the section.
source
Sets the scraper.
universal
product_id
Target product ID.
-
render
-
parse
Returns parsed data when set to true
.
false
callback_url
-
user_agent_type
desktop
- mandatory parameter
Adapt results to specific stores, fulfillment types, delivery locations.
fulfillment_type
Set the fulfillment type. Available values are: pickup
, delivery
, shipping.
String
store_id
Set the store location.
Integer
delivery_zip
Set the shipping to location.
String
The table below presents a detailed list of each product page element we parse, along with its description and data type. The table also includes some metadata.
url
The URL of the product page.
string
brand
Object containing brand details.
object
brand.href
The URL to the brand's page.
string
brand.name
The name of the brand.
string
price
The price of the product.
integer
title
The title of the product.
string
category
The category of the product.
string
currency
The currency in which the price is listed.
string
description
A detailed description of the product.
string
rating_score
The rating score of the product.
integer
parse_status_code
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
status_code
integer
parser_type
The type of parser used to extract the data.
integer
job_id
The ID of the job associated with the scraping job.
string
Enables JavaScript rendering when set to html
. .
URL to your callback endpoint. .
Device type and browser. The full list can be found .
The status code of the parsing job. You can see the parser status codes described .
The status code of the scraping job. You can see the scraper status codes described .