Browserbase is a developer platform to reliably run, manage, and monitor headless browsers. Power your AI data retrievals with:Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
- Serverless Infrastructure providing reliable browsers to extract data from complex UIs
- Stealth Mode with included fingerprinting tactics and automatic captcha solving
- Session Debugger to inspect your Browser Session with networks timeline and logs
- Live Debug to quickly debug your automation
Installation and setup
- Get an API key and Project ID from browserbase.com and set it in environment variables (
BROWSERBASE_API_KEY,BROWSERBASE_PROJECT_ID). - Install the Browserbase SDK:
Load documents
Load webpages into LangChain withBrowserbaseLoader. The loader reads
BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID from the environment
when the arguments are omitted. Set text_content=True to return text-only
content instead of full HTML.
Loader options
urlsRequired. A list of URLs to fetch.text_contentRetrieve only text content. Default isFalse.api_keyBrowserbase API key. Default isBROWSERBASE_API_KEYenv variable.project_idBrowserbase Project ID. Default isBROWSERBASE_PROJECT_IDenv variable.session_idOptional. Provide an existing Session ID.proxyOptional. Enable/Disable Proxies.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

