API Documentation

Comprehensive REST API for the Virtuoso Trading System. Access market data, monitoring metrics, and system health information.

Main API

http://localhost:8002

Monitoring API

http://localhost:8001

Quick Start

GET :8002

/health

Basic health check endpoint

curl http://localhost:8002/health
GET :8002

/api/dashboard/overview

Market overview with signals

curl http://localhost:8002/api/dashboard/overview
GET :8002

/api/vps/performance

Real-time VPS metrics

curl http://localhost:8002/api/vps/performance
GET :8001

/api/monitoring/status

Overall monitoring status

curl http://localhost:8001/api/monitoring/status

Health & System (7 endpoints)

GET :8002

/health

Basic health check returning simple status

curl http://localhost:8002/health
GET :8002

/health/live

Kubernetes liveness probe - checks if app is running

curl http://localhost:8002/health/live
GET :8002

/health/ready

Kubernetes readiness probe - checks if app can serve traffic

curl http://localhost:8002/health/ready
GET :8002

/health/dependencies

Dependency health check with latency measurements

curl http://localhost:8002/health/dependencies
GET :8002

/health/trading

Trading-specific health metrics and status

curl http://localhost:8002/health/trading
GET :8002

/health/version

Build and version information

curl http://localhost:8002/health/version
GET :8002

/api/system/status

Comprehensive system status with performance metrics

curl http://localhost:8002/api/system/status

VPS Performance (2 endpoints)

GET :8002

/api/vps/performance

Real-time VPS metrics (CPU, memory, disk, network)

curl http://localhost:8002/api/vps/performance
GET :8002

/api/vps/services

Systemd service status for all Virtuoso services

curl http://localhost:8002/api/vps/services

Dashboard (4 endpoints)

GET :8002

/api/dashboard/overview

Market overview with top signals and metrics

curl http://localhost:8002/api/dashboard/overview
GET :8002

/api/dashboard/symbols

Detailed symbol data with technical analysis

curl http://localhost:8002/api/dashboard/symbols
GET :8002

/api/dashboard/market-overview

Comprehensive market data with regime analysis

curl http://localhost:8002/api/dashboard/market-overview
GET :8002

/api/dashboard/mobile-data

Mobile-optimized dashboard data

curl http://localhost:8002/api/dashboard/mobile-data

Bitcoin Beta (3 endpoints)

GET :8002

/api/bitcoin-beta/status

Bitcoin beta analysis status and last update time

curl http://localhost:8002/api/bitcoin-beta/status
GET :8002

/api/bitcoin-beta/realtime

Real-time beta values for all symbols vs BTC

curl http://localhost:8002/api/bitcoin-beta/realtime
GET :8002

/api/bitcoin-beta/health

Bitcoin beta service health check

curl http://localhost:8002/api/bitcoin-beta/health

Monitoring API (5 endpoints - Port 8001)

GET :8001

/api/monitoring/status

Overall monitoring system status

curl http://localhost:8001/api/monitoring/status
GET :8001

/api/monitoring/metrics

Performance metrics and statistics

curl http://localhost:8001/api/monitoring/metrics
GET :8001

/api/monitoring/cache

Cache statistics and hit rates

curl http://localhost:8001/api/monitoring/cache
GET :8001

/api/monitoring/symbols

Active symbols being monitored

curl http://localhost:8001/api/monitoring/symbols
GET :8001

/api/monitoring/websocket

WebSocket connection diagnostics

curl http://localhost:8001/api/monitoring/websocket

Navigation (2 endpoints)

Copied to clipboard!