Skip to main content

eBay Product API

The eBay Product API is a REST API that allows you to access data from eBay product pages using the ebay/product endpoint.

You can query the API by passing in the item_id of the product you want to scrape.

curl -GET "https://proxy.scrapeops.io/v1/structured-data/ebay/product?api_key=YOUR_API_KEY&item_id=123456789"

Or you can pass in the url of the product page you want to scrape (make sure to encode the URL).

curl -GET "https://proxy.scrapeops.io/v1/structured-data/ebay/product?api_key=YOUR_API_KEY&url=https%3A%2F%2Fwww.ebay.com%2Fitm%2F127458377630"

Authorisation - API Key

To use the ScrapeOps proxy, you first need an API key which you can get by signing up for a free account here.

Your API key must be included with every request using the api_key query parameter otherwise the API will return a 403 Forbidden Access status code.


API Parameters

eBay Product API Parameters

The following parameters are available for the eBay Product API:

ParameterDescription
api_keyRequired. The API key to use for the request.
item_idThe eBay Item ID of the product you want to scrape.
urlThe URL of the product page you want to scrape. If a URL is provided, the URL will take priority over the item_id.
countryThe 2 letter country code of the where you want the product data to be scraped from. Example: us, uk, ca, de, fr, etc.
tldThe eBay domains to scrape from. Example: com, co.uk, ca, de, fr, etc.

The below table outlines the valid TLDs for eBay domains.

TLDeBay Domain
comebay.com
co.ukebay.co.uk
caebay.ca
deebay.de
frebay.fr
itebay.it
esebay.es
com.auebay.com.au
atebay.at
beebay.be
chebay.ch
ieebay.ie
nlebay.nl
plebay.pl
com.mxebay.com.mx
com.brebay.com.br
com.hkebay.com.hk
com.sgebay.com.sg
co.jpebay.co.jp
com.myebay.com.my
com.phebay.com.ph
com.twebay.com.tw
com.trebay.com.tr
inebay.in
aeebay.ae
saebay.sa