Amazon Data API User Guide

Table of Contents

Last Updated: December 5, 2024

I. Product Introduction

This product primarily provides the latest Amazon webpage data (within 24 hours) through an API interface, receiving customer-specified data types and parameters. The provided data types include: product category data, merchant data, and detailed product information data. Supported sites: US site, UK site, German site, French site, etc.

II. Getting Started

As this product is provided via API, it involves two steps: data task creation and data reception. The time from data task creation to data reception is typically within 3 minutes. We can also add data fields and increase data refresh frequency according to customer requirements.

Brief Description

  • Refresh token

Request URL

Request Method

  • POST

Header

  • Content-Type: application/json

Parameters

Parameter NameRequiredTypeDescription
emailYesstringRegistered email
passwordYesstringPassword

Input Example

				
					curl -X POST https://extapi.pangolinfo.com/api/v1/refreshToken \
-H 'Content-Type: application/json' \
-d '{"email": "xxxx@gmail.com", "password": "xxxx"}'
				
			

Response Example

				
					{
	"code":0,
	"subCode":null,
	"message":"ok",
	"data":"xxxx"
}
				
			

Note: The data returned from refreshing the Token will serve as credentials for accessing the API ‘Authorization: Bearer xxxx’ This token is valid long-term. If modification is needed, simply refresh again

Brief Description

  • Submit interface

Request URL

Request Method

  • GET

Header

  • Content-Type: application/x-www-form-urlencoded

Parameters

Parameter NameRequiredTypeDescription
tokenYesstringAPI token
urlYesstringTarget webpage URL
callbackUrlYesstringService address for receiving data
bizKeyYesstringChoose one of the following based on business needs:<br>amzProductOfCategory – Get product list by category<br>amzProductOfSeller – Get product list by seller<br>amzProduct – Get product details<br>amzKeyword – Get product list by keyword<br>bestSellers – Best Sellers list<br>newReleases – New Releases list
zipcodeNostringAmazon zipcode information
rawDataNoboolWhether to return raw data, default is false

Input Example

				
					curl -X GET https://dev-extapi.pangolinfo.com/api/v1?token=xxxx\&url=https://www.amazon.com/gp/bestsellers/kitchen/ref=zg_bs_kitchen_sm\&callbackUrl=http://xx.xx.xx.xx:xx/data/receive\&bizKey=bestSellers\&zipcode=10041\&json_response=true -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Bearer xxxx'
				
			

Response Example

				
					{
	"code":0,
	"data":{
		"data":"e92b7c52cd98466999bacc8081e7dc12",
		"bizMsg":"ok",
		"bizCode":0
	},
	"message":"ok"
}
				
			

Brief Description

• Submit Review Task API

Request URL

https://extapi.pangolinfo.com/api/v1/review

Request Method

• GET

Headers

• Content-Type: application/x-www-form-urlencoded

Parameter NameMandatoryTypeDescription
tokenYesstringAPI token
asinYesstringTarget product ASIN
callbackUrlYesstringURL of the service for receiving data
pageYesintReview page number
country_codeNostringTarget country code:<br>us United States<br>de Germany<br>uk United Kingdom<br>fr France<br>jp Japan<br>ca Canada<br>it Italy<br>au Australia<br>es Spain

Example Input

				
					curl -X GET https://extapi.pangolinfo.com/api/v1/review?token=xxxx\&asin= B081T7N948\&callbackUrl=http://xx.xx.xx.xx:xx/data/receive\&country_code=us\&page=1 -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Bearer xxxx'
				
			

Note: The request header ‘Authorization: Bearer xxxx’ should contain the token returned in the “data” field by the refresh Token interface.

Response Example

				
					{
	"code":0,
	"data":{
		"data":"e92b7c52cd98466999bacc8081e7dc12",
		"bizMsg":"ok",
		"bizCode":0
	},
	"message":"ok"
}
				
			

Original Response Example

				
					{
	"data":{
		"message":"ok",
		"result":"["update","#cm-cr-dp-review-list",""]
				&&&
 				["update","#cm-cr-dp-review-header",""]
				&&&
 				["update","#cm-cr-local-reviews-title","<h3 data-hook=\"dp-local-reviews-header\" class=\"a-spacing-medium a-spacing-top-large\">\n\n\n\n\n\n\n\n\nFrom the United States\n</h3>"]"
	}
}
				
			

Example of Parsing Results

				
					{
	"data":{
		"message":"ok",
		"result":"[
			{
				"reviewer":"DeWanna Rode",
				"reviewerLink":"/gp/profile/amzn1.account.AFERHH3Q5OPMIKGWOAGYKJMSDZFQ/ref=cm_cr_othr_d_gw_tr?ie=UTF8",
				"star":"4.0",
				"title":"It works",
				"date":"December 13, 2024",
				"purchase":"Verified Purchase",
				"content":"Easy on easy off"
			},
			{
				"reviewer":"Amazon Customer",
						"reviewerLink":"/gp/profile/amzn1.account.AEWUHDC5ME3ZODAFUAGBYQCVAN7A/ref=cm_cr_othr_d_gw_tr?ie=UTF8",
				"star":"5.0",
				"title":"This goo works well",
				"date":"December 13, 2024",
				"purchase":"Verified Purchase",
				"content":"Works well, picked up lots of dirt from keyboards, good value for money."

			}
		]"
	}
}
				
			

Response Example:

Need help?

We are devoted to your success, don't hestitate to contact us for any kind of questions!

Our team of experts is committed to helping you troubleshoot and fix any issue that you might experience with our products.

If you want to file a bug report or need technical assistance, be sure to reach our support team by sending us an email. Or consult technical documentation.[Amazon Data API User Guide] | [Scrape API User Guide]

Scroll to Top

Talk to our team

If you encounter any issues while using Pangolin products, please fill out the following information, and our team will contact you as soon as possible to ensure you have the best product experience.
This website uses cookies to ensure you get the best experience.

联系我们,您的问题,我们随时倾听

无论您在使用 Pangolin 产品的过程中遇到任何问题,或有任何需求与建议,我们都在这里为您提供支持。请填写以下信息,我们的团队将尽快与您联系,确保您获得最佳的产品体验。