Create a browser session
curl --request POST \
--url https://api.floppydata.net/v2/browser/sessions \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{}'import requests
url = "https://api.floppydata.net/v2/browser/sessions"
payload = {}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.floppydata.net/v2/browser/sessions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "58e531ee-16ca-49d0-8722-b425d154cc10",
"status": "running",
"connectUrl": "wss://api.floppydata.net/v2/browser/sessions/58e531ee-16ca-49d0-8722-b425d154cc10/connect?token=SIGNED_TOKEN",
"settings": {
"id": "f742823c-7ba6-4488-a72d-6e9c5447eacb"
},
"runtime": {
"timeoutSeconds": 1800,
"keepAlive": true
},
"metadata": {
"taskId": "checkout-42"
},
"createdAt": "2026-07-10T12:00:00Z",
"startedAt": "2026-07-10T12:00:01Z",
"expiresAt": "2026-07-10T12:30:00Z",
"endedAt": null
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}Cloud Browser
Create a Session
Creates and starts a browser. The smallest request is . Connect with the returned WebSocket URL, then navigate with Playwright or Puppeteer. Reuse settings.id to restore the saved identity and browser state.
POST
https://api.floppydata.net
/
v2
/
browser
/
sessions
Create a browser session
curl --request POST \
--url https://api.floppydata.net/v2/browser/sessions \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{}'import requests
url = "https://api.floppydata.net/v2/browser/sessions"
payload = {}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.floppydata.net/v2/browser/sessions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "58e531ee-16ca-49d0-8722-b425d154cc10",
"status": "running",
"connectUrl": "wss://api.floppydata.net/v2/browser/sessions/58e531ee-16ca-49d0-8722-b425d154cc10/connect?token=SIGNED_TOKEN",
"settings": {
"id": "f742823c-7ba6-4488-a72d-6e9c5447eacb"
},
"runtime": {
"timeoutSeconds": 1800,
"keepAlive": true
},
"metadata": {
"taskId": "checkout-42"
},
"createdAt": "2026-07-10T12:00:00Z",
"startedAt": "2026-07-10T12:00:01Z",
"expiresAt": "2026-07-10T12:30:00Z",
"endedAt": null
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}The smallest request is
{}. The response includes a signed connectUrl and an opaque settings.id; connect first, then navigate with Playwright or Puppeteer. The API does not accept startUrl.Follow the Cloud Browser guide
Create, connect, navigate, reuse settings, and stop a browser safely.
Authorizations
Client API key for the authenticated account.
Body
application/json
Session-first browser request. Every field is optional; connect and navigate after creation.
Response
Browser session started.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
running, stopped, timedOut, failed Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?