- User
- Scraping Browser
- Scraping API
- shopee
- br sites
- amazon
- google search
- google trends
- google flights
- google flights chart
- google maps
- google scholar
- google jobs
- google shopping
- google hotels
- google news
- google lens
- google finance
- google product
- google play store
- google ads
- Scraper RequestPOST
- Scraper GetResultGET
- Universal Scraping API
- Crawler
- Public
JS Render
POST
/api/v1/unlocker/request
Last modified:2025-06-10 03:09:41
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json
actor
string
required
unlocker.webunlocker
proxy
object
optional
country
string
required
input
object
required
url
string
required
headless
boolean
optional
true
or false
Default:
false
js_render
boolean
optional
js_instructions
array [object {6}]
optional
block
object
optional
js_wait_until
enum<string>
optional
Allowed values:
loaddomcontentloadednetworkidle0networkidle2
Default:
domcontentloaded
outputs
enum<string>
optional
Allowed values:
phone_numbersheadingsimagesaudiosvideoslinksmenushashtagsemailsmetadatatablesfavicon
response_type
enum<string>
optional
Allowed values:
htmlplaintextmarkdownpngjpeg
Default:
html
response_image_full_page
boolean
optional
true
, takes a image of the full page. only work when response_type
equals to png
or jpeg
Default:
false
selector
string
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": [
"stylesheet",
"image",
"media",
"font",
"script",
"texttrack",
"xhr",
"fetch",
"eventsource",
"websocket",
"manifest",
"other"
]
}
}
}
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' \
--header 'x-api-token;' \
--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": [
"stylesheet",
"image",
"media",
"font",
"script",
"texttrack",
"xhr",
"fetch",
"eventsource",
"websocket",
"manifest",
"other"
]
}
}
}'
Responses
🟢200Success
application/json
Body
code
integer
required
data
string
required
Example
{
"code": 200,
"data": ""
}
Modified at 2025-06-10 03:09:41