cdpfleet Docs Sign up free

Functions

Live tab

One remote browser tab you — or anyone you send the link to — can see and control in a web browser: log in by hand, solve your own CAPTCHA, show a page from another country, then let your code carry on. POST https://cdpfleet.com/v1/functions/livetab → application/json.

curl -s https://cdpfleet.com/v1/functions/livetab \
  -H "x-api-key: $CDPFLEET_API_KEY" -H "content-type: application/json" \
  -d '{"url":"https://example.com/","country":"de","max_duration":900}' -o livetab.json -D - | grep -i '^x-call-id'

Fields

FieldTypeDefaultWhat it does
urlstringrequiredThe page to load. A public http or https address: private, loopback, link-local, CGNAT and cloud-metadata addresses, localhost, .local/.internal names and names that resolve to them are refused (400 invalid_url).
countrystring"random"Two-letter country for the exit IP and for the page's locale, timezone, geolocation and Accept-Language (see countries); "random" picks one. Unknown codes: 400 invalid_country.
max_waitnumber20Seconds to wait for the page to load, 1–60 (400 invalid_option otherwise). The whole call returns within about max_wait + 5 s, so a client timeout of max_wait + 10 s is safe. A page that is still loading then comes back partial (below); one that never started: 408 page_timeout.
proxystring or string[]the Community proxyOmit it to use the free Community proxy in country. Or: your own proxy URL (http://, https://, socks5://), a list (one is picked per call), a cdpfleet-plan… token, or a residential cdpfleet-resi… token (tier, country, device OS, sticky session) billed per GB to your residential balance (proxies). proxy_rules isn't supported yet (400 invalid_option).
max_durationnumber600Seconds the tab stays open at most (your plan's session limit caps it; Community 15 minutes).
idle_timeoutnumber120Seconds without anyone viewing before it closes (the first viewer has 5 minutes to open the link).
viewportobject{"width": 1280, "height": 800}The tab's size.

Good to know

Billing, errors and countries: Functions.