Keel Docs
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.

For most users, the CLI is the preferred surface. It wraps every endpoint, handles auth + refresh transparently, and includes the stdio MCP command for AI agents. This page is for users integrating Keel directly into their own services or scripts that need fine-grained REST control.

Base URL

https://api.usekeel.io

Authentication

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/strategies

Endpoints

All paths below are relative to https://api.usekeel.io. They are shown with the full origin to keep search engines from crawling them as same-host URLs on usekeel.io.

Strategies

MethodEndpointDescription
GETapi.usekeel.io/v1/strategiesList all strategies
POSTapi.usekeel.io/v1/strategiesCreate a new strategy
GETapi.usekeel.io/v1/strategies/{id}Get strategy details
PUTapi.usekeel.io/v1/strategies/{id}Update a strategy
DELETEapi.usekeel.io/v1/strategies/{id}Delete a strategy

Backtests

MethodEndpointDescription
POSTapi.usekeel.io/v1/backtestsRun a backtest
GETapi.usekeel.io/v1/backtests/{id}Get backtest results
GETapi.usekeel.io/v1/backtestsList backtests

Deployments

MethodEndpointDescription
POSTapi.usekeel.io/v1/deploymentsDeploy a strategy
GETapi.usekeel.io/v1/deployments/{id}Get deployment status
POSTapi.usekeel.io/v1/deployments/{id}/pausePause a deployment
POSTapi.usekeel.io/v1/deployments/{id}/resumeResume a deployment
DELETEapi.usekeel.io/v1/deployments/{id}Stop a deployment

Components

MethodEndpointDescription
GETapi.usekeel.io/v1/componentsList available components
GETapi.usekeel.io/v1/components/{type}Get component schema

SDKs