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.

MethodPathReturns
GET/api/v1/candlesOHLCV bars for one symbol and interval. `limit` keeps the newest N bars.
GET/api/v1/quoteLast price, change and percent for one symbol, or up to 25 comma-separated symbols.
GET/api/v1/indicatorsOne study over the same bars: sma, ema, rsi, macd, bollinger, atr, adx, obv or vwap.
GET/api/v1/meThe 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

Premium3,000 requests / hour
Pro600 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

CodeStatusMeaning
invalid_key401No key, or not a key we issued.
revoked_key401The key was revoked from the profile page.
expired_key401The key passed its expiry date.
plan_required403The account’s plan does not include API access.
rate_limited429The hourly quota is spent. `Retry-After` says when to come back.
invalid_symbol400Missing or malformed symbol.
invalid_param400An unknown indicator, or a value outside its range.
not_found404No data for that symbol and interval.
upstream_error5xxThe 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.

Go to profile