# 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:&#x20;

<details>

<summary><code>token</code> ， A<strong>ccess token (required)</strong></summary>

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

**Request examples:**&#x20;

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

```sh
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}}"
```

</details>

**Product - Scrape eBay information:**

1\. eBay -  Scrape information by URL

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.

**Request examples:**&#x20;

`spider_id=ebay_ebay_by-url`

```sh
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}}"
```

</details>

<details>

<summary><code>url</code> ，<strong>URL (required)</strong></summary>

This parameter specifies the eBay product URL to be scraped.

**Request examples:**&#x20;

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

```sh
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}}"
```

</details>

2\. eBay - Scrape eBay information by category URL

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.&#x20;

**Request examples:**&#x20;

`spider_id=ebay_ebay_by-category-url`

```sh
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}}"
```

</details>

<details>

<summary><code>url</code> ，<strong>category URL (required)</strong></summary>

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

**Request examples:**&#x20;

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

```sh
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}}"
```

</details>

3\. eBay - Scrape information by keyword

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use. &#x20;

**Request examples:**&#x20;

`spider_id=ebay_ebay_by-keywords`

```sh
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}}"
```

</details>

<details>

<summary><code>keywords</code> ，keywords <strong>(required)</strong></summary>

This parameter specifies the search keyword for scraping eBay products.

**Request examples:**&#x20;

`"keywords": "baby toys"`

```sh
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}}"
```

</details>

4\. eBay - Scrape information by store URL

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.  &#x20;

**Request examples:**&#x20;

`spider_id=ebay_ebay_by-listurl`

```sh
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}}"
```

</details>

<details>

<summary><code>url</code> ，URL<strong>(required)</strong></summary>

This parameter specifies the eBay store URL to be scraped.

**Request examples:**&#x20;

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

```sh
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}}"
```

</details>

If you need further assistance, please contact us via email at <support@thordata.com>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.thordata.com/doc/scraping/web-scraper-api/parameter-description/ebay-scraping-parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
