# Amazon Seller Profile

{% hint style="success" %}
To enable this feature, set the **`type=seller_profile`**&#x70;arameter.
{% endhint %}

The Amazon Seller feature should be used when scraping Amazon products from a seller. This feature will return a JSON object with the available products sold by a seller. Among other useful information, the main keys included in the JSON object are:

* `seller_details`
* `feedback`
* `feedback_summary`

### Amazon Seller Profile Parameters

The Amazon Seller feature only takes one specific parameter:

<table><thead><tr><th width="129">Parameter</th><th width="102" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>seller_id<br> <mark style="color:red;background-color:red;">Required</mark> </td><td align="center"><code>string</code></td><td>The ID of an amazon seller.</td></tr></tbody></table>

Your full **GET** request should then be sent to the following address:

```
https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z
```

### Amazon Seller Profile Integration Examples

{% tabs %}
{% tab title="cURL" %}

```bash
curl --request GET --url "https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z
```

{% endtab %}

{% tab title="NodeJS" %}

```javascript
const http = require("https");

const options = {
  "method": "GET",
  "hostname": "ecom.shifter.io",
  "port": null,
  "path": "/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z",
  "headers": {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

API_KEY = '<YOUR_API_KEY>'
SCRAPER_URL = 'https://ecom.shifter.io/v1'

PARAMS = {
    "api_key":API_KEY,
    "engine":"amazon",
    "type":"seller_profile",
    "seller_id":"AAZRLVTNON75Z"
}

response = requests.get(SCRAPER_URL, params=PARAMS)

print(response.text)
```

{% endtab %}

{% tab title="PHP" %}

```php
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&&seller_id=AAZRLVTNON75Z",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
```

{% endtab %}

{% tab title="Go" %}

```go
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

{% endtab %}

{% tab title="Java" %}

```java
HttpResponse<String> response = Unirest.get("https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z")
  .asString();
```

{% endtab %}

{% tab title=".NET" %}

```vbnet
var client = new RestClient("https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://ecom.shifter.io/v1?engine=amazon&api_key=<YOUR_API_KEY>&type=seller_profile&seller_id=AAZRLVTNON75Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

{% endtab %}
{% endtabs %}

<details>

<summary>Response Example</summary>

```javascript
{
    "search_parameters": {
        "amazon_url": "https://www.amazon.com/sp?seller=AAZRLVTNON75Z",
        "engine": "amazon",
        "amazon_domain": "amazon.com",
        "device": "desktop",
        "type": "seller_profile",
        "seller_id": "AAZRLVTNON75Z",
        "scroll_to_bottom": true,
        "wait_bottom_carousel": true,
        "wait_for_video": true,
        "wait_for_offers": true
    },
    "search_information": {
        "organic_results_state": "Results for exact spelling"
    },
    "seller_profile": {
        "seller_details": {
            "name": "Triplenet Pricing INC",
            "store_link": "https://www.amazon.com/s?ie=UTF8&marketplaceID=ATVPDKIKX0DER&me=AAZRLVTNON75Z",
            "logo": "https://m.media-amazon.com/images/I/11kriIp42uL.jpg",
            "rating": 4,
            "ratings_total": 4078,
            "ratings_positive_percentage": 74,
            "business_name": "Delaware",
            "business_address": "86 Albe Drive Suite 1C NEWARK DE 19702 US",
            "business_address_rows": [
                "86 Albe Drive Suite 1C",
                "NEWARK",
                "DE",
                "19702",
                "US"
            ],
            "about_this_seller": "Triplenet Pricing has been in the Consumer Electronics and office supply industry for many years. All of our products are brand new and factory sealed with a warranty (either from us or the manufacturer or both) or your money back. We also guarantee all items to be as described or you will receive a full refund(plus shipping!) . Our philosophy is simple and never changes - Offer the highest quality, brand name products that our customers demand at excellent prices. We do recognize that this is a very competitive industry and that low prices alone can only take us so far. Therefore, at Triplenet Pricing, we combine price, technical \"know how\", honest and straightforward service, speedy shipping, and great customer service.",
            "detailed_information": "Detailed Seller Information Business Name: Delaware Business Address: 86 Albe Drive Suite 1C NEWARK DE 19702 US"
        },
        "feedback": [
            {
                "rating": 5,
                "body": "Tiene un perfume muy agradable ,siempre lo uso lo recomiendo no se van a arrepentir,lo uso ppr años y estoy contento",
                "rater": "By Jorge balarezo on July 24, 2023."
            },
            {
                "rating": 5,
                "body": "Great service",
                "rater": "By Sarah M. on July 24, 2023."
            },
            {
                "rating": 5,
                "body": "As described.....thanks!",
                "rater": "By Stafford T. Decambra on July 24, 2023."
            },
            {
                "rating": 1,
                "body": "Specifically searched for and ordered a Sharp EL-1801C and was shipped a Sharp EL-1801V. We were shipped a nicer and more expensive calculator, but ordered the \"C\" vs \"V\" due to space available and design of keys. Just frustrated that the product was different than advertised or shown.",
                "rater": "By Chad H. on July 24, 2023."
            },
            {
                "rating": 5,
                "body": "Great",
                "rater": "By T.S on July 24, 2023."
            }
        ],
        "feedback_summary": [
            {
                "positive_percent": 75,
                "neutral_percent": 1,
                "negative_percent": 24,
                "count": 366
            },
            {
                "positive_percent": 75,
                "neutral_percent": 2,
                "negative_percent": 23,
                "count": 1019
            },
            {
                "positive_percent": 74,
                "neutral_percent": 2,
                "negative_percent": 24,
                "count": 4078
            },
            {
                "positive_percent": 93,
                "neutral_percent": 2,
                "negative_percent": 5,
                "count": 79603
            }
        ]
    }
}
```

</details>

<figure><img src="broken-reference" alt=""><figcaption><p>Scraping Amazon Seller Profile Page</p></figcaption></figure>
