API Documentation
MetaDock provides four ways to automate browsers: REST API, WebSocket API, Selenium WebDriver (W3C), and MCP integration. Unlike headless tools, MetaDock shows all browsers in a visual grid — watch your automation execute in real-time.
Getting Started
Authentication, base URLs, and response formats. Everything you need to start using the MetaDock API.
IntroductionAuthenticationBase URLsResponse Formats
REST API
108 endpointsHTTP endpoints for complete browser control. Create browsers, navigate, interact with pages, and more.
Browser CreationNavigationJavaScript ExecutionPage InteractionScreenshotsCookiesDevice EmulationBatch Operations
WebSocket API
Real-time eventsReal-time bidirectional communication. Subscribe to browser events and control browsers with low latency.
ConnectionAuthenticationBrowser ActionsLayout ActionsSubscriptionsEvents
Selenium WebDriver
W3C compatibleW3C WebDriver protocol support. Use your existing Selenium scripts with minimal changes.
OverviewSessionsNavigationElementsScriptsCookiesScreenshots
108
REST Endpoints
25+
WebSocket Actions
W3C
WebDriver Protocol
MCP
AI Integration
Quick Start
- Open MetaDock and go to Settings → API to get your API key
- The API runs locally at
http://127.0.0.1:8080 - Authenticate using Bearer token:
Authorization: Bearer YOUR_KEY - Start with the Getting Started guide