Scrape API User Guide
Table of Contents
Last updated: April 25, 2025
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
Brief Description
Obtain token
Request URL
https://extapi.pangolinfo.com/api/v1/refreshToken
Request Method
POST
Request Headers
Content-Type: application/json
Request Parameters (Body)
Parameter Name | Required | Type | Description |
Yes | string | Registered email | |
password | Yes | string | Password |
Request 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 by obtaining the Token will be used as credentials for accessing the API.
This token is valid for a long time. If you need to modify it, simply refresh it again.
Brief Description
Submit task interface
Request URL
https://extapi.pangolinfo.com/api/v1
Request Method
POST
Request Headers
Content-Type: application/json
Authorization: Bearer xxxx
Request Parameters (Body)
| Parameter Name | Required | Type | Description – |
| url | Yes | string | Target webpage URL
Input Example
curl -X POST https://extapi.pangolinfo.com/api/v1 \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer xxxx' \
-d '{
"url": "https://www.amazon.com/dp/B0DYTF8L2W",
"callbackUrl": "xxxx",
"bizKey": "amzProduct",
"zipcode": "10041"
}'
Note: The request header ‘Authorization: Bearer xxxx’ is the “data” returned by the refresh Token interface.
Response Example
{
"code": 0,
"subCode": null,
"message": "ok",
"data": {
"data": "e7da6144bed54df7a2891e98fdc8d517",
"bizMsg": "ok",
"bizCode": 0
}
}
Brief Description
- Submit task interface (Synchronous interface)
Request URL
- https://extapi.pangolinfo.com/api/v2
Request Method
- POST
Request Headers
- Content-Type: application/json
- Authorization: Bearer xxxx
Request Parameters (Body)
Parameter Name | Required | Type | Description |
---|---|---|---|
url | Yes | string | Target webpage URL |
bizKey | Yes | string | Select one based on business requirements: amzProductOfCategory: Get product list by category amzProductOfSeller: Get product list by seller amzProductDetail: Get product details amzKeyword: Get product list by keyword amzBestSellers: Best Sellers list amzNewReleases: New Releases list |
zipcode | Yes | string | Amazon zip code information |
Request Example
curl -X POST https://extapi.pangolinfo.com/api/v2 \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer xxxx' \
-d '{
"url": "https://www.amazon.com/dp/B0DYTF8L2W",
"bizKey": "amzProductDetail",
"zipcode": "10041"
}'
Note: The request header ‘Authorization: Bearer xxxx’ corresponds to the “data” returned by the Get Token interface.
Response Example
{
"code": 0,
"subCode": null,
"message": "ok",
"data": {
"taskId": "239b1e398c1f472180e4e016568d014f",
"xhrs": [],
"documents": [],
"imgs": []
}
}
Supported Countries and Zip Codes
Country | Supported Zip Codes |
---|---|
USA | “10041”, “90001”, “60601”, “84104” |
UK | “W1S 3AS”, “EH15 1LR”, “M13 9PL”, “M2 5BQ” |
France | “75000”, “69001”, “06000”, “13000” |
Germany | “80331”, “10115”, “20095”, “60306” |