Client Cabinet API
Besides other benefits of working with InstaForex, every customer of the company can take advantage of a new service — Client Cabinet API.
API is a large function library available to every customer of InstaForex. With the new service you will be able to have the main functions of Client Cabinet on any web resource.
So, now every customer of InstaForex can make use of the following set of Client Cabinet options: queries about open and closed trades, account balance, lots closed during a certain period of time, bonus statistics, login history and account summary.
Access levels
There are two levels of access to Client Cabinet API functions.
Free access does not require entering any additional information.
Depending on the settings, with limited access you can view the data only after keying in the password or IP password and IP mask.
Client Cabinet API enables every InstaForex customer to keep his trading account in check without the need to log in to Client Cabinet on the company’s official website.
Example PHP
$apiPassword = "password";
$data = array("Login" => $Login, "Password" => $apiPassword);
$data_string = json_encode($data);
$apiAuthenticationMethod = '';
$ch = curl_init('https://client-api.instaforex.com/'.$apiAuthenticationMethod);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Content-Length: ' . strlen($data_string)));
$token = curl_exec($ch);
curl_close($ch);
$apiMethodUrl = '';
$ch = curl_init('https://client-api.instaforex.com/'.$apiMethodUrl.$Login);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('passkey: '.$token));
$result = curl_exec($ch);
echo $result;
Example C#
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;
namespace ClientPartnerApiDemoProject{
const string pass = "your pass";
var token = GetToken(login, pass);
var result = GetCommissionRecords(login, token);
foreach (var trade in result){
HttpContent tokenContent = new ObjectContent(typeof(AccessTokenRequest), new AccessTokenRequest { Login = login, Password = password }, new JsonMediaTypeFormatter());
var token = client.PostAsync("https://client-api.instaforex.com/api/Authentication/RequestPartnerApiToken", tokenContent).Result.Content.ReadAsStringAsync().Result;
return token;
client.DefaultRequestHeaders.Add("passkey", token);
var result = client.GetAsync(string.Format("https://client-api.instaforex.com/partner/GetCommissionRecords/{0}", login)).Result.Content.ReadAsAsync
- >().Result;
return result;
public string Password { get; set; }
See also
InstaForex - official partner of Dragon Racing
The world of professional motor racing, just like the financial world, is constantly developing and introducing the latest technologies that eventually become ordinary parts of our everyday lives. This happened with turbo motors, KERS system, ceramic brakes, online trading, as well as PAMM and ForexCopy systems. Back then, it all seemed something unique and available only to chosen ones. Today, we drive electric cars and can easily trade on the global forex market via gadgets that we carry in our pockets.
InstaForex - official partner of Dragon Racing
The world of professional motor racing, just like the financial world, is constantly developing and introducing the latest technologies that eventually become ordinary parts of our everyday lives. This happened with turbo motors, KERS system, ceramic brakes, online trading, as well as PAMM and ForexCopy systems. Back then, it all seemed something unique and available only to chosen ones. Today, we drive electric cars and can easily trade on the global forex market via gadgets that we carry in our pockets.
InstaForex Loprais Team is official Dakar rally participant
InstaForex is a title sponsor of the official participant of the Dakar rally, InstaForex Loprais Team. This rally team is a joint project of InstaForex, Loprais team, a regular participant of the Dakar rally, and automobile concern Tatra, which provides the team with the famous trucks.
InstaForex Loprais Team is official Dakar rally participant
InstaForex is a title sponsor of the official participant of the Dakar rally, InstaForex Loprais Team. This rally team is a joint project of InstaForex, Loprais team, a regular participant of the Dakar rally, and automobile concern Tatra, which provides the team with the famous trucks.
InstaSpot
We have created a convenient service for buying, selling, and exchanging currencies, cryptocurrencies, and other assets.
InstaSpot is a trustworthy service for a trader, miner, freelancer, and for everyone who does business on the Internet.
Familiarize yourself with a user-friendly and reliable exchanger for digital currencies and other popular assets. InstaSpot is based on the principle of P2P trading, which allows buyers and sellers to interact directly without intermediaries. At the same time, InstaForex acts as a guarantor of the secured transaction.
InstaSpot
We have created a convenient service for buying, selling, and exchanging currencies, cryptocurrencies, and other assets.
InstaSpot is a trustworthy service for a trader, miner, freelancer, and for everyone who does business on the Internet.
Familiarize yourself with a user-friendly and reliable exchanger for digital currencies and other popular assets. InstaSpot is based on the principle of P2P trading, which allows buyers and sellers to interact directly without intermediaries. At the same time, InstaForex acts as a guarantor of the secured transaction.
Fx Bot - Droid of InstaForex Future
Fx Bot is the first Forex droid in the world, as well as the member of InstaForex team which symbolizes the effort of the company to provide the latest innovations in the sphere of trading to its clients. Fx Bot, created on the basis of telepresence, was constructed by R.Bot company in Russia - the country with centuries of scientific and technological history. The Russian development of a mobile robot is know-how in technology, which embodies a dream of any businessman to be in a lot of places simultaneously.
Fx Bot - Droid of InstaForex Future
Fx Bot is the first Forex droid in the world, as well as the member of InstaForex team which symbolizes the effort of the company to provide the latest innovations in the sphere of trading to its clients. Fx Bot, created on the basis of telepresence, was constructed by R.Bot company in Russia - the country with centuries of scientific and technological history. The Russian development of a mobile robot is know-how in technology, which embodies a dream of any businessman to be in a lot of places simultaneously.
Touch the sky with InstaForex!
InstaForex signed agreement with Czech Airlines on InstaForex branded airplane. Trading with InstaForex means not only convenience and excellent quality of products but also the highest speed of execution. Every day new highs of currency trading become closer and closer for traders cooperating with our company.
Touch the sky with InstaForex!
InstaForex signed agreement with Czech Airlines on InstaForex branded airplane. Trading with InstaForex means not only convenience and excellent quality of products but also the highest speed of execution. Every day new highs of currency trading become closer and closer for traders cooperating with our company.