Oxylabs’ Marketplace Scraper is a data gathering solution allowing you to extract real-time information from any marketplace effortlessly. This brief guide explains how a Marketplace Scraper works and provides code examples to understand better how you can use it hassle-free.
You can get marketplace results by providing your own URLs to our service. We can return the HTML for any marketplace you like.
The example below illustrates how you can get swappa.com marketplace results.
import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'universal',
'url': 'https://swappa.com/sneakers/air-jordans'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('user', 'pass1'),
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())
Find code examples for other programming languages here
{
"results": [
{
"content": "\n\n\n\n\n\n\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11. ... </html>",
"created_at": "2023-12-18 11:32:57",
"updated_at": "2023-12-18 11:32:58",
"page": 1,
"url": "https://swappa.com/sneakers/air-jordans",
"job_id": "7142476830446991361",
"status_code": 200
}
]
}
With our Marketplace Scraper, you can smoothly extract public data from any e-commerce marketplace platforms. Gather necessary inventory details, including product price, customer feedback, or in-depth descriptions, to understand the market and maintain an edge over your competitors. Should you need any clarification, our support team is ready to assist you via live chat or you can email us at hello@oxylabs.io.