Submit

Create SERP tasks in batch

Request URL

POST https://scrapeapi.pangolinfo.com/api/v3/extractTask/batch/search

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Request Parameters

ParametersRequiredTypeDescription
urlsYesstringTarget webpage URL list
callbackYesstringTask callback URL
edgeIdNostringSpecify node device ID
isGetHealthEdgeNobooleanWhether to automatically select healthy nodes
paramsNoobjectExtra query or business parameters to append to the URL
queryNostringSearch keyword
timeoutNointTask timeout

Response value

Return valueTypeDescription
statusintTask status: -1 = Failed, 1 = In Progress, 2 = Successful
taskIdstringTask ID
urlstringTask source URL
dataobjectParsed or collected results
errorMessagestringError message
htmlstringOriginal HTML content encoded in Base64

Request example

curl https://scrapeapi.pangolinfo.com/api/v3/extractTask/batch/search \
  --request POST \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "edgeId": "",
  "timeout": 25000,
  "callback": "",
  "params": {
    "propertyName*": ""
  },
  "isGetHealthEdge": false,
  "urls": [
    ""
  ],
  "query": ""
}'

Return example

{
  "data": {
    "url": "string",
    "taskId": "string",
    "status": 1,
    "data": { "items": { "items": [ { "type": "organic", "items": [  {"text": "Amazon Web Services (AWS)","type": "organic","title": "What is Java? - Java Programming Language Explained","url": "https://aws.amazon.com/what-is/java/"},{  "text": "Carnegie Mellon University",  "type": "organic",  "title": "How Java Works",  "url": "https://www.cs.cmu.edu/~jcarroll/15-100-s04/supps/basics/hist.html"},{  "text": "People also ask...Feedback",  "type": "organic",  "title": ""}]},{  "type": "related_searches",  "items": [    "What is Java programming used for",    "How JVM works",    "What is Java Oracle",    "What is Java syntax"  ]}]}},
    "html": "string",
    "errorMessage": "string"
  }
}

Credit Consumption

0.5 Credit/Per Request