API Reference
The tv_controller exposes 186 REST endpoints for TradingView automation. Browse the full interactive reference below — every endpoint, request/response schema, and parameter is documented.
Open Interactive API Reference
Endpoint Overview
| Feature Area | Endpoints | Description |
|---|---|---|
| Charts | 28 | Tab listing, active chart, symbol, resolution, chart type |
| Watchlists | 15 | CRUD, symbol management, colored lists |
| Drawings | 20 | Lines, shapes, text, tweets, z-order, visibility |
| Studies & Indicators | 16 | Add/remove/configure studies, search, favorites, templates |
| Layouts | 19 | Save, rename, clone, delete, grid templates, multi-pane |
| Pine Editor | 21 | Toggle, source read/write, save, add to chart, console |
| Replay | 14 | Activate, step, autoplay, date navigation |
| Alerts | 14 | CRUD, start/stop, fires, clone |
| Notes | 6 | CRUD notes on symbols, attach chart snapshots |
| Misc | 29 | Health, strategy, snapshots, currency, units, hotlists |
Base URL
When running locally, the default base URL is:
All endpoints are prefixed with /api/v1/ except for /health and /docs.