Create a browser live view
curl --request POST \
--url https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"liveViewUrl": "<string>"
}{
"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 Live View
Returns a fresh live-view URL. It is rejected while a CDP relay is connected.
POST
https://api.floppydata.net
/
v2
/
browser
/
sessions
/
{sessionId}
/
live-view
Create a browser live view
curl --request POST \
--url https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/browser/sessions/{sessionId}/live-view', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"liveViewUrl": "<string>"
}{
"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
}
}
}Close the active Playwright or Puppeteer connection before requesting a live view. Treat the returned
liveViewUrl as a temporary secret and do not log or share it.Authorizations
Client API key for the authenticated account.
Path Parameters
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)$Response
Fresh live-view URL.
Was this page helpful?
⌘I