Depop Product Listings Data

Vytenis Kaubrė
Last updated on
2025-05-29
3 min read
Vytenis Kaubrė
Last updated on
2025-05-29
3 min read
OxyCopilot converts English prompts into ready-to-use scraping and parsing code that runs on Oxylabs’ infrastructure. In this tutorial, you’ll learn how to fetch public product listings from Depop—from writing your prompt to sending an API request.
First, create an account on the Oxylabs dashboard, claim your free trial (or select a plan), and set up Web Scraper API credentials. The Getting Started tab covers each step.
Collecting product data from Depop requires a well-structured prompt for OxyCopilot. Here's a sample that specifies exactly which product information to gather from each Depop search result:
Parse the product listings page. From each product card, extract:
- Product link
- Price
- Image link
- Brand name
We regularly update this tutorial, but errors may still occur. Feel free to regenerate the prompt or contact us if you need assistance.
An overview of OxyCopilot after providing all the necessary details to get results
Once you submit your prompt, you'll receive structured JSON results with scraped Depop data as shown below:
{
"product_listings": [
{
"price": "$5.00",
"brand_name": "Kobashi Studio",
"image_link": "https://media-photos.depop.com/b1/50043538/2378749032_b579253b5e3d48289355cd545f06518f/P8.jpg",
"product_link": "/products/madiecarp-beige-koba-slippers-brand-new/"
},
{
"price": "$25.00",
"brand_name": "AusWooli Ugg Boots",
"image_link": "https://media-photos.depop.com/b1/51081003/2426756421_eb67a6b2435a4e45bb336544a8728bb8/P8.jpg",
"product_link": "/products/bianey_02-ugg-slides-size-4-never/"
},
{
"price": "$10.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/49326827/2405190775_7dc4d44f18ad4b2097efa4b6cd283e63/P8.jpg",
"product_link": "/products/paigemacdonald1-womens-report-grey-leather-lace/"
},
{
"price": "$100.00",
"brand_name": "UGG",
"image_link": "https://media-photos.depop.com/b1/308291381/2403866402_cae2cff30a7a4ffc82b6fcf06a4a7c84/P8.jpg",
"product_link": "/products/best_deals0-uggs-tazz-beige-suede/"
},
{
"price": "$15.00",
"brand_name": "Sam Edelman",
"image_link": "https://media-photos.depop.com/b1/43935859/2399666587_f6f23ca8dd8b415fb9762624ceb60358/P8.jpg",
"product_link": "/products/clarajdillon-sam-edelman-tan-leather-pointed/"
},
{
"price": "$37.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/31088176/2392398018_181cc396d4e74797999bd81e93fa6df3/P8.jpg",
"product_link": "/products/domora-black-faux-fur-boots-fauxfurboots/"
},
{
"price": "$15.00",
"brand_name": "Vans",
"image_link": "https://media-photos.depop.com/b1/386635003/2372657602_f7f86dc3db624c4fa0f3ab0f240dfc55/P8.jpg",
"product_link": "/products/cameronrainee-9-in-womens-75-in/"
},
{
"price": "$25.00",
"brand_name": "Talbots",
"image_link": "https://media-photos.depop.com/b1/17232826/2529017247_bf2983e556bb4f2f8357409dc10f29cc/P8.jpg",
"product_link": "/products/w3ndyy-talbots-brown-suede-wedge-heels/"
},
{
"price": "$60.00",
"brand_name": "Steve Madden",
"image_link": "https://media-photos.depop.com/b1/374646575/2558801350_3819ccf5930d4f46a9466f023b92c316/P8.jpg",
"product_link": "/products/tiagreen663-steve-madden-pink-heels-only/"
},
{
"price": "$7.50",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/23054274/2509381877_ba2b87834e2c4361b7ddc70b30cac000/P8.jpg",
"product_link": "/products/madisondd27-grinch-slippers-never-worn-size/"
},
{
"price": "$35.00",
"brand_name": "Disney",
"image_link": "https://media-photos.depop.com/b1/7325525/2350157651_d40d7843644b4e71b4161527b7fef9e1/P8.jpg",
"product_link": "/products/unc0mm0n_sh0ppin-vintage-90s-disney-winnie-the/"
},
{
"price": "$12.00",
"brand_name": "Windsor",
"image_link": "https://media-photos.depop.com/b1/38885426/2410340501_a895849391124097a146271785b43ef3/P8.jpg",
"product_link": "/products/jaslynsells-hot-pink-high-heels-with/"
},
{
"price": "$23.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/227363238/2578246037_16a3fe35f81d4d70a8ac55e4e9d82122/P8.jpg",
"product_link": "/products/mrsmcgrady757-mean-girls-13-going-on/"
},
{
"price": "$20.00",
"brand_name": "BCBGeneration",
"image_link": "https://media-photos.depop.com/b1/34239533/2389888694_941e054a29264b97afd0667371da1279/P8.jpg",
"product_link": "/products/oliviafeli-roya-blue-suede-wedges-with/"
},
{
"price": "$10.00",
"brand_name": "Disney",
"image_link": "https://media-photos.depop.com/b1/53430120/2358006893_7fe964f310e1440daa4e765b614aa651/P8.jpg",
"product_link": "/products/kacypop-the-nightmare-before-christmas-socks/"
},
{
"price": "$20.00",
"brand_name": "Sorel",
"image_link": "https://media-photos.depop.com/b1/18336754/2389258417_8bbd406de5974100897c117b15c43682/P8.jpg",
"product_link": "/products/hiddentreasures24-soft-and-warm-sorel-grey/"
},
{
"price": "$18.00",
"brand_name": "Converse",
"image_link": "https://media-photos.depop.com/b1/22510578/2558262334_0beb4d2e0fc041a9940accb74a754a40/P8.jpg",
"product_link": "/products/pbmc_4-converse-chuck-taylor-all-star-ad5e/"
},
{
"price": "$28.00",
"brand_name": "Aerosoles",
"image_link": "https://media-photos.depop.com/b1/257411190/2369913737_9c8be6d44ae445c18b5ba136e27cab0b/P8.jpg",
"product_link": "/products/thomasanialocklear74-aerosoles-womens-shoes-size-95/"
},
{
"price": "$124.10",
"brand_name": "Adidas",
"image_link": "https://media-photos.depop.com/b1/4906532/2410298830_badea45888de41cdbceaa7e0d37a7622/P8.jpg",
"product_link": "/products/swirlymist-leopard-print-shoes-from-adidas/"
},
{
"price": "$20.00",
"brand_name": "Marc Fisher",
"image_link": "https://media-photos.depop.com/b1/46674788/2331037614_a1c99cfe5891477aaba0118441ede658/P8.jpg",
"product_link": "/products/cherrydiscostar-marc-fisher-leopard-print-knee/"
},
{
"price": "$15.00",
"brand_name": "Charlotte Russe",
"image_link": "https://media-photos.depop.com/b1/43135639/2335046022_c97025b8a4414cf7973f18a16f9b49ac/P8.jpg",
"product_link": "/products/sophialik-charlotte-russe-black-suede-open/"
},
{
"price": "$20.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/20920471/2404443800_7b31f67d58d24fa4a9915f7ade25d769/P8.jpg",
"product_link": "/products/roscoesmama-brown-leather-slip-on-shoes-leathershoes/"
}
]
}
Along with the parsing logic, OxyCopilot provides a schema outlining the data structure (object types, field names, and descriptions). It helps AI understand the requirements. You can also modify this schema to customize the parsing behavior.
Object type | Name | Description |
---|---|---|
Array of objects | product_listings |
List of product cards. |
String | product_link |
|
String | price |
|
String | image_link |
|
String | brand_name |
New to Oxylabs? Register for a free trial or choose a plan in the dashboard.
Once you’ve registered on the dashboard, go to Web Scraper API → Pricing, and click Start free trial:
Next, create your API username and password, then click Create API user:
Store your credentials securely, as you'll use them to make API requests.
For additional help, watch this short instructional video that details every step for creating an API user:
With your account ready, select the Scraper APIs Playground in the sidebar to access OxyCopilot.
Then, click the OxyCopilot button in the upper left to start building your Depop product scraper.
A window will open up where you can enter URLs, configure Scraper Parameters, and write Parsing instructions.
Here's how to set up a Depop product data scraper:
Start by entering up to 3 Depop URLs that are of the same type. You can use category pages or search result pages to gather Depop product listings data:
https://www.depop.com/de/category/womens/footwear/
Configure any needed parameters like geolocation, JavaScript rendering, and additional API settings. The only required parameter in this scenario is to let the scraper follow redirects, so paste this line into the first box:
Follow redirects.
While not necessary in this case, you can specify browser instructions if you want to click elements, scroll pages, and perform other browser-based actions.
Next, clearly define your web scraping needs by specifying the exact data points you want to extract:
Parse the product listings page. From each product card, extract:
- Product link
- Price
- Image link
- Brand name
After filling out all fields, click Generate instructions.
OxyCopilot will convert your prompt into JSON parsing rules for the API's Custom Parser feature. These are the raw instructions that define the parsing logic and specific element selectors. Once you submit an API request with these instructions, the API will parse Depop product listings and provide you with structured data.
You can store these instructions in a JSON file or click Save Instructions to obtain the complete API request code in your preferred programming language.
{
"product_listings": {
"_fns": [
{
"_fn": "xpath",
"_args": [
"//ol/li[@class=\"styles_listItem__Uv9lb\"]",
"//ol[@class=\"styles_productGrid__Cpzyf\"]/li",
"//div[@class=\"styles_container__rHXzf styles_container__eZfDM\"]/ol/li",
"//main[@id=\"main\"]/div/ol/li",
"//div[@class=\"styles_focusWrapper__zK3b8\"]/main/div/ol/li",
"//div[@tabindex=\"-1\"]/main/div/ol/li",
"//html[@lang=\"en\"]/body/div/main/div/ol/li",
"//html[@class=\"__variable_20ee8a __variable_27568d __variable_4286a4\"]/body/div/main/div/ol/li"
]
}
],
"_items": {
"product_link": {
"_fns": [
{
"_fn": "xpath_one",
"_args": [
".//a[@class=\"styles_unstyledLink__DsttP\"]/@href",
".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[1]/a/@href",
".//div/div/div[1]/a/@href",
".//div[@class=\"styles_productImageContainer__withHoverOverlay__B5Z12 styles_baseProductImageContainer__4kInl\"]/a/@href"
]
},
{
"_fn": "regex_search",
"_args": [
"^\\s*(.[\\s\\S]*?)\\s*$",
1
]
}
]
},
"price": {
"_fns": [
{
"_fn": "xpath_one",
"_args": [
".//p[@class=\"_text_bevez_41 _shared_bevez_6 _bold_bevez_47 styles_price__H8qdh\"]/text()",
".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/div/p/text()",
".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[2]/div/div/p/text()",
".//div/div/div[2]/div/div/p/text()",
".//p[@aria-label=\"Price\"]/text()",
".//p[@aria-label=\"Discounted price\"]/text()",
".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/div/p[2]/text()"
]
},
{
"_fn": "regex_search",
"_args": [
"^\\s*(.[\\s\\S]*?)\\s*$",
1
]
}
]
},
"image_link": {
"_fns": [
{
"_fn": "xpath_one",
"_args": [
".//img[@class=\"_mainImage_e5j9l_11\"]/@src",
".//img[@sizes=\"\n (min-width: 576px) 245px,\n (min-width: 1024px) 220px,\n 150px\"]/@src",
".//div[@class=\"_container_e5j9l_4\"]/img[2]/@src",
".//a[@class=\"styles_unstyledLink__DsttP\"]/div[1]/img[2]/@src",
".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[1]/a/div[1]/img[2]/@src",
".//div/div/div[1]/a/div[1]/img[2]/@src",
".//div[@class=\"styles_productImageContainer__withHoverOverlay__B5Z12 styles_baseProductImageContainer__4kInl\"]/a/div[1]/img[2]/@src"
]
},
{
"_fn": "regex_search",
"_args": [
"^\\s*(.[\\s\\S]*?)\\s*$",
1
]
}
]
},
"brand_name": {
"_fns": [
{
"_fn": "xpath_one",
"_args": [
".//p[@class=\"_text_bevez_41 _shared_bevez_6 _normal_bevez_51\"]/text()",
".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/p[2]/text()",
".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[2]/div/p[2]/text()",
".//div/div/div[2]/div/p[2]/text()"
]
},
{
"_fn": "regex_search",
"_args": [
"^\\s*(.[\\s\\S]*?)\\s*$",
1
]
}
]
}
}
}
}
Here's the complete AI-generated code in Python for scraping Depop product listings. Make sure to add your API credentials before running:
import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'universal',
'url': 'https://www.depop.com/de/category/womens/footwear/',
'parse': True,
'parsing_instructions': {"product_listings":{"_fns":[{"_fn":"xpath","_args":["//ol/li[@class=\"styles_listItem__Uv9lb\"]","//ol[@class=\"styles_productGrid__Cpzyf\"]/li","//div[@class=\"styles_container__rHXzf styles_container__eZfDM\"]/ol/li","//main[@id=\"main\"]/div/ol/li","//div[@class=\"styles_focusWrapper__zK3b8\"]/main/div/ol/li","//div[@tabindex=\"-1\"]/main/div/ol/li","//html[@lang=\"en\"]/body/div/main/div/ol/li","//html[@class=\"__variable_20ee8a __variable_27568d __variable_4286a4\"]/body/div/main/div/ol/li"]}],"_items":{"product_link":{"_fns":[{"_fn":"xpath_one","_args":[".//a[@class=\"styles_unstyledLink__DsttP\"]/@href",".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[1]/a/@href",".//div/div/div[1]/a/@href",".//div[@class=\"styles_productImageContainer__withHoverOverlay__B5Z12 styles_baseProductImageContainer__4kInl\"]/a/@href"]},{"_fn":"regex_search","_args":["^\\s*(.[\\s\\S]*?)\\s*$",1]}]},"price":{"_fns":[{"_fn":"xpath_one","_args":[".//p[@class=\"_text_bevez_41 _shared_bevez_6 _bold_bevez_47 styles_price__H8qdh\"]/text()",".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/div/p/text()",".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[2]/div/div/p/text()",".//div/div/div[2]/div/div/p/text()",".//p[@aria-label=\"Price\"]/text()",".//p[@aria-label=\"Discounted price\"]/text()",".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/div/p[2]/text()"]},{"_fn":"regex_search","_args":["^\\s*(.[\\s\\S]*?)\\s*$",1]}]},"image_link":{"_fns":[{"_fn":"xpath_one","_args":[".//img[@class=\"_mainImage_e5j9l_11\"]/@src",".//img[@sizes=\"\n (min-width: 576px) 245px,\n (min-width: 1024px) 220px,\n 150px\"]/@src",".//div[@class=\"_container_e5j9l_4\"]/img[2]/@src",".//a[@class=\"styles_unstyledLink__DsttP\"]/div[1]/img[2]/@src",".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[1]/a/div[1]/img[2]/@src",".//div/div/div[1]/a/div[1]/img[2]/@src",".//div[@class=\"styles_productImageContainer__withHoverOverlay__B5Z12 styles_baseProductImageContainer__4kInl\"]/a/div[1]/img[2]/@src"]},{"_fn":"regex_search","_args":["^\\s*(.[\\s\\S]*?)\\s*$",1]}]},"brand_name":{"_fns":[{"_fn":"xpath_one","_args":[".//p[@class=\"_text_bevez_41 _shared_bevez_6 _normal_bevez_51\"]/text()",".//div[@class=\"styles_productAttributesContainer__h02Bs\"]/div/p[2]/text()",".//div[@class=\"styles_productCardRoot__DaYPT\"]/div[2]/div/p[2]/text()",".//div/div/div[2]/div/p[2]/text()"]},{"_fn":"regex_search","_args":["^\\s*(.[\\s\\S]*?)\\s*$",1]}]}}}},
'context': [
{'key': 'follow_redirects', 'value': True}
]
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('YOUR_USERNAME', 'YOUR_PASSWORD'), #Your credentials go here
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with results.
pprint(response.json())
Check our API documentation for advanced configuration options.
Once executed, the API will return parsed data matching the schema below. Each product entry contains the product link, price, image URL, and brand name from the Depop search results page.
{
"product_listings": [
{
"price": "$5.00",
"brand_name": "Kobashi Studio",
"image_link": "https://media-photos.depop.com/b1/50043538/2378749032_b579253b5e3d48289355cd545f06518f/P8.jpg",
"product_link": "/products/madiecarp-beige-koba-slippers-brand-new/"
},
{
"price": "$25.00",
"brand_name": "AusWooli Ugg Boots",
"image_link": "https://media-photos.depop.com/b1/51081003/2426756421_eb67a6b2435a4e45bb336544a8728bb8/P8.jpg",
"product_link": "/products/bianey_02-ugg-slides-size-4-never/"
},
{
"price": "$10.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/49326827/2405190775_7dc4d44f18ad4b2097efa4b6cd283e63/P8.jpg",
"product_link": "/products/paigemacdonald1-womens-report-grey-leather-lace/"
},
{
"price": "$100.00",
"brand_name": "UGG",
"image_link": "https://media-photos.depop.com/b1/308291381/2403866402_cae2cff30a7a4ffc82b6fcf06a4a7c84/P8.jpg",
"product_link": "/products/best_deals0-uggs-tazz-beige-suede/"
},
{
"price": "$15.00",
"brand_name": "Sam Edelman",
"image_link": "https://media-photos.depop.com/b1/43935859/2399666587_f6f23ca8dd8b415fb9762624ceb60358/P8.jpg",
"product_link": "/products/clarajdillon-sam-edelman-tan-leather-pointed/"
},
{
"price": "$37.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/31088176/2392398018_181cc396d4e74797999bd81e93fa6df3/P8.jpg",
"product_link": "/products/domora-black-faux-fur-boots-fauxfurboots/"
},
{
"price": "$15.00",
"brand_name": "Vans",
"image_link": "https://media-photos.depop.com/b1/386635003/2372657602_f7f86dc3db624c4fa0f3ab0f240dfc55/P8.jpg",
"product_link": "/products/cameronrainee-9-in-womens-75-in/"
},
{
"price": "$25.00",
"brand_name": "Talbots",
"image_link": "https://media-photos.depop.com/b1/17232826/2529017247_bf2983e556bb4f2f8357409dc10f29cc/P8.jpg",
"product_link": "/products/w3ndyy-talbots-brown-suede-wedge-heels/"
},
{
"price": "$60.00",
"brand_name": "Steve Madden",
"image_link": "https://media-photos.depop.com/b1/374646575/2558801350_3819ccf5930d4f46a9466f023b92c316/P8.jpg",
"product_link": "/products/tiagreen663-steve-madden-pink-heels-only/"
},
{
"price": "$7.50",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/23054274/2509381877_ba2b87834e2c4361b7ddc70b30cac000/P8.jpg",
"product_link": "/products/madisondd27-grinch-slippers-never-worn-size/"
},
{
"price": "$35.00",
"brand_name": "Disney",
"image_link": "https://media-photos.depop.com/b1/7325525/2350157651_d40d7843644b4e71b4161527b7fef9e1/P8.jpg",
"product_link": "/products/unc0mm0n_sh0ppin-vintage-90s-disney-winnie-the/"
},
{
"price": "$12.00",
"brand_name": "Windsor",
"image_link": "https://media-photos.depop.com/b1/38885426/2410340501_a895849391124097a146271785b43ef3/P8.jpg",
"product_link": "/products/jaslynsells-hot-pink-high-heels-with/"
},
{
"price": "$23.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/227363238/2578246037_16a3fe35f81d4d70a8ac55e4e9d82122/P8.jpg",
"product_link": "/products/mrsmcgrady757-mean-girls-13-going-on/"
},
{
"price": "$20.00",
"brand_name": "BCBGeneration",
"image_link": "https://media-photos.depop.com/b1/34239533/2389888694_941e054a29264b97afd0667371da1279/P8.jpg",
"product_link": "/products/oliviafeli-roya-blue-suede-wedges-with/"
},
{
"price": "$10.00",
"brand_name": "Disney",
"image_link": "https://media-photos.depop.com/b1/53430120/2358006893_7fe964f310e1440daa4e765b614aa651/P8.jpg",
"product_link": "/products/kacypop-the-nightmare-before-christmas-socks/"
},
{
"price": "$20.00",
"brand_name": "Sorel",
"image_link": "https://media-photos.depop.com/b1/18336754/2389258417_8bbd406de5974100897c117b15c43682/P8.jpg",
"product_link": "/products/hiddentreasures24-soft-and-warm-sorel-grey/"
},
{
"price": "$18.00",
"brand_name": "Converse",
"image_link": "https://media-photos.depop.com/b1/22510578/2558262334_0beb4d2e0fc041a9940accb74a754a40/P8.jpg",
"product_link": "/products/pbmc_4-converse-chuck-taylor-all-star-ad5e/"
},
{
"price": "$28.00",
"brand_name": "Aerosoles",
"image_link": "https://media-photos.depop.com/b1/257411190/2369913737_9c8be6d44ae445c18b5ba136e27cab0b/P8.jpg",
"product_link": "/products/thomasanialocklear74-aerosoles-womens-shoes-size-95/"
},
{
"price": "$124.10",
"brand_name": "Adidas",
"image_link": "https://media-photos.depop.com/b1/4906532/2410298830_badea45888de41cdbceaa7e0d37a7622/P8.jpg",
"product_link": "/products/swirlymist-leopard-print-shoes-from-adidas/"
},
{
"price": "$20.00",
"brand_name": "Marc Fisher",
"image_link": "https://media-photos.depop.com/b1/46674788/2331037614_a1c99cfe5891477aaba0118441ede658/P8.jpg",
"product_link": "/products/cherrydiscostar-marc-fisher-leopard-print-knee/"
},
{
"price": "$15.00",
"brand_name": "Charlotte Russe",
"image_link": "https://media-photos.depop.com/b1/43135639/2335046022_c97025b8a4414cf7973f18a16f9b49ac/P8.jpg",
"product_link": "/products/sophialik-charlotte-russe-black-suede-open/"
},
{
"price": "$20.00",
"brand_name": "Other",
"image_link": "https://media-photos.depop.com/b1/20920471/2404443800_7b31f67d58d24fa4a9915f7ade25d769/P8.jpg",
"product_link": "/products/roscoesmama-brown-leather-slip-on-shoes-leathershoes/"
}
]
}
Object type | Name | Description |
---|---|---|
Array of objects | product_listings |
List of product cards. |
String | product_link |
|
String | price |
|
String | image_link |
|
String | brand_name |
Try OxyCopilot
Test our AI for free and see how it fits your needs
Scale up your business with Oxylabs®
Proxies
Advanced proxy solutions
Data Collection
Datasets
Resources
Innovation hub
Try OxyCopilot
Test our AI for free and see how it fits your needs