eBay Category API
The eBay Category API is a REST API that allows you to access data from eBay category pages using the ebay/category endpoint.
You can query the API by passing in the category_id of the category you want to scrape.
curl -GET "https://proxy.scrapeops.io/v1/structured-data/ebay/category?api_key=YOUR_API_KEY&category_id=7000259856"
Or you can pass in the url of the category page you want to scrape (make sure to encode the URL).
curl -GET "https://proxy.scrapeops.io/v1/structured-data/ebay/category?api_key=YOUR_API_KEY&url=https%3A%2F%2Fwww.ebay.com%2Fb%2FLaptops%2F175672%2Fbn_1648276"
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 Category API Parameters
The following parameters are available for the eBay Category API:
| Parameter | Description |
|---|---|
api_key | Required. The API key to use for the request. |
category_id | The eBay Category ID of the category you want to scrape. |
url | The URL of the category page you want to scrape. If a URL is provided, the URL will take priority over the category_id. |
country | The 2 letter country code of the where you want the category data to be scraped from. Example: us, uk, ca, de, fr, etc. |
tld | The eBay domains to scrape from. Example: com, co.uk, ca, de, fr, etc. |
The below table outlines the valid TLDs for eBay domains.
| TLD | eBay Domain |
|---|---|
com | ebay.com |
co.uk | ebay.co.uk |
ca | ebay.ca |
de | ebay.de |
fr | ebay.fr |
it | ebay.it |
es | ebay.es |
com.au | ebay.com.au |
at | ebay.at |
be | ebay.be |
ch | ebay.ch |
ie | ebay.ie |
nl | ebay.nl |
pl | ebay.pl |
com.mx | ebay.com.mx |
com.br | ebay.com.br |
com.hk | ebay.com.hk |
com.sg | ebay.com.sg |
co.jp | ebay.co.jp |
com.my | ebay.com.my |
com.ph | ebay.com.ph |
com.tw | ebay.com.tw |
com.tr | ebay.com.tr |
in | ebay.in |
ae | ebay.ae |
sa | ebay.sa |