The Best Broker in Asia 2009 - 2017*
*According to International Finance Magazine, World Finance Award, ShowFx World and CIOT Exhibitions
Register as partner

Support chat
for partners

Click here

Advanced statistics

Full information on profits and attracted customers in a real time mode


Quotes distribution

We offer webmasters and website owners free access to currency quotes in the real time mode. All trading instruments available in the InstaTrader platform are also available for quote provision.

On this web page, webmasters and website owners can read about how to get free access to online forex quotes. All trading symbols in InstaTrader can be placed as online quotes onto your web resource.

Online quotes will contribute to your content richness and will attract new clients and users thanks to the latest information on market movements.

To add quotes to your website, study the information about a PHP request to the InstaForex official quotes web page. When using these quotes, insert a source link to our website [link_2].

Getting quotes

API description: [link_3]

Getting ticks: [link_4]

Available output formats

1. JSON - To get quotes in the JSON format, add parameter m=json to the query.

#Query example: [link_5]

Query result:


2. XML - To get quotes in the XML format, add parameter m=xml to the query.

#Query example: [link_6]

Query result:


Warning: Output in the XML format may be removed in a future release.

Displaying only specific currency pairs

To get only specific currency pairs, pass parameter q= with a list of currency pairs separated by commas.

#Query example: [link_7]

Query result:



Notations used to display results (key legend):

symbol - the currency pair symbol
bid - the bid value
ask - the ask value
change - the value indicating change in relation to the previous price of the currency pair
digits - the value showing how many digits after the decimal point are displayed in the currency pair price
lasttime - the value indicating the last change time of the currency pair price
change24h - the change in relation to the previous day's close

Getting the list of all available instruments

Available output formats: JSON

#Query example: [link_8]

Query result:


Getting the list sorted by group

Example: [link_9]

0-5 - Forex Group
6 - Metals
7 - CFDs
16-19, 21 - Futures/Indices

Using Library in PHP (PHP version requirement > 5.2)

1. Getting data via the HTTP protocol:
Code sample located in the archive, file: example_http.php

2. Getting data via the socket:
Code sample located in the archive, file: example_socket.php

Download archive