> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/scraping/web-scraper-api/parameter-description/amazon-scraping-parameters.md).

# Amazon Scraping Parameters

Using Thordata's Web Scraper API to configure Amazon scraping parameters, including:\
**Product, Token, Scraping URLs, Seller URLs, Domain, Keywords, Sort Method, UPC, Max Page Count, Subcategories**, etc.

**Unique Identifier:**

<details>

<summary><code>token</code> ,<strong>Access Token (Required)</strong></summary>

This parameter is used as an API access token to ensure the legitimacy of crawling requests.

**Request Example:**\
&#x20;`"Authorization: Bearer ********************************"`&#x20;

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=amazon.com" ^
  -d "spider_id=amazon_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"zip_code\": \"94107\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**I、Product - Tool for Scraping Product Information:**

1. Amazon - Collect product information via URL

<details>

<summary><code>spider_id</code> ,<strong>Associated Scraping Tool (Required)</strong></summary>

This parameter defines which scraping tool to use.&#x20;

**Request Example:**\
`spider_id=amazon_product_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=amazon.com" ^
  -d "spider_id=amazon_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"zip_code\": \"94107\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to be scraped.

**Request Example:**\
`"url": "https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"zip_code\": \"94107\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>zip_code</code> ，<strong>Postal code (Optional)</strong></summary>

This parameter is used to specify the postal code of the delivery area in the crawled page.

**Request Example:**

`"zip_code": "94107"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"zip_code\": \"94107\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2. Amazon - Collect product information via bestseller URLs

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_product_by-best-sellers`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-best-sellers" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"collect_child_categories\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon category page URL to be scraped.

**Request Example:**\
`"url": "https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-best-sellers" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"collect_child_categories\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>collect_child_categories</code> <strong>,Subcategories (Optional)</strong></summary>

This parameter specifies the scope of subcategory products to collect under the main category.

**Request Example:**\
`"collect_child_categories":""`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-best-sellers" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/Best-Sellers-Tools-Home-Improvement-Kitchen-Bath-Fixtures/zgbs/hi/3754161/ref=zg_bs_unv_hi_2_680350011_1\",\"collect_child_categories\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3. Amazon - Collect product data via Category URL

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_product_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=amazon.com" ^
  -d "spider_id=amazon_product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code>，<strong>Crawl category template link (required)</strong></summary>

This parameter is used to specify the Amazon access URL address to be crawled.

**Request Example:**

`"url":"https://www.amazon.com/s?i=luggage-intl-ship"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>sort_by</code> <strong>,Sort Method (Optional)</strong></summary>

This parameter configures the sorting method when scraping category pages. Supported values include:

`Best Sellers`  `Newest Arrivals`  `Average Rating`  `Price: High to Low`  `Price: Low to High`  `Featured Recommendations`

**Request Example:**\
`"sort_by":"Best Sellers"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

4. Amazon - Collect product info via Keywords

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_product_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=amazon.com" ^
  -d "spider_id=amazon_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Apple Watch\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code> <strong>,Keyword (Required)</strong></summary>

This parameter specifies the search keyword used when scraping Amazon products.

**Request Example:**\
`"keyword":"Apple Watch"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Apple Watch\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

5. Amazon - Collect product info via UPC

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_product_by-upc`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-upc" ^
  -d "spider_parameters=[{\"upc\": \"841710108224\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>upc</code> <strong>,UPC (Required)</strong></summary>

The UPC corresponding to the Amazon product. Note that a single UPC may be associated with multiple products.

**Request Example:**\
`"upc":"841710108224"`

```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=amazon.com" ^
  -d "spider_id=amazon_product_by-upc" ^
  -d "spider_parameters=[{\"upc\": \"841710108224\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**II、Product - Product Review Scraping Tools:**

1. Amazon - Collect product reviews via URL

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_comment_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=amazon.com" ^
  -d "spider_id=amazon_comment_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to scrape.

**Request Example:**\
`"url": "https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726"`

