You can get Etsy results by providing your own URLs to our service. We can return the HTML for any Etsy page you like. Additionally, we can deliver structured (parsed) output for Etsy product pages.
Request samples
The samples below illustrates how you can get a parsed Etsy product page result.
import requestsfrom pprint import pprint# Structure payload.payload ={'source':'universal_ecommerce','url':'https://www.etsy.com/listing/524233279/tiny-silver-forget-me-not-earrings','geo_location':'United States','parse':True,}# Get response.response = requests.request('POST','https://realtime.oxylabs.io/v1/queries', auth=('USERNAME', 'PASSWORD'), json=payload,)# Instead of response with job status and results url, this will return the# JSON response with the result.pprint(response.json())
# The whole string you submit has to be URL-encoded.https://realtime.oxylabs.io/v1/queries?source=universal_ecommerce&url=https%3A%2F%2Fwww.etsy.com%2Flisting%2F524233279%2Ftiny-silver-forget-me-not-earrings&geo_location=United%20States&parse=true&access_token=12345abcde
We use Realtime integration method in our examples. If you would like to use some other integration method in your request (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.
Request parameter values
Generic
Parameter
Description
Default Value
source
Sets the scraper.
universal_ecommerce
url
Direct URL (link) to any page.
-
render
-
parse
false
callback_url
-
user_agent_type
desktop
geo_location
-
- mandatory parameter
Please note that you will scrape Etsy by employing the universal_ecommerce source. To learn about all the various ways you can fine-tune this source, please visit this page.
Structured data
E-Commerce Scraper API can extract Etsy product results in either HTML or JSON format, providing structured data on various elements of the page.
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.
Key
Description
Type
url
The URL of the Etsy product page.
string
price
The price of the product.
integer
title
The title of the product.
string
images
Array of URLs to product images.
array
seller
The seller object, containing seller details.
object
reviews
The reviews object, containing review details.
object
reviews.count
The number of reviews received for the product.
integer
currency
The currency in which the price is denominated.
string
shipping
The shipping object, containing shipping details.
object
shipping.from
The origin country of shipping.
string
old_price
The previous price of the product before discount.
integer
categories
Array of category objects to which the product belongs.
array
categories.title
The title of the category.
string
customized
Indicates whether the product can be customized.
boolean
product_id
The unique identifier for the product.
string
variation_count
The number of variations available for 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
page
The page number in the pagination of results.
integer
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
Sellers
The seller object, containing details of the seller.