Skip to content

Delayed spot last-price for a symbol (REQ-4.2/4.6).

GET
/api/symbols/{symbol}/quote
curl --request GET \
--url https://api.tradr.cloud/api/symbols/example/quote

Returns the platform-global provider’s ~15-minute-delayed last price for symbol. With no provider key configured the response is { configured: false } (200) — defense-in-depth mirroring the frontend gate (REQ-4.2). With a key configured the response is { configured: true, symbol, lastPrice, change, delayed }. Independent of the symbols table (REQ-4.6). Per-user rate limited to 30 lookups per 60 s. Provider failures surface as coded statuses — 404 unknown symbol, 503 temporarily unavailable / rate-limited, 502 misconfigured — never a generic 500 (REQ-4.3). Requires an authenticated session.

symbol
required
string
/^[A-Z.-]{1,16}$/

{ configured: false } or { configured: true, symbol, lastPrice, change, delayed }.

Symbol out of charset or longer than 16 chars (VALIDATION_ERROR).

No authenticated session (UNAUTHORIZED).

Unknown symbol (NOT_FOUND).

Per-user quote rate limit reached (30 / 60 s).

Quote provider rejected the key (QUOTE_PROVIDER_MISCONFIGURED).

Quote provider unavailable or rate-limited (QUOTE_PROVIDER_UNAVAILABLE).