Submit

Parse map search results or business listings

Request URL

POST https://scrapeapi.pangolinfo.com/api/v3/extract/search/maps

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Request Parameters

ParametersRequiredTypeDescription
qYesstringSearch keyword
edgeIdNostringSpecify node device ID
hlNostringInterface language
isGetHealthEdgeNobooleanWhether to automatically select healthy nodes
llNostringLocation parameters: latitude, longitude, zoom
numNointItems per page
startNointPage start
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/extract/search/maps \
  --request POST \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "restaurants near San Francisco",
  "ll": "37.7822392,-122.4642121,13z",
  "hl": "en",
  "start": 0,
  "num": 50,
  "timeout": 25000,
  "edgeId": "",
  "isGetHealthEdge": false
}'

Return example

{
  "data": {
    "url": "string",
    "taskId": "string",
    "status": 1,
    "data": {
      "organicResults": [
        {"place_id": "0x808f7e3c8b5b7e93:0x7e267bfa507a2912","name": "Lazy Bear","about": null,"rating": 4.8,"number_of_reviews": 1122,"borough": "Mission District","street_addr": "3416 19th St","street_addr_supplement": null,"city": "San Francisco","postal_code": "94110","...": "[Additional Properties Truncated]"}
      ]
    },
    "html": "string",
    "errorMessage": "string"
  }
}

Credit Consumption

1.5 Credits/Per Request