Docs
Log in
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' -G
from 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/156078647276

Response shape

JSON response body. Field types may be null when the source page omits the value.

item_id
string
Item ID.
title
string
Title.
price
string
Current price.
original_price
string | null
Original price.
condition
string
Item condition.
availability
string
Stock or quantity.
description
string
Listing description.
images
array
Product images.
shipping
object
Shipping cost and methods.
seller
object
Seller name, feedback score, percentage positive.
returns
string
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%"
  }
}