العربية Azərbaycan Български 中文 Čeština English Français ქართული Deutsch Magyar हिन्दी Bahasa Indonesia ایرانی Italiano 日本語 한국어 Lietuvių Bahasa Malay اردو Polski Português Română Русский Srpski Slovenský Español ไทย Türkçe Nederlands Українська Vietnamese বাংলা Ўзбекча O'zbekcha

InstaForex Client Area

  • Personal settings
  • Access to all InstaForex services
  • Detailed statistics and reports on trades
  • Full range of financial transactions
  • System of managing several accounts
  • Maximum data protection

InstaForex Partner Area

  • Full information on clients and commissions
  • Graphic statistics on accounts and clicks
  • Webmaster instruments
  • Ready-made web solutions and wide range of banners
  • High data protection level
  • Company's news, RSS feeds, and forex informers
Be InstaForex client
Be InstaForex partner

Another Lamborghini from InstaForex!Maybe it will be you who will take the keys!

Just make a deposit of at least $1,000 to your account!

Get the best trading conditions and attractive bonus offers! We have already given 6 legendary sports cars! But it does not stop there! The next Lamborghini Huracan of the latest generation may be yours!

InstaForex – invest in your victories!

Instant account opening

Trading Platform

For mobile devices

For trading via browser

InstaForex Bonuses

InstaForex Bonuses
Make a deposit
Money withdrawal

Sem ostalih pogodnosti u radu sa InstaForex-om, svaki korisnik kompanije ima mogućnost korišćenja nove usluge - API Kabineta za klijente.

API — moćna biblioteka funkcija, dostupna svakom klientu brokera InstaForex. Pomoću API funkcije Kabineta za klijente sve glavne funkcije Kabineta za klijente biće Vam dostupne na svim web izvorima.

Dakle, sada svaki korisnik InstaForex-a može koristiti sledeću grupu opcija Kabineta za klijente: upite o otvorenim i zatvorenim kupovinama, bilans računa, lotove zatvorene tokom određenom vremenskog perioda, statistike bonusa, istoriju logovanja i kratak pregled računa.

Nivoi pristupa

Postoje dva nivoa pristupa API funkcijama Kabineta za klijente. Slobodni pristup ne zahteva unos dodatnih informacija. U zavisnosti od setovanja, ograničen pristup omogućava pregled podataka tek nakon unošenja lozinke ili IP lozinke i IP maske.

API Kabineta za klijente omogućava svakom InstaForex korisniku da održava i proverava svoj trgovački račun bez logovanja u svoj Kabinet za klijente na zvaničnom sajtu kompanije.

PHP primer

$Login = 0; #Must be Changed
$apiPassword = "password"; #Must be Changed
$data = array("Login" => $Login, "Password" => $apiPassword);
$data_string = json_encode($data);

$apiAuthenticationMethod = ''; #Must be Changed
$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 = ''; #Must be Changed
$ch = curl_init('https://client-api.instaforex.com/'.$apiMethodUrl.$Login); #possibly Must be Changed part with [$Login]. Depends on the method param
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('passkey: '.$token));
$result = curl_exec($ch);
echo $result;

C# primer

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;

namespace ClientPartnerApiDemoProject{
class PartnerApiSample{
public void TestMethod(){
const int login = 000000;
const string pass = "your pass";
var token = GetToken(login, pass);
var result = GetCommissionRecords(login, token);
foreach (var trade in result){
Console.WriteLine("{0} {1}",trade.Partner, trade.BalanceRecords.Count);
}
}
public string GetToken(int login, string password){
var client = new HttpClient();
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;
}
public List GetCommissionRecords(int login, string token){
var client = new HttpClient();
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 class AccessTokenRequest{
public int Login { get; set; }
public string Password { get; set; }
}
}
}
Start trading with
no risks and investments
With new Start-Up Bonus of $1000