HTTP API Quickstart
Get started with Runners as a standalone HTTP server
This guide will help you set up Runners as a standalone HTTP API server.
Installation
If you're using Playwright runners, install Playwright browsers:
Setup
Create a simple HTTP server:
Create Your First Runner
Create a runner file:
Run the Server
Using Node.js
Using Express
Using Hono
Test the API
Get Runner Info
Execute Runners
View API Documentation
Open http://localhost:3000/api/runner/docs in your browser for interactive API documentation.
API Endpoints
The handler provides:
POST /api/runner/execute- Execute runnersGET /api/runner/info- Get runner informationGET /api/runner/docs- Interactive API documentation (Scalar UI)GET /api/runner/spec.json- OpenAPI specification
Deployment
Vercel
Create api/runner.ts:
AWS Lambda
Docker
Next Steps
- Learn about Writing Runners
- Check out Deployment for production setup
- Explore API Reference for detailed API docs