The eBay Scraper is a powerful tool designed to extract detailed product information from eBay, one of the world's largest online marketplaces. This scraper allows you to effortlessly gather data on a wide variety of products, providing valuable insights for e-commerce businesses, market researchers, and online sellers.
Our eBay Scraper uses advanced web scraping techniques to navigate eBay's website structure, extracting relevant data from product pages and search results. It processes the HTML content, parses the information, and returns it in a structured, easy-to-use JSON format.
POST /ecommerce/ebay-scraper/products
This endpoint allows you to retrieve detailed product information by providing eBay product URLs.
POST /ecommerce/ebay-scraper/products-by-keyword
This endpoint enables you to discover products by searching with keywords, similar to using eBay's search function.
The eBay Scraper API allows you to extract detailed product information from eBay.com. This powerful tool enables developers to integrate eBay product data into their applications, conduct market research, or monitor pricing and trends across various categories.
To use the eBay Scraper API, you'll need to authenticate your requests using your API key. The API provides an endpoint for retrieving product information:
Include your API key in the request headers:
Authorization: Bearer YOUR_API_KEY
The request body should be a JSON object with the following structure:
{
"url": "https://www.ebay.com/itm/product-id"
}
Please note that usage is subject to rate limiting. Refer to your plan details for specific limits.
Here's an example of the data you can expect to receive:
[
{
"input": {
"url": "https://www.ebay.com/itm/335556992190?itmmeta=01J6Y8M57SVGZHTW7PTZEHJM34&hash=item4e20c15cbe:g:ZRsAAOSwf8tmu05g&itmprp=enc%3AAQAJAAAAwIGlUAWZBx1gbu%2FRwYCIK9zj0jXSPc2UjP14Sm%2FERHCtEsaK9byVcNBOercZssUIcq3c7Ybf%2FoxoFSy866x7WC8BGnHYdm%2F33LcvZcXjrhzvV0uEpZYTnBKyJ6QIpCpgaCy7tDo7SAxECIqM%2FJ1hMEGJni%2BkX9EZtfC%2BAEVILIjEQeQJGN9VcyQY8fKSYkOVTWE5qqTxlarQAOLa8sSqrGoTyPZKzKO8ZgqBJb5MhryzU4gQiTT8pEFBSgWa177Ubw%3D%3D%7Ctkp%3ABk9SR_7T0Mi3ZA"
},
"url": "https://www.ebay.com/itm/335556992190?itmmeta=01J6Y8M57SVGZHTW7PTZEHJM34&hash=item4e20c15cbe%3Ag%3AZRsAAOSwf8tmu05g&itmprp=enc%3AAQAJAAAAwIGlUAWZBx1gbu%2FRwYCIK9zj0jXSPc2UjP14Sm%2FERHCtEsaK9byVcNBOercZssUIcq3c7Ybf%2FoxoFSy866x7WC8BGnHYdm%2F33LcvZcXjrhzvV0uEpZYTnBKyJ6QIpCpgaCy7tDo7SAxECIqM%2FJ1hMEGJni%2BkX9EZtfC%2BAEVILIjEQeQJGN9VcyQY8fKSYkOVTWE5qqTxlarQAOLa8sSqrGoTyPZKzKO8ZgqBJb5MhryzU4gQiTT8pEFBSgWa177Ubw%3D%3D%7Ctkp%3ABk9SR_7T0Mi3ZA&fbclid=IwAR0Sn-k7M4Zqv-uMGqeyIh4cFPDqBZkc9iiKac9xSj9_OIPtqVWnhp-bnPx",
"product_id": "335556992190",
"title": "Breitling J Class Men 41mm Model D10067 Automatic Steel/18k Gold.-",
"seller_name": "wallas24",
"seller_rating": "Seller's other itemsSeller's other items",
"seller_reviews": "219",
"breadcrumbs": [
{
"name": "Jewelry & Watches",
"url": "https://www.ebay.com/b/Jewelry-Watches/281/bn_1865273"
},
{
"name": "Watches, Parts & Accessories",
"url": "https://www.ebay.com/b/Watches-Parts-Accessories/260324/bn_2408535"
},
{
"name": "Watches",
"url": "https://www.ebay.com/b/Watches/260325/bn_7117208191"
},
{
"name": "Wristwatches",
"url": "https://www.ebay.com/b/Wristwatches/31387/bn_2408451"
}
],
"root_category": "Jewelry & Watches",
"images": [
"https://i.ebayimg.com/images/g/ZRsAAOSwf8tmu05g/s-l1600.webp",
"https://i.ebayimg.com/images/g/IVUAAOSw~Jhmu05g/s-l1600.webp",
"https://i.ebayimg.com/images/g/qCEAAOSw8Etmu05g/s-l1600.webp",
"https://i.ebayimg.com/images/g/43kAAOSwrQNmu05g/s-l1600.webp",
"https://i.ebayimg.com/images/g/dqQAAOSw9QJmu05h/s-l1600.webp",
"https://i.ebayimg.com/images/g/VuIAAOSwdftmu05i/s-l1600.webp"
],
"price": "$1,655.27",
"currency": "USD",
"condition": "Pre-owned",
"ships_to": "Estimated between Mon, Sep 16 and Tue, Sep 24 to 64052 Delivery time is estimated using our proprietary method which is based on the buyer's proximity to the item location, the shipping service selected, the seller's shipping history, and other factors. Delivery times may vary, especially during peak periods. Please allow additional time if international delivery is subject to customs processing.",
"product_specifications": [
{
"specification_name": "Condition",
"specification_value": "Pre-owned: An item that has been used previously. The item may have some signs of cosmetic wear, but ... Read moreabout the conditionPre-owned: An item that has been used previously. The item may have some signs of cosmetic wear, but is fully operational and functions as intended. This item may be a floor model or store return that has been used. See the seller's listing for full details and description of any imperfections. See all condition definitionsopens in a new window or tab"
},
{
"specification_name": "Couleur du bracelet",
"specification_value": "Argenté"
},
{
"specification_name": "Avec boîte originale",
"specification_value": "Oui"
},
{
"specification_name": "Pays de fabrication",
"specification_value": "Suisse"
},
{
"specification_name": "Couleur du boîtier",
"specification_value": "Bleu"
},
{
"specification_name": "Modèle",
"specification_value": "Breitling J Class"
},
{
"specification_name": "Caractéristiques",
"specification_value": "Aiguilles lumineuses, Fabrication suisse, Indicateur de date, Lunette tournante, Mouvement suisse, Résistant à l'eau, Verre saphir"
},
{
"specification_name": "Mouvement",
"specification_value": "Mouvement mécanique (remontage automatique)"
},
{
"specification_name": "Type",
"specification_value": "Montre bracelet"
},
{
"specification_name": "Marque",
"specification_value": "Breitling"
},
{
"specification_name": "Couleur de cadran",
"specification_value": "Blanc"
},
{
"specification_name": "Matériau du boîtier",
"specification_value": "Or jaune"
},
{
"specification_name": "Couleur de la lunette",
"specification_value": "Bleu"
},
{
"specification_name": "Taille du boîtier",
"specification_value": "41 mm"
},
{
"specification_name": "Matériau du bracelet",
"specification_value": "Or plaqué"
},
{
"specification_name": "Style",
"specification_value": "Luxe"
},
{
"specification_name": "Département",
"specification_value": "Homme"
}
],
"seller_total_reviews": 128,
"item_reviews": 0,
"product_ratings": 0,
"amount_of_stars": [
{
"5_stars": "0"
},
{
"4_stars": "0"
},
{
"3_stars": "0"
},
{
"2_stars": "0"
},
{
"1_star": "0"
}
],
"tags": [
"10 viewed in the last 24 hours"
]
}
]
import requests
import json
# Your API Key
api_key = 'YOUR_API_KEY'
# API Endpoint
url = 'https://taskagi.net/api/ecommerce/ebay-scraper/products'
# Headers
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json'
}
# Request Body
data = {
'url': 'https://www.ebay.com/itm/335556992190'
}
# Send POST request
response = requests.post(url, headers=headers, json=data)
# Check if the request was successful
if response.status_code == 200:
# Parse the JSON response
product_data = response.json()
# Print the product information
print(json.dumps(product_data, indent=2))
else:
print(f"Error: {response.status_code}")
print(response.text)