🔵 POST - Create Browser Session
Create Browser Session
Create or navigate a Browserbase browser session for live website scanning visualization
POST
Public endpoint used on the marketing website to show a live browser scanning animation. Uses Browserbase API with Playwright for fast, reliable browser sessions.
This is a public endpoint - no authentication required. Used on the
searchcompany.ai landing page ranking flow.
Request Body
Website URL to navigate to. If omitted, creates a pre-warmed session without navigation.
Browserbase region for the session. Valid values:
us-west-2, us-east-1, eu-central-1, ap-southeast-1Optional custom viewport dimensions
If provided, navigates an existing session instead of creating a new one
Response
Unique identifier for the browser session
URL to embed the live browser view (iframe-compatible)
How It Works
- Pre-warm (no URL) - Creates a new Browserbase session and returns immediately
- Navigate (with URL) - Navigates an existing session to the URL in the background
- Session Reuse - Sessions are cached per client IP + viewport for 5 minutes
- First call without URL to pre-warm the session (fast)
- Second call with URL and session_id to start navigation
Usage on Landing Page
Rate Limiting
- 60 requests/minute per IP address