POST
/
scrape
/
batch
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/scrape/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "urls": [
    "https://www.amazon.com/dp/B0B41YH9B6"
  ],
  "format": "rawHtml",
  "timeout": 40000
}'
{
  "code": 0,
  "message": "ok",
  "data": [
    {
      "status_code": 200,
      "method": "GET",
      "rawHtml": [
        "<html><head>...</head><body><div class=\"content\">Example content</div></body></html>"
      ],
      "url": "https://www.amazon.com/dp/B0B41YH9B6",
      "taskId": "89b47267873c4fda99b21aeabd2fe851"
    }
  ]
}

Credit Consumption

format parameterCredits Consumption
Original page HTMLrawHtmlmarkdown1 Credit/Per Request

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

Information for API task submission

The body is of type object.

Response

200 - application/json

Successful return example

The response is of type object.