eBay Product
Extract a single eBay listing — title, price, images, condition, shipping, and seller details.
JS token recommended
Some eBay pages load content via JavaScript or iframes. For complete data extraction, use your JavaScript token.
API usage
Add &scraper=ebay-product to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.ebay.com/itm/156078647276' \
--data-urlencode 'scraper=ebay-product' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.ebay.com/itm/156078647276',
{'scraper': 'ebay-product'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.ebay.com/itm/156078647276',
{ scraper: 'ebay-product' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.ebay.com/itm/156078647276', scraper: 'ebay-product')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.ebay.com/itm/156078647276Response shape
JSON response body. Field types may be null when the source page omits the value.
Item ID.
Title.
Current price.
Original price.
Item condition.
Stock or quantity.
Listing description.
Product images.
Shipping cost and methods.
Seller name, feedback score, percentage positive.
Returns policy.
Sample response
{
"item_id": "156078647276",
"title": "Apple iPhone X 64GB Unlocked",
"price": "$129.99",
"condition": "Used - Excellent",
"availability": "3 available",
"seller": {
"name": "phonecollector_us",
"feedback_score": 12420,
"positive_pct": "99.6%"
}
}
