x-api-token: ********************
{
"actor": "unlocker.webunlocker",
"proxy": {
"country": "string",
"url": "string"
},
"input": {
"url": "string",
"jsRender": {
"enabled": true,
"headless": true,
"waitUntil": "load",
"instructions": [
{
"wait": 0,
"waitFor": {
"0": "string",
"1": 0
},
"click": [
{
"0": "string",
"1": 0
}
],
"fill": {
"0": "string",
"1": "string"
},
"keyboard": {
"0": "string",
"1": "string",
"2": 0
},
"evaluate": "string"
}
],
"block": {
"resources": [
"string"
],
"urls": [
"string"
]
},
"response": {
"type": "html",
"options": {
"selector": "string",
"fullPage": false,
"urls": [
"string"
],
"status": [
"string"
],
"methods": [
"string"
],
"outputs": "phone_numbers"
}
}
}
}
}
curl --location --request POST 'https://api.scrapeless.com/api/v2/unlocker/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token;' \
--data-raw '{
"actor": "unlocker.webunlocker",
"proxy": {
"country": "string",
"url": "string"
},
"input": {
"url": "string",
"jsRender": {
"enabled": true,
"headless": true,
"waitUntil": "load",
"instructions": [
{
"wait": 0,
"waitFor": {
"0": "string",
"1": 0
},
"click": [
{
"0": "string",
"1": 0
}
],
"fill": {
"0": "string",
"1": "string"
},
"keyboard": {
"0": "string",
"1": "string",
"2": 0
},
"evaluate": "string"
}
],
"block": {
"resources": [
"string"
],
"urls": [
"string"
]
},
"response": {
"type": "html",
"options": {
"selector": "string",
"fullPage": false,
"urls": [
"string"
],
"status": [
"string"
],
"methods": [
"string"
],
"outputs": "phone_numbers"
}
}
}
}
}'
{
"code": 200,
"data": ""
}