curl --request GET \
--url https://scraping-api.55-tech.com/browser/stream \
--header 'X-API-Key: <api-key>'import requests
url = "https://scraping-api.55-tech.com/browser/stream"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://scraping-api.55-tech.com/browser/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scraping-api.55-tech.com/browser/stream",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scraping-api.55-tech.com/browser/stream"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scraping-api.55-tech.com/browser/stream")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scraping-api.55-tech.com/browser/stream")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body"event: connected\ndata: {\"type\":\"connected\",\"url\":\"https://example.com\",\"agent_id\":\"scraping-us5\"}\n\nevent: ws_message\ndata: {\"type\":\"ws_message\",\"data\":\"{\\\"price\\\":1.95}\",\"ws_id\":\"1234\"}\n\n"Live browser session with event streaming (SSE)
Open a browser, navigate to the target URL, and stream back events in real-time via Server-Sent Events. Only captures XHR/Fetch API responses and WebSocket frames — HTML documents and scripts are filtered out. No resources are blocked by default so pages load fully. Default wait strategy is networkidle. All data is gzip-compressed.
The session runs until the client disconnects (24h safety cap). Set X-Timeout to limit the duration.
curl --request GET \
--url https://scraping-api.55-tech.com/browser/stream \
--header 'X-API-Key: <api-key>'import requests
url = "https://scraping-api.55-tech.com/browser/stream"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://scraping-api.55-tech.com/browser/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scraping-api.55-tech.com/browser/stream",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scraping-api.55-tech.com/browser/stream"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scraping-api.55-tech.com/browser/stream")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scraping-api.55-tech.com/browser/stream")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body"event: connected\ndata: {\"type\":\"connected\",\"url\":\"https://example.com\",\"agent_id\":\"scraping-us5\"}\n\nevent: ws_message\ndata: {\"type\":\"ws_message\",\"data\":\"{\\\"price\\\":1.95}\",\"ws_id\":\"1234\"}\n\n"Authorizations
API key passed in the X-API-Key header.
Headers
Target URL (no encoding needed). Recommended for URLs with query parameters.
Comma-separated event types to stream: network, ws, dom, console.
CSS selector to watch for DOM mutations (requires dom in X-Capture).
Regex filter for network URLs. Only matching responses are streamed.
Regex filter for WebSocket URLs. Only matching connections are streamed.
JavaScript to execute after page load (e.g. click a button, trigger navigation).
JSON array of sequential browser actions (navigate, click, type, wait, etc.). Executes after page load, before streaming starts. Step results arrive as step_ok/step_error SSE events.
When the page is ready before streaming starts: load, networkidle, or selector.
CSS selector to wait for (with X-Wait-Strategy: selector).
Route through a proxy (http:// or socks5://).
Comma-separated resource types to block: image, font, stylesheet, media. No default blocking — pages load fully.
Cookies to inject (name=value; name2=value2).
Cookies as JSON array for full control.
Target countries as comma-separated ISO codes (e.g. US,DE,AT). Aliases: X-Geo-CC, X-CC, X-Country, X-Geo-Strict.
Route through specific agent(s) by slug (e.g. de1) or comma-separated list for random pick (e.g. de1,at5,us3).
Override request timeout in seconds (default: 30).
Response
SSE event stream. Events: connected, network, ws_open, ws_message, ws_close, dom, console, error, done.
The response is of type string.