For AI agents: a documentation index is available at /llms.txt
Skip to main content

Scrape Etsy Product Listings

Search Etsy for a keyword and extract product titles, prices, and links from the results page.

Prerequisites

Steps

Use the /scrape REST endpoint to extract product listing data from Etsy search results.

note

Etsy uses bot detection and loads content dynamically. The /scrape endpoint may return incomplete results. For more reliable extraction, use the BQL tab with stealth mode and residential proxies.

View Full Code on GitHub

1. Send the request

curl -X POST \
"https://production-sfo.browserless.io/scrape?token=YOUR_API_TOKEN_HERE" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.etsy.com/search?q=candles",
"elements": [
{ "selector": ".v2-listing-card h3" },
{ "selector": ".v2-listing-card .currency-value" }
]
}'

2. Check the output

Each selector returns an array of matched elements with text, HTML, and position data:

{
"data": [
{
"selector": ".v2-listing-card h3",
"results": [
{
"text": "Handmade Soy Candle, Vanilla Scent",
"html": "Handmade Soy Candle, Vanilla Scent",
"height": 20,
"left": 32,
"top": 410,
"width": 280
}
]
},
{
"selector": ".v2-listing-card .currency-value",
"results": [
{
"text": "24.99",
"html": "24.99",
"height": 16,
"left": 32,
"top": 440,
"width": 60
}
]
}
]
}

Next steps