```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=amazon.com" ^
  -d "spider_id=amazon_comment_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/HISDERN-Checkered-Handkerchief-Classic-Necktie/dp/B0BRXPR726\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**III、Product - Global Product Info Scraping Tools:**

1. Amazon - Collect global product data via URL

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_global-product_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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/dp/B0CHHSFMRL/\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to be scraped.

**Request Example:**\
`"url": "https://www.amazon.com/dp/B0CHHSFMRL/"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/dp/B0CHHSFMRL/\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

&#x20; 2.1  Amazon - Collect global product data via Brand

<details>

<summary><code>spider_id</code> <strong>, Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_global-product_by-brand`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-brand" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?k=football%26i=fashion%26rh=n%3A7141123011%2Cp_123%3A233083\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to be scraped.

**Request Example:**\
`"url": "https://www.amazon.com/s?k=football%26i=fashion%26rh=n%3A7141123011%2Cp_123%3A233083"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-brand" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?k=football%26i=fashion%26rh=n%3A7141123011%2Cp_123%3A233083\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

&#x20; 2.2.  Amazon - Collecting global product data by keyword or brand

<details>

<summary><code>spider_id</code> <strong>，Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**

`spider_id=amazon_global-product_by-keywords-brand`&#x20;

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords-brand" ^
  -d "spider_parameters=[{\"keyword\": \"shirts\",\"brands\": \"Adidas\",\"page_turning\": \"2\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code> ， <strong>Keywords (Required)</strong></summary>

This parameter is used to specify the search keywords used when crawling Amazon products.

**Request Example:**

`"keyword": "shirts"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords-brand" ^
  -d "spider_parameters=[{\"keyword\": \"shirts\",\"brands\": \"Adidas\",\"page_turning\": \"2\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>brands</code> ，<strong>Brand (Required)</strong></summary>

This parameter is used to specify the brand information to be crawled. Please enter a brand name that exists on the Amazon platform. If the brand option is not found, the crawl field will be empty.

**Request Example:**

`"brands": "Adidas"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords-brand" ^
  -d "spider_parameters=[{\"keyword\": \"shirts\",\"brands\": \"Adidas\",\"page_turning\": \"2\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>page_turning</code> ，Number of crawled pages (Required)</summary>

This parameter is used to set the number of pages of search results to crawl. Entering a number n means crawling all product data from page 1 to page n.\
Parameter value：`1-100000`

**Request Example:**

`"page_turning": "2"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords-brand" ^
  -d "spider_parameters=[{\"keyword\": \"shirts\",\"brands\": \"Adidas\",\"page_turning\": \"2\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3. Amazon - Collect global product data via Category URL

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_global-product_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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\",\"get_sponsored\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code>，<strong>Crawl category template link (Required)</strong></summary>

This parameter is used to specify the Amazon access URL address to be crawled.

**Request Example:**

`"url": "https://www.amazon.com/s?i=luggage-intl-ship"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\",\"get_sponsored\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>sort_by</code> <strong>,Sort Method (Optional)</strong></summary>

This parameter configures the sorting method when scraping category pages. Supported values include:

`Best Sellers`  `Newest Arrivals`  `Average Rating`  `Price: High to Low`  `Price: Low to High`  `Featured Recommendations`

**Request Example:**\
`"sort_by":"Best Sellers"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\",\"get_sponsored\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>get_sponsored</code> <strong>,Get Sponsored Products (Optional)</strong></summary>

This parameter is used to configure whether sponsored products should also be collected, even if they don't belong to the specified category.\
Parameter values: `true` or `false`

**Request Example:**\
`"get_sponsored":"true"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-category-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/s?i=luggage-intl-ship\",\"sort_by\": \"Best Sellers\",\"get_sponsored\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

4. Amazon - Collect global product data via Keywords

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_global-product_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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Mitutoyo\",\"domain\": \"https://www.amazon.com\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code> <strong>,Keyword (Required)</strong></summary>

This parameter specifies the search keyword used when scraping Amazon products.

**Request Example:**\
`"keyword":"Mitutoyo"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Mitutoyo\",\"domain\": \"https://www.amazon.com\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>domain</code> <strong>,Main Domain (Required)</strong></summary>

This parameter is used to specify the seller's homepage URL in order to scrape product data sold by that seller.

**Request Example:**\
`"domain":"https://www.amazon.com"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Mitutoyo\",\"domain\": \"https://www.amazon.com\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>page_turning</code> <strong>,Pages to Search back (Optional)</strong></summary>

This parameter sets the number of search result pages to scrape. Entering a number `n` means products from page 1 to page `n` will be scraped.

**Request Example:**\
`"page_turning":"1"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"Mitutoyo\",\"domain\": \"https://www.amazon.com\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

5. Amazon - Collect global product data through sellers

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool is used.

**Request Example:**\
`spider_id=amazon_global-product_by-seller-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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-seller-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.de/stores/page/DE4854A4-1CF9-4C69-BF27-17B0E692ACF0\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to be scraped.

**Request Example:**\
`"url":"https://www.amazon.de/stores/page/DE4854A4-1CF9-4C69-BF27-17B0E692ACF0"`

```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=amazon.com" ^
  -d "spider_id=amazon_global-product_by-seller-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.de/stores/page/DE4854A4-1CF9-4C69-BF27-17B0E692ACF0\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**IV、Product - Tool for Scraping Seller Information:**

1. Amazon - Collect seller information via URL

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool is used.

**Request Example:**\
`spider_id=amazon_seller_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=amazon.com" ^
  -d "spider_id=amazon_seller_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/sp?ie=UTF8%26seller=ADZ7LD48GVFQJ%26asin=B07H56J7K1%26ref_=dp_merchant_link%26isAmazonFulfilled=1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> <strong>,Target URL for Scraping (Required)</strong></summary>

This parameter specifies the Amazon URL to be scraped.

**Request Example:**

`"url": "https://www.amazon.com/sp?ie=UTF8%26seller=ADZ7LD48GVFQJ%26asin=B07H56J7K1%26ref_=dp_merchant_link%26isAmazonFulfilled=1"`

```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=amazon.com" ^
  -d "spider_id=amazon_seller_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.amazon.com/sp?ie=UTF8%26seller=ADZ7LD48GVFQJ%26asin=B07H56J7K1%26ref_=dp_merchant_link%26isAmazonFulfilled=1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**V、Product - Scraping Product Lists:**

1. Amazon - Collect product lists via keywords

<details>

<summary><code>spider_id</code> <strong>,Associated Scraping Tool (Required)</strong></summary>

Defines which scraping tool to use.

**Request Example:**\
`spider_id=amazon_product-list_by-keywords-domain`

```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=amazon.com" ^
  -d "spider_id=amazon_product-list_by-keywords-domain" ^
  -d "spider_parameters=[{\"keyword\": \"X-box\",\"domain\": \"https://www.amazon.com/\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code> <strong>,Keyword (Required)</strong></summary>

This parameter specifies the search keyword used when scraping Amazon products.

**Request Example:**\
`"keyword": "X-box"`

```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=amazon.com" ^
  -d "spider_id=amazon_product-list_by-keywords-domain" ^
  -d "spider_parameters=[{\"keyword\": \"X-box\",\"domain\": \"https://www.amazon.com/\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>domain</code> <strong>,Main Domain (Required)</strong></summary>

This parameter is used to specify the seller's homepage URL in order to scrape product data sold by that seller.

**Request Example:**\
`"domain": "https://www.amazon.com/"`

```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=amazon.com" ^
  -d "spider_id=amazon_product-list_by-keywords-domain" ^
  -d "spider_parameters=[{\"keyword\": \"X-box\",\"domain\": \"https://www.amazon.com/\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>page_turning</code> <strong>,Pages to Search back (Optional)</strong></summary>

This parameter sets the number of search result pages to scrape. Entering a number `n` means products from page 1 to page `n` will be scraped.

**Request Example:**\
`"page_turning":"1"`

```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=amazon.com" ^
  -d "spider_id=amazon_product-list_by-keywords-domain" ^
  -d "spider_parameters=[{\"keyword\": \"X-box\",\"domain\": \"https://www.amazon.com/\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

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