Real-Time Forex Data API
Live OHLCV candles, tick data, 42 pre-calculated indicators, and real-time spreads — refreshed every 2 seconds with sub-50ms API response times.
-
2-Second Cache Refresh
Real-time data is cached in Redis with a 2-second TTL. Every API call returns data that is at most 2 seconds old.
-
Sub-50ms Response
Redis caching means most requests are served from memory. Typical response times are 20-50ms including network transit.
-
Live Tick Data
Raw bid/ask tick data via /v1/ticks. See every price movement with timestamps for sub-candle precision.
-
Real-Time Indicators
All 42 indicators update with each new candle close. M1 indicators refresh every minute, M5 every 5 minutes.
-
Live Spread Data
Current bid-ask spread, average spread, and spread percentile — updated in real time for cost-aware trading.
-
Institutional-Grade Source
Data sourced from live professional market feeds. Same data quality institutional traders rely on.
Real-Time Data Example
import requests, time
headers = {"X-API-Key": "YOUR_API_KEY"}
BASE = "https://tickatlas.com/v1"
# Continuous real-time monitoring
while True:
# Latest EURUSD tick
tick = requests.get(f"{BASE}/ticks", headers=headers,
params={"symbol": "EURUSD", "limit": 1}).json()
latest = tick["data"]["ticks"][0]
print(f"EURUSD bid={latest['bid']} ask={latest['ask']}")
# Real-time RSI
rsi = requests.get(f"{BASE}/indicator", headers=headers,
params={"symbol": "EURUSD", "name": "rsi", "timeframe": "M1"}).json()
print(f"RSI(M1): {rsi['data']['value']:.1f}")
# Current spread
spread = requests.get(f"{BASE}/spread", headers=headers,
params={"symbol": "EURUSD"}).json()
print(f"Spread: {spread['data']['current_spread_pips']:.1f} pips\n")
time.sleep(2) # Match the 2-second cache TTL Real-Time Endpoints
| Endpoint | Refresh Rate | Data |
|---|---|---|
/v1/ticks | Every tick | Bid, ask, timestamp |
/v1/spread | 2 seconds | Current, avg, min, max |
/v1/indicator | Per candle close | Any of 42 indicators |
/v1/ohlcv | Per candle close | Open, high, low, close, vol |
/v1/heatmap | ~5 minutes | Currency strength |
Frequently Asked Questions
How real-time is the forex data?
Data is ingested from professional market feeds and cached in Redis with a 2-second TTL. Typical end-to-end latency is under 50ms from API request to response.
What real-time data formats are available?
Real-time OHLCV candles, pre-calculated indicators (42 total), raw tick data (bid/ask), spread data, and AI market summaries. All in JSON format.
Can I get streaming real-time data?
Currently we offer a polling REST API. For real-time monitoring, poll at your desired interval — the 2-second cache ensures fresh data on every call.
What is the rate limit for real-time data?
Trial: 30/min, Starter: 120/min, Pro: 600/min (10/sec), Enterprise: 6,000/min (100/sec). Pro and Enterprise handle continuous real-time polling.
How does the data reach the API?
Our professional data infrastructure pushes data from institutional-grade sources to our ingestion endpoint. Data flows through PostgreSQL for persistence and Redis for real-time caching.
Get Real-Time Forex Data Now
14-day free trial. Sub-50ms response times. 2-second data freshness.