REST API v1
The terminal, without the tab.
Read the same candles, quotes and indicators the chart draws — from a bot, a spreadsheet, or your own dashboard. One key, a plain HTTPS request, JSON back.
Keys live on your profile
Create, name and revoke keys yourself. The secret is shown once; only its hash is stored.
A quota, not a surprise
Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers.
The chart’s own maths
Indicators call the same functions the chart does, so a reading never disagrees with the pane.
Authentication
Two headers, one key.
API access is included with Pro and Premium. Copy a key from the profile page and put it on every request; there is no token exchange step.
x-api-key
curl -H "x-api-key: rvx_..." \ "https://rovexjo.com/api/v1/me"
Authorization
curl -H "Authorization: Bearer rvx_..." \ "https://rovexjo.com/api/v1/me"
Endpoints
Four calls, one shape.
| Method | Path | Returns |
|---|---|---|
| GET | /api/v1/candles | OHLCV bars for one symbol and interval. `limit` keeps the newest N bars. |
| GET | /api/v1/quote | Last price, change and percent for one symbol, or up to 25 comma-separated symbols. |
| GET | /api/v1/indicators | One study over the same bars: sma, ema, rsi, macd, bollinger, atr, adx, obv or vwap. |
| GET | /api/v1/me | The account, plan and remaining hourly quota. Costs nothing. |
Examples
Candles, then an indicator.
curl
curl -H "x-api-key: $ROVEX_KEY" \ "https://rovexjo.com/api/v1/candles?symbol=2222.SR&interval=1d&limit=3"
JavaScript
const res = await fetch(
"https://rovexjo.com/api/v1/indicators?symbol=AAPL&indicator=rsi",
{ headers: { "x-api-key": process.env.ROVEX_KEY } },
);
const { points } = await res.json();Python
import os, requests
r = requests.get(
"https://rovexjo.com/api/v1/quote",
params={"symbols": "AAPL,2222.SR"},
headers={"x-api-key": os.environ["ROVEX_KEY"]},
timeout=10,
)
r.raise_for_status()
print(r.json()["quotes"])Candle shape
{
"symbol": "2222.SR",
"interval": "1d",
"currency": "SAR",
"candles": [
{ "t": 1762387200, "o": 28.4, "h": 28.9,
"l": 28.2, "c": 28.7, "v": 5123400 }
]
}Limits
| Premium | 3,000 requests / hour |
| Pro | 600 requests / hour |
| Free (granted by exception) | 60 requests / hour |
The window is fixed and hourly. A quote for several symbols costs one unit per symbol.
Errors
| Code | Status | Meaning |
|---|---|---|
| invalid_key | 401 | No key, or not a key we issued. |
| revoked_key | 401 | The key was revoked from the profile page. |
| expired_key | 401 | The key passed its expiry date. |
| plan_required | 403 | The account’s plan does not include API access. |
| rate_limited | 429 | The hourly quota is spent. `Retry-After` says when to come back. |
| invalid_symbol | 400 | Missing or malformed symbol. |
| invalid_param | 400 | An unknown indicator, or a value outside its range. |
| not_found | 404 | No data for that symbol and interval. |
| upstream_error | 5xx | The data provider failed, or the series is too short for the study. |
Every failure is { "error": { "code", "message" } }.
Ready to script it?
Create a key from your profile. It takes one click and is shown once.