Scrapeless API
latest
  • latest
  • v1
Dashboard
Dashboard
latest
  • latest
  • v1
  1. Universal Scraping API
  • User
    • Get User Info
      GET
  • Scraping Browser
    • CDP API
    • Browser extensions
      • Upload extension
      • Upgrade extension
      • Delete extension
      • Extension info
      • Extension list
    • Browser profiles
      • Delete profile
      • Upgrade profile
      • Create profile
      • Profile info
      • Profile list
    • Connect
      WSS
    • Running sessions
      GET
    • Live URL
      GET
  • Scraping API
    • shopee
      • Actor List
      • Shopee Product
      • Shopee Search
      • Shopee Rcmd
    • br sites
      • Solucoes cnpjreva
      • Solucoes certidaointernet
      • Servicos receita
      • Consopt
    • amazon
      • API Parameters
      • product
      • seller
      • keywords
    • google search
      • API Parameters
      • Google Search:Advanced search parameters(tbs)
      • Google Search
      • Google Images
      • Google Local
      • Google Shopping
      • Google Videos
    • google trends
      • API Parameters
      • AutoComplete
      • Interest Over Time
      • Compared Breakdown By Region
      • Interest By Subregion
      • Related Queries
      • Related Topics
      • Trending Now
    • Scraper Request
      POST
    • Scraper GetResult
      GET
  • Universal Scraping API
    • JS Render Docs
    • JS Render
      POST
    • Web Unlocker
      POST
  • Crawler
    • Scrape
      • Scrape a single URL
      • Scrape multiple URLs
      • Cancel a batch scrape job
      • Get the status of a scrape
      • Get the status of a batch scrape job
      • Get the errors of a batch scrape job
    • Crawl
      • Crawl multiple URLs based on options
      • Cancel a crawl job
      • Get the status of a crawl job
      • Get the errors of a crawl job
  • Public
    • actor status
      GET
    • actor status
      POST
  1. Universal Scraping API

JS Render

POST
/api/v2/unlocker/request
Last modified:2025-07-25 01:40:35
JavaScript rendering enables handling of dynamically loaded content and SPAs (Single Page Applications). Enables a complete browser environment, supporting more complex page interactions and rendering requirements.

Request

Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json

Example
{
    "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"
                }
            }
        }
    }
}

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/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"
                }
            }
        }
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": 200,
    "data": ""
}
Modified at 2025-07-25 01:40:35
Previous
JS Render Docs
Next
Web Unlocker
Built with