eBay Scraping Parameters

Web Scraper API eBay Scraping Parameters

Configure eBay Scraping Parameters using Thordata's Web Scraper API, including URL, category URL, keywords, list URL , and other parameters.

Unique Identifier:

token access token (required)

This parameter is used as the API access token to ensure the legitimacy of the scraping request.

Request examples:

Authorization: Bearer ********************

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/itm/157239509696?itmmeta=01K5R1KEKE3ZV2X0MFQF6B34H6%26hash=item249c3482c0:g:DNkAAeSwibpom7x8\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

Product - Scrape eBay information:

1. eBay - Scrape information by URL

spider_id ,Scraper tool (required)

Defines which scraper tool to use.

Request examples:

spider_id=ebay_ebay_by-url

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/itm/157239509696?itmmeta=01K5R1KEKE3ZV2X0MFQF6B34H6%26hash=item249c3482c0:g:DNkAAeSwibpom7x8\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
urlURL (required)

This parameter specifies the eBay product URL to be scraped.

Request examples:

"url": "https://www.ebay.com/itm/157239509696?itmmeta=01K5R1KEKE3ZV2X0MFQF6B34H6%26hash=item249c3482c0:g:DNkAAeSwibpom7x8"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/itm/157239509696?itmmeta=01K5R1KEKE3ZV2X0MFQF6B34H6%26hash=item249c3482c0:g:DNkAAeSwibpom7x8\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

2. eBay - Scrape eBay information by category URL

spider_id ,Scraper tool (required)

Defines which scraper tool to use.

Request examples:

spider_id=ebay_ebay_by-category-url

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/b/Collectible-Japanese-Bowls-Plates-1900-Now/29450/bn_3017839\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
urlcategory URL (required)

This parameter specifies an eBay category URL to find new products.

Request examples:

"url": "https://www.ebay.com/b/Collectible-Japanese-Bowls-Plates-1900-Now/29450/bn_3017839"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/b/Collectible-Japanese-Bowls-Plates-1900-Now/29450/bn_3017839\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

3. eBay - Scrape information by keyword

spider_id ,Scraper tool (required)

Defines which scraper tool to use.

Request examples:

spider_id=ebay_ebay_by-keywords

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-keywords" ^
  -d "spider_parameters=[{\"keywords\": \"baby toys\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
keywords ,keywords (required)

This parameter specifies the search keyword for scraping eBay products.

Request examples:

"keywords": "baby toys"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-keywords" ^
  -d "spider_parameters=[{\"keywords\": \"baby toys\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

4. eBay - Scrape information by store URL

spider_id ,Scraper tool (required)

Defines which scraper tool to use.

Request examples:

spider_id=ebay_ebay_by-listurl

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/str/alohahawaiiana?_trksid=p4429486.m145687.l149086\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
url ,URL(required)

This parameter specifies the eBay store URL to be scraped.

Request examples:

"url": "https://www.ebay.com/str/alohahawaiiana?_trksid=p4429486.m145687.l149086"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=ebay.com" ^
  -d "spider_id=ebay_ebay_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.ebay.com/str/alohahawaiiana?_trksid=p4429486.m145687.l149086\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

If you need further assistance, please contact us via email at [email protected].

Last updated

Was this helpful?