eBay Product API
Scrape any eBay product listing page by URL to retrieve title, item ID, pricing, seller details, images, specifications, shipping and return policies. Each successful request costs 5 API credits.
Endpoint:
https://api.scrapingdog.com/ebay/productAPI Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
📦
Product
urlRequiredURL of the eBay product listing page to scrape (e.g.,https://www.ebay.co.uk/itm/305209925234).
Type: String
⚙
️ Advanced
htmlOptionalSet totrueto return the full HTML of the eBay page instead of parsed JSON. Default:false.
Type: Boolean
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/ebay/product?api_key=APIKEY&url=https://www.ebay.co.uk/itm/305209925234"
import requests params = { "api_key": "APIKEY", "url": "https://www.ebay.co.uk/itm/305209925234" } response = requests.get("https://api.scrapingdog.com/ebay/product", params=params) print(response.json())
const params = new URLSearchParams({ api_key: "APIKEY", url: "https://www.ebay.co.uk/itm/305209925234" }); const response = await fetch(`https://api.scrapingdog.com/ebay/product?${params}`); const data = await response.json(); console.log(data);
<?php $url = 'https://api.scrapingdog.com/ebay/product?' . http_build_query([ 'api_key' => 'APIKEY', 'url' => 'https://www.ebay.co.uk/itm/305209925234', ]); echo file_get_contents($url);
API Response
{
"product_results": {
"title": "Apple iPhone 14 - 128GB - Midnight (Unlocked) Smartphone - Good Condition",
"itemId": "305209925234",
"seller": {
"name": "musicMagpie Shop",
"reviews": "13269049",
"positive_feedback_percent": "99.1%",
"thumbnail": "https://i.ebayimg.com/images/g/IKIAAOSwfQ1n0~~7/s-l64.jpg"
},
"likes": 122,
"price": "£339.99",
"extracted_price": 339.99,
"condition": "Good - Refurbished",
"is_buy_it_now": false,
"main_image": "https://i.ebayimg.com/thumbs/images/g/aYMAAOSw04VlLk0j/s-l500.jpg",
"images": [
{ "link": "https://i.ebayimg.com/images/g/aYMAAOSw04VlLk0j/s-l500.jpg", "variant": "Picture 1 of 5" },
{ "link": "https://i.ebayimg.com/images/g/0xkAAOSw3UplMnOO/s-l500.jpg", "variant": "Picture 2 of 5" },
{ "link": "https://i.ebayimg.com/images/g/scgAAOSwM6ZlLkmS/s-l500.jpg", "variant": "Picture 3 of 5" }
],
"shipping_details": {
"shipping_cost": "May not post to United States",
"seller_location": "Located in: England, United Kingdom"
},
"return_details": {
"full_return_text": "No returns accepted.",
"accepts_returns": false
},
"payment_methods": ["PayPal", "Google Pay", "Visa", "Mastercard"],
"specifications": [
{ "name": "Brand", "value": "Apple" },
{ "name": "Model", "value": "Apple iPhone 14" },
{ "name": "Storage Capacity", "value": "128 GB" },
{ "name": "Colour", "value": "Black" },
{ "name": "Network", "value": "Unlocked" },
{ "name": "Screen Size", "value": "6.1 in" },
{ "name": "Chipset Model", "value": "Apple A15 Bionic" },
{ "name": "Operating System", "value": "iOS" },
{ "name": "RAM", "value": "6 GB" }
],
"product": {
"rating": 5,
"reviews": 13269049,
"reviews_histogram": { "1": 10748, "2": 25078, "3": 83595, "4": 1972444, "5": 11177184 }
}
}
}