Forex Quote API Documentation
Introduction
REST API Calls
- /quotes - Get quotes for specific currency pair(s) high usage
- /symbols - Get a list of symbols
- /convert - Convert from one currency to another
- /market_status - Check if the market is open
- /quota - Check your current usage and remaining quota
Introduction
What's available
1Forge provides real-time quote data (bid & ask) for 700+ pairs. To see a full list of supported currency pairs, please see the full currency pair list. At this time, we do not offer historical data, however, clients are more than welcome to archive our quotes locally for internal use.
By connecting directly to brokers and liquidity providers, we are able to provide data as fast as any ECN or brokerage. Depending on how active the market is, you can see price updates over 200 times per second for a single currency pair. No other quote provider in the world can match our accuracy, speed or level of service.
Server location and expected latency
1Forge currently has 4 servers worldwide: Oregon, Virginia, Taiwan, and Belgium. Your requests will automatically be routed to the one nearest to you. You can check how long it takes for your network to reach ours by pinging api.1forge.com.
Timestamp format
All timestamps are unix/epoch timestamps (seconds that have passed since since January 1, 1970 UTC). If you need help converting timestamps to a different format, please contact us.
WebSocket Support
While most clients chose to use our REST API, we encourage brokerages, options houses and any other clients who need every tick in real time to utilize our WebSocket streaming which is currently available with our PHP and Javascript libraries. WebSocket streaming is not available on free plans.
Libraries
We provide a few libraries for your convenience, however, it is not necessary to use them unless you plan to use WebSockets.
- PHP websocket support
- Javascript websocket support
- Python 2.7.*
- Ruby