Delayed spot last-price for a symbol (REQ-4.2/4.6).
const url = 'https://api.tradr.cloud/api/symbols/example/quote';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/symbols/example/quoteReturns 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”{ 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).