Authentication
Every request needs an API key. Keep secrets out of public front-end repos.
- Header: X-API-Key: YOUR_API_KEY
- Create multiple keys per environment and rotate anytime
- Invalid or rate-limited keys return 401 / 429
curl https://api.tiqex.io/api/v1/market/crypto/quote?symbols=BTCUSDT \
-H "X-API-Key: YOUR_API_KEY"
Read full topic: Authentication & API Keys
REST API
Snapshot quotes, candles, market metadata, and financial news for on-demand pulls.
- Consistent JSON response shape
- Filter by symbol, interval, or news category
- Pagination and rate-limit headers
WebSocket streams
Millisecond delivery for terminals, dashboards, and strategy runtimes.
- Send a subscribe JSON with market and symbols
- Heartbeat and reconnect guidance
- Batch multi-symbol subscriptions
wss://api.tiqex.io/api/v1/market/stream
{ "action": "subscribe", "market": "crypto", "symbols": ["BTCUSDT"] }
Market coverage
US stocks, A-shares, Hong Kong, FX, crypto, futures, indices, and commodities through one API.
- US / A-share / HK quotes and candles
- Forex, indices, and continuous futures
- Crypto plus metals / energy / agriculture
- REST snapshots + WebSocket live streams
Read full topic: Market Coverage & Hours
Error handling
Standard error bodies for logging and alerting hooks.
- JSON: succ / msg / code; trace via X-Request-Id header
- 4xx client issues, 429 quota/rate limits, 5xx upstream/server
- Honor Retry-After on 429 responses
Read full topic: Errors & Rate Limits
Official SDKs
Integrate in familiar languages — examples match the homepage playground.
JavaScript
Browser and Node.js clients
Python
Data science and quant scripts
PHP
Web and backend integrations
Java
Enterprise services and backends
Go
High-concurrency gateways
// TIQEX — GET /api/v1/market/crypto/quote
const res = await fetch(
'https://api.tiqex.io/api/v1/market/crypto/quote?symbols=BTCUSDT',
{
headers: { 'X-API-Key': 'your_api_key' }
}
)
const json = await res.json()
console.log(json.data)
Read full topic: SDKs & Language Examples