Front matter · API reference
The exchange,
programmatically.
Every tick, close, sentiment score and sector aggregate on the Ghana Stock Exchange wire — available over HTTPS as JSON, under the path /v1. Quote, analyse, and alert by machine.
Base URL
https://your-host/v1
All endpoints share this root.
Authentication
Bearer ges_live_…
Issued from Terminal → Account → API keys.
Rate budget
60 rpm / IP
LLM endpoints: 10 rpm per user.
Appendix
Errors & status codes.
Every error response is JSON with a single error field. The HTTP status is authoritative.
400Bad Request
Missing or malformed parameter, NaN threshold, unknown metric.
401Unauthorized
Missing or invalid bearer token or session cookie.
403Forbidden
Authenticated but not Pro/Admin on a Pro-only endpoint, or no verified email for alerts.
409Conflict
Email already claimed; OAuth-managed email change attempt; alert rule limit exceeded.
429Too Many Requests
Per-IP or per-user rate budget exhausted. Back off exponentially.
500Internal
Upstream or database failure. The request ID is logged; retry with backoff.