POST
/
scrape
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.amazon.com/dp/B0B4NLGCH5",
  "parserName": "amzProductDetail",
  "site": "amz_us",
  "content": "<string>",
  "pageCount": 1,
  "categoryId": "<string>",
  "format": "json",
  "bizContext": {
    "zipcode": "10041"
  }
}'
{
  "code": 9204,
  "message": "ASIN not found on this marketplace: B08HSS37H7",
  "pointCost": 1,
  "data": {
    "url": "https://www.amazon.de/dp/B08HSS37H7",
    "taskId": "example-task-id",
    "json": []
  }
}

积点消耗说明

format参数消耗积点数
获取解析后的字段json1个/次
获取源文件rawHtml、markdown0.75个/次

商品详情 ASIN 不存在

同步商品详情接口 POST /api/v1/scrape、parserName=amzProductDetail:当下游明确确认 ASIN 在当前站点不存在时,返回 9204,英文消息为 ASIN not found on this marketplace: B08HSS37H7(包含请求 ASIN)。按当前格式正常计费,以 pointCost 为准(JSON 通常 1 积点)。不要自动重试相同站点和 ASIN,请核对国家站点与商品编号;该 ASIN 可能在其他国家站点有效。网络失败或未获取内容仍按 9200 不扣费处理。本说明针对同步详情接口。

{
  "code": 9204,
  "message": "ASIN not found on this marketplace: B08HSS37H7",
  "pointCost": 1,
  "data": {
    "url": "https://www.amazon.de/dp/B08HSS37H7",
    "taskId": "example-task-id",
    "json": []
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

用于接口任务提交的信息

The body is of type object.

Response

200 - application/json

成功返回示例

The response is of type object.