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": ""
  }
}

Credit usage

6 credits per answered turn; refused/failed turns are not charged

Allow at least 120 seconds in your client and avoid duplicate requests while waiting.

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

Example response; check code=0 for business success

The response is of type object.