Fetch with JavaScript rendering
curl --request GET \
--url https://scraping-api.55-tech.com/browser \
--header 'X-API-Key: <api-key>'import requests
url = "https://scraping-api.55-tech.com/browser"
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', 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",
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"
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")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scraping-api.55-tech.com/browser")
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{
"meta": {
"status": 200,
"final_url": "https://example.com/",
"http_version": "",
"elapsed_ms": 3200,
"blocked": false,
"headers": {
"content-type": "text/html; charset=utf-8"
},
"agent": {
"id": "scraping-de5"
},
"bytes": 45210
},
"raw": "<!DOCTYPE html><html>...</html>",
"raw_json": null,
"cookies": [
{
"name": "session_id",
"value": "a1b2c3...",
"domain": ".example.com",
"path": "/",
"secure": true,
"httpOnly": true,
"sameSite": "Lax",
"expires": 1735689600
}
],
"screenshot": null,
"js_result": null
}Browser
Fetch with JavaScript rendering
Fetch a URL with full JavaScript rendering. Works just like /fetch — all parameters via headers.
Use this instead of /fetch when the target requires JavaScript to load content.
If X-Expect-Selector or X-Expect-Contains is set and the page doesn’t match, the API retries on a different node.
GET
/
browser
Fetch with JavaScript rendering
curl --request GET \
--url https://scraping-api.55-tech.com/browser \
--header 'X-API-Key: <api-key>'import requests
url = "https://scraping-api.55-tech.com/browser"
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', 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",
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"
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")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scraping-api.55-tech.com/browser")
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{
"meta": {
"status": 200,
"final_url": "https://example.com/",
"http_version": "",
"elapsed_ms": 3200,
"blocked": false,
"headers": {
"content-type": "text/html; charset=utf-8"
},
"agent": {
"id": "scraping-de5"
},
"bytes": 45210
},
"raw": "<!DOCTYPE html><html>...</html>",
"raw_json": null,
"cookies": [
{
"name": "session_id",
"value": "a1b2c3...",
"domain": ".example.com",
"path": "/",
"secure": true,
"httpOnly": true,
"sameSite": "Lax",
"expires": 1735689600
}
],
"screenshot": null,
"js_result": null
}Headers
Response
Rendered page with metadata, cookies, and optional screenshot.