POST
/
scrape
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v2/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "parserName": "amazonAlexa",
  "param": [
    "books for a long flight"
  ]
}'
{
  "code": 0,
  "message": "ok",
  "data": {
    "taskId": "example-task-id",
    "url": "",
    "json": [
      {
        "prompt": "books for a long flight",
        "status": "answered",
        "content": "Here are several popular books you may enjoy on a long flight.",
        "products": [
          {
            "title": "Recommended books",
            "items": [
              {
                "asin": "B08BKGYQXW",
                "url": "https://www.amazon.com/dp/B08BKGYQXW",
                "title": "Example book title",
                "cover": "https://m.media-amazon.com/images/example.jpg",
                "score": "4.7",
                "ratingsCount": "75,007",
                "price": "$4.99",
                "originalPrice": "",
                "describe": "A popular choice for travel reading."
              }
            ]
          }
        ],
        "follow_up_questions": [
          "Does it have an audiobook version?",
          "Compare with similar books"
        ],
        "screenshot": ""
      }
    ],
    "screenshot": ""
  }
}

积点消耗说明

每条有效回答 6 积点;拒答/失败不计费

建议客户端超时至少为 120 秒,等待期间不要重复提交。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

响应示例;业务成功须判断code=0

The response is of type object.