TickQuote logoTickQuoteDocs

Docs search

Search the current language documentation index.

Docs/Core APIs·03

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.

endpoint
https://api.tickquote.com

Available 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.

headers.http
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.

response.json
Success envelope
{
  "code": 0,
  "message": "success",
  "data": { "items": [] }
}

Endpoints

Each endpoint page includes the full request URL, query parameters, response fields, examples, and notes.

GET/api/v1/market/instruments

Return supported public market instruments.

Parameters

No query parameters.

GET/api/v1/market/products

Return canonical market products with calendar metadata.

Parameters

No query parameters.

GET/api/v1/market/quotes/latest

Return latest quote states for compact tickers.

Parameters

tickers*
string
Comma-separated compact ticker list, for example EURUSD,GBPUSD. Example: EURUSD,GBPUSD
GET/api/v1/market/snapshots/latest

Return latest market snapshots for compact tickers.

Parameters

tickers*
string
Comma-separated compact ticker list, for example EURUSD,GBPUSD. Example: EURUSD,XAUUSD
GET/api/v1/market/klines

Return 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
GET/api/v1/market/status

Return 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.

GET/api/v1/market/quotes/latest
Live sandbox

Use demo_key to try it without an account.

Response

// Response will appear here after sending a request

Next up

WebSocket Streaming

Continue