Ouverture rapide de compte
Plan du site
Български Čeština English Français Deutsch Italiano Polski Português Română Русский Slovenský Español Nederlands

Espace Client InstaForex

  • Paramètres personnels
  • Accès à tous les services de la société
  • Statistiques détaillées et rapports sur les transactions
  • Gamme complète des transactions financières
  • Système de gestion de plusieurs comptes
  • Protection maximale des données,

Espace Partenaire InstaForex

  • Informations détaillées sur les clients et commissions
  • Statistiques graphiques des comptes et clicks
  • Outils Webmaster
  • Solutions Web "prêtes à l'emploi" et large choix des bannières
  • Protection élevée des données
  • Actualités de la société, flux RSS et informateurs Forex
Ouvrir un compte de trading
cabinet icon

InstaForex est toujours en avance!Ouvrez un compte de trading et devenez partie de l'équipe InstaForex Loprais!

L'histoire des victoires et des succès dont le héros principal est Aleš Loprais peut devenir la vôtre! Tradez d'une manière aussi puissante que l'équipe InstaForex Loprais Team

, participant permanent au rallye "Dakar" s'efforce de gagner!

Rejoignez et gagnez avec InstaForex!

Ouverture rapide de compte

Registration is not available for non-EU residents. Please, proceed to the website of the other member of the InstaForex group.
toolbar icon

Plateforme de trading

Pour les appareils mobiles

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.

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.

Exemple en PHP

$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;

Exemple en C#

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; }
}
}
}
Risk Warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 48.65% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.