Market REST API.
Use the Market Data REST API to discover supported instruments, read the latest quote state, fetch the latest market snapshot, and query historical klines. All examples use compact tickers such as EURUSD, GBPUSD, XAUUSD, and XAGUSD.
- Protocol
- HTTPS
- Format
- JSON
- Versioning
- v1
Base URL
All endpoints are served from a single origin.
https://api.tickquote.comAvailable data
The first public release exposes instruments, latest quote state, latest market snapshots, and historical klines. It does not expose trade ticks, market depth, order books, or a public bar stream.
Ticker format
Use compact uppercase tickers without slashes or provider suffixes. Supported examples include EURUSD, GBPUSD, XAUUSD, and XAGUSD.
Authentication
Send your product API key with every request using the Authorization bearer header. Website login tokens are separate and are not accepted by market data endpoints.
Authorization: Bearer <tkp_api_key>Response Format
Every REST response returns a numeric code, a message, and a data payload. A successful request uses code 0 and message success.
{
"code": 0,
"message": "success",
"data": { "items": [] }
}Endpoints
Each endpoint page includes the full request URL, query parameters, response fields, examples, and notes.
/api/v1/market/instrumentsReturn supported public market instruments.
Parameters
No query parameters.
/api/v1/market/productsReturn canonical market products with calendar metadata.
Parameters
No query parameters.
/api/v1/market/quotes/latestReturn latest quote states for compact tickers.
Parameters
tickers*- string
- Comma-separated compact ticker list, for example EURUSD,GBPUSD. Example: EURUSD,GBPUSD
/api/v1/market/snapshots/latestReturn latest market snapshots for compact tickers.
Parameters
tickers*- string
- Comma-separated compact ticker list, for example EURUSD,GBPUSD. Example: EURUSD,XAUUSD
/api/v1/market/klinesReturn historical klines for one compact ticker.
Parameters
ticker*- string
- Single compact ticker, for example EURUSD. Example: EURUSD
timeframe*- string
- Kline timeframe. Supported values are M1, M5, M15, and H1. Example: M1
from*- string
- Start time in Unix seconds. Example: 1777100000
to*- string
- End time in Unix seconds. Example: 1777103600
limit*- string
- Maximum number of rows to return. The example uses 500; the API enforces the maximum. Example: 500
/api/v1/market/statusReturn calendar-aware display status for compact tickers.
Parameters
tickers*- string
- Comma-separated compact ticker list, for example EURUSD,GBPUSD. Example: EURUSD,XAUUSD,US30
Try It Out
Use demo_key for a sample response, or select one of your Dashboard API keys to call the TickQuote API.
Use demo_key to try it without an account.
// Response will appear here after sending a request
Next up
WebSocket Streaming