- User
- Scraping Browser
- Scraper API
- shopee
- br sites
- avnet
- arrow
- airline
- amazon
- temu
- google trends
- google flights
- google search
- google maps
- google scholar
- google jobs
- google shopping
- google hotels
- google news
- google lens
- google finance
- google product
- google play store
- google ads
- mouser
- Scraper RequestPOST
- Scraper GetresultGET
- Web Unlocker
- Public
JS Render
Developing
POST
/api/v1/unlocker/request
Last modified:2025-01-13 09:28:28
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json
actor
string
required
proxy
object
optional
country
string
required
input
object
required
url
string
required
headless
boolean
optional
js_render
boolean
optional
js_instructions
array [object {6}]
optional
block
object
optional
Example
{
"actor": "unlocker.webunlocker",
"proxy": {
"country": "US"
},
"input": {
"url": "https://www.scrapeless.com",
"headless": false,
"js_render": true,
"js_instructions": [
{
"wait": 10000
},
{
"wait_for": [
".dynamic-content",
30000
]
},
{
"click": [
"#load-more",
1000
]
},
{
"fill": [
"#search-input",
"search term"
]
},
{
"keyboard": [
"press",
"Enter"
]
},
{
"evaluate": "window.scrollTo(0, document.body.scrollHeight)"
}
],
"block": {
"resources": [
"image",
"font",
"script"
]
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.scrapeless.com/api/v1/unlocker/request' \
--header 'Content-Type: application/json' \
--data-raw '{
"actor": "unlocker.webunlocker",
"proxy": {
"country": "US"
},
"input": {
"url": "https://www.scrapeless.com",
"headless": false,
"js_render": true,
"js_instructions": [
{
"wait": 10000
},
{
"wait_for": [
".dynamic-content",
30000
]
},
{
"click": [
"#load-more",
1000
]
},
{
"fill": [
"#search-input",
"search term"
]
},
{
"keyboard": [
"press",
"Enter"
]
},
{
"evaluate": "window.scrollTo(0, document.body.scrollHeight)"
}
],
"block": {
"resources": [
"image",
"font",
"script"
]
}
}
}'
Responses
🟢200Success
text/html
Body
object {0}
Modified at 2025-01-13 09:28:28