Scrapeless API
Dashboard
Dashboard
  1. Scraping Browser
  • User
    • Get User Info
      GET
  • Scraping Browser
    • CDP API
    • Connect
      WSS
    • Running sessions
      GET
    • Live URL
      GET
  • Scraper API
    • shopee
      • Actor List
      • Shopee Product
      • Shopee Search
      • Shopee Rcmd
    • br sites
      • Solucoes cnpjreva
      • Solucoes certidaointernet
      • Servicos receita
      • Consopt
    • avnet
      • Product detail
    • arrow
      • Product Search
    • airline
      • iberia
        • Iberia
      • expedia
        • Expedia
      • kayak
        • Kayak
    • amazon
      • API Parameters
      • product
      • seller
      • keywords
    • temu
      • Temu
    • google search
      • API Parameters
      • Google Search
      • Google Images
      • Google Local
    • 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
    • mouser
      • mouser
    • Scraper Request
      POST
    • Scraper Getresult
      GET
  • Web Unlocker
    • JS Render Docs
    • JS Render
    • Web Unlocker
    • Akamaiweb Cookie
    • Akamaiweb Sensor
  • Public
    • actor status
    • actor status
  1. Scraping Browser

Connect

WSS
/browser
Last modified:2024-11-26 06:23:10

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
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

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&proxy_country=US' \
--header 'x-api-token;'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-26 06:23:10
Previous
CDP API
Next
Running sessions
Built with