Start sandbox
curl --request POST \
--url https://api.rendermate.com/v1/sandboxes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"folder": null,
"project_id": null,
"timeout": null,
"viewport": {
"height": 1,
"width": 1,
"scale": null
},
"wait": false
}
'import requests
url = "https://api.rendermate.com/v1/sandboxes"
payload = {
"folder": None,
"project_id": None,
"timeout": None,
"viewport": {
"height": 1,
"width": 1,
"scale": None
},
"wait": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
folder: null,
project_id: null,
timeout: null,
viewport: {height: 1, width: 1, scale: null},
wait: false
})
};
fetch('https://api.rendermate.com/v1/sandboxes', 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://api.rendermate.com/v1/sandboxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'folder' => null,
'project_id' => null,
'timeout' => null,
'viewport' => [
'height' => 1,
'width' => 1,
'scale' => null
],
'wait' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/sandboxes"
payload := strings.NewReader("{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rendermate.com/v1/sandboxes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/sandboxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}"
response = http.request(request)
puts response.read_body{
"cdp_url": "wss://sandboxes.us-east.rendermate.com/v1/sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/cdp?token=cdt_eyJhbGciOiJIUzI1NiJ9.eyJzYngiOiJzYnhfMDFKRjNSRDIifQ.3q2-7w",
"cdp_url_expires_at": "2026-12-03T10:25:00Z",
"created_at": "2026-12-03T10:15:00Z",
"folder": "sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/",
"id": "sbx_01JF3RD2F4H6K8M0P2R4T6V8X0",
"project_id": "prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V",
"region": "us-east",
"started_at": "2026-12-03T10:15:04Z",
"state": "ready",
"timeout": 3600,
"viewport": {
"height": 1080,
"scale": 1,
"width": 1920
}
}Sandboxes
Start sandbox
Start a sandbox: a browser on a GPU machine, for showing websites in videos. Drive it with Playwright (connectOverCDP), Puppeteer or any CDP client at its cdp_url, which it has once it’s ready. With wait, this answers once it’s ready, waiting up to 45 seconds; otherwise call get_sandbox until it is. Take screenshots with take_screenshot and record it with start_recording; their files land as assets in its folder. It stops itself after its timeout (an hour unless timeout says otherwise); stop it with stop_sandbox when you’re done. Its time is billed per second while it runs, at least a minute.
MCP tool: start_sandbox.
POST
/
v1
/
sandboxes
Start sandbox
curl --request POST \
--url https://api.rendermate.com/v1/sandboxes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"folder": null,
"project_id": null,
"timeout": null,
"viewport": {
"height": 1,
"width": 1,
"scale": null
},
"wait": false
}
'import requests
url = "https://api.rendermate.com/v1/sandboxes"
payload = {
"folder": None,
"project_id": None,
"timeout": None,
"viewport": {
"height": 1,
"width": 1,
"scale": None
},
"wait": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
folder: null,
project_id: null,
timeout: null,
viewport: {height: 1, width: 1, scale: null},
wait: false
})
};
fetch('https://api.rendermate.com/v1/sandboxes', 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://api.rendermate.com/v1/sandboxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'folder' => null,
'project_id' => null,
'timeout' => null,
'viewport' => [
'height' => 1,
'width' => 1,
'scale' => null
],
'wait' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/sandboxes"
payload := strings.NewReader("{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rendermate.com/v1/sandboxes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/sandboxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"folder\": null,\n \"project_id\": null,\n \"timeout\": null,\n \"viewport\": {\n \"height\": 1,\n \"width\": 1,\n \"scale\": null\n },\n \"wait\": false\n}"
response = http.request(request)
puts response.read_body{
"cdp_url": "wss://sandboxes.us-east.rendermate.com/v1/sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/cdp?token=cdt_eyJhbGciOiJIUzI1NiJ9.eyJzYngiOiJzYnhfMDFKRjNSRDIifQ.3q2-7w",
"cdp_url_expires_at": "2026-12-03T10:25:00Z",
"created_at": "2026-12-03T10:15:00Z",
"folder": "sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/",
"id": "sbx_01JF3RD2F4H6K8M0P2R4T6V8X0",
"project_id": "prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V",
"region": "us-east",
"started_at": "2026-12-03T10:15:04Z",
"state": "ready",
"timeout": 3600,
"viewport": {
"height": 1080,
"scale": 1,
"width": 1920
}
}Authorizations
Body
application/json
Response
Created