TickQuote logoTickQuoteDocs

Docs search

Search the current language documentation index.

Docs/REST API·G1

Operational guidance for a predictable REST rollout.

Use REST as the bootstrap layer for quotes, reference data, and operational checks. Keep request envelopes stable, surface business failures explicitly, and promote symbols in controlled batches.

Audience
Developers
Pattern
Request / response
Rollout
Incremental

Model requests around predictable symbol sets

Keep each request aligned to the product surface you are rendering. Small, explicit symbol lists make latency and failure handling much easier to reason about than oversized catch-all queries.

Batch reads without hiding partial failures

If you aggregate multiple instruments in one request, keep transport success and business success separate. A 200 response should still let the client surface any symbol-level rejection or stale quote state.

fetchQuotes.ts
Batch safely
const response = await fetch("/api/v1/market/quotes/latest?tickers=EURUSD,GBPUSD")
const payload = await response.json()

if (!response.ok) throw new Error("transport failure")
if (payload.code !== 0) throw new Error(payload.message)

return payload.data.items

Promote markets in controlled slices

Start with one or two markets in production, verify auth errors, stale data handling, and request ceilings, then expand the enabled symbol universe. The docs tree is organized to support that staged rollout model.

Next

Finish the rollout checklist.

Lock scopes, request signing, and token rotation before promoting higher-throughput clients.

Review authentication