Scrapeless API
Dashboard
Dashboard
  1. Scraping Browser
  • User
    • Get User Info
      GET
  • Scraping Browser
    • CDP API
    • Browser extensions
      • Upload extension
      • Upgrade extension
      • Delete extension
      • Extension info
      • Extension 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
      • 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
    • google flights
      • API Parameters
      • Round trip
      • One way
      • Multi-city
    • google flights chart
      • API Parameters
      • chart
    • google maps
      • API Parameters(Google Maps)
      • API Parameters(Google Maps Autocomplete)
      • API Parameters(Google Maps Contributor Reviews)
      • API Parameters(Google Maps Directions)
      • API Parameters(Google Maps Reviews)
      • Google Maps
      • Google Maps Autocomplete
      • Google Maps Contributor Reviews
      • Google Maps Directions
      • Google Maps Reviews
    • google scholar
      • API Parameters(Google Scholar)
      • API Parameters(Google Scholar Author)
      • API Parameters(Google Scholar Cite)
      • API Parameters(Google Scholar Profiles)
      • Google Scholar
      • Google Scholar Author
      • Google Scholar Cite
      • Google Scholar Profiles
    • google jobs
      • API Parameters
      • Google Jobs
    • google shopping
      • API Parameters
      • Google Shopping
    • google hotels
      • API Parameters
      • Supported Google Vacation Rentals Property Types
      • Supported Google Hotels Property Types
      • Supported Google Vacation Rentals Amenities
      • Supported Google Hotels Amenities
      • Google Hotels
    • google news
      • API Parameters
      • Google News
    • google lens
      • API Parameters
      • Google Lens
    • google finance
      • API Parameters
      • Google Finance
      • Google Finance Markets
    • google product
      • API Parameters
      • Google Product
    • google play store
      • API Parameters
      • Supported Google Play Categories
      • Google Play Games
      • Google Play Books
      • Google Play Movies
      • Google Play Product
      • Google Play Apps
    • google ads
      • API Parameters
      • Google Ads
    • Scraper Request
      POST
    • Scraper GetResult
      GET
  • Universal Scraping API
    • JS Render Docs
    • JS Render
    • Web Unlocker
  • 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
    • actor status
  1. Scraping Browser

Connect

WSS
/browser
Last modified:2025-06-25 01:13:54

Request

Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Query Params
token
string 
required
Example:
{{token}}
session_ttl
string 
required
The session_ttl parameter controls the duration of the session and automatically closes the browser instance after the session times out. The unit of session_ttl is seconds (S), with a default value of 180 seconds (i.e., 3 minutes), and can be customized between 60 seconds (1 minute) and 900 seconds (15 minutes). When the specified TTL time is reached, the session will become invalid, and Scraping Browser will close the browser instance to release resources. Please set the session_ttl reasonably according to the task requirements to ensure that the operations are completed before the session times out.
Example:
180
session_name
string 
optional
Set a name for your session to facilitate searching and viewing in the historical session list.
session_recording
boolean 
optional
Whether to enable session recording. When enabled, the entire browser session execution process will be automatically recorded, and after the session is completed, it can be replayed and viewed in the historical session list details.
Default:
false
proxy_url
string 
optional
Used to set the browser’s proxy URL, for example: http://user:pass@ip:port. If this parameter is set, all other proxy_* parameters will be ignored.
💡Custom proxy functionality is currently only available to Enterprise and Enterprise Enhanced subscription users Upgrade Now
💡Enterprise-level custom users can contact us to use custom proxies.
proxy_country
string 
optional
The proxy_country parameter is used to set the target country of the proxy, making the request sent through the IP address of that region. You can customize the proxy source by specifying a country code for proxy_country (e.g., US for the United States, GB for the United Kingdom, ANY for any country). Scraping Browser will provide the corresponding IP address based on the specified country, which helps meet regional access restrictions or geographic positioning needs.
Example:
US
extension_ids
string 
optional
setup browser extension by extension id, separate by comma for multiple extensions
fingerprint
string 
optional
Custom browser fingerprint with URL encoded JSON string format, see below for full schema
Body Params application/json
fingerprint
object 
optional
user_agent
string 
optional
Defines the User-Agent string in the browser’s HTTP request header, containing key identifying information such as the browser engine, version number, and operating system. Websites use this value to identify the client environment, affecting content adaptation and functionality. Default value: Follows the browser
platform
string 
optional
Specifies the return value of the JavaScript navigator.platform property, indicating the operating system type of the runtime environment. Optional values are “Windows”, “macOS”, or “Linux”. This parameter will be used for feature detection and the enabling judgment of system-related functions. Default value: Windows
screen
object 
optional
Defines the physical characteristics parameters of the display device reported by the browser, directly mapped to the JavaScript window.screen object.
localization
object 
optional
Example
{
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.1.2.3 Safari/537.36",
    "platform": "Windows",
    "screen": {
        "width": 1920,
        "height": 1080
    },
    "localization": {
        "based_on_ip": false,
        "timezone": "America/New_York",
        "languages": [
            "en"
        ]
    }
}

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 -g --request WSS 'https://api.scrapeless.com/browser?token=&session_ttl=180&session_name&session_recording&proxy_url&proxy_country=US&extension_ids&fingerprint=' \
--header 'Content-Type: application/json' \
--header 'x-api-token;' \
--data-raw '{
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.1.2.3 Safari/537.36",
    "platform": "Windows",
    "screen": {
        "width": 1920,
        "height": 1080
    },
    "localization": {
        "based_on_ip": false,
        "timezone": "America/New_York",
        "languages": [
            "en"
        ]
    }
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-06-25 01:13:54
Previous
Extension list
Next
Running sessions
Built with