API Reference
API Reference
Keel REST API endpoints for programmatic strategy management, backtesting, and deployment.
API Reference
The Keel API lets you create strategies, run backtests, and manage deployments programmatically. Everything available in the UI is available through the API.
Base URL
https://api.usekeel.ioAuthentication
All API requests require a Bearer token. Get your API key from Settings → API Keys in the dashboard.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.usekeel.io/v1/strategiesEndpoints
Strategies
| Method | Path | Description |
|---|---|---|
GET | /v1/strategies | List all strategies |
POST | /v1/strategies | Create a new strategy |
GET | /v1/strategies/:id | Get strategy details |
PUT | /v1/strategies/:id | Update a strategy |
DELETE | /v1/strategies/:id | Delete a strategy |
Backtests
| Method | Path | Description |
|---|---|---|
POST | /v1/backtests | Run a backtest |
GET | /v1/backtests/:id | Get backtest results |
GET | /v1/backtests | List backtests |
Deployments
| Method | Path | Description |
|---|---|---|
POST | /v1/deployments | Deploy a strategy |
GET | /v1/deployments/:id | Get deployment status |
POST | /v1/deployments/:id/pause | Pause a deployment |
POST | /v1/deployments/:id/resume | Resume a deployment |
DELETE | /v1/deployments/:id | Stop a deployment |
Components
| Method | Path | Description |
|---|---|---|
GET | /v1/components | List available components |
GET | /v1/components/:type | Get component schema |
SDKs
- Python CLI & SDK —
pipx install keel-trade(CLI Reference) - MCP Server —
keel mcp serve(Agent Setup Guide)