empty
Client Cabinet API

Client Cabinet API

Prioritas InstaForex adalah menyediakan layanan inovatif untuk para pelanggannya untuk trading yang sukses. Sejak hari pertama, broker Forex internasional telah berkomitmen untuk menawarkan kepada para klien pengembangan diluar jalur dalam ranah investasi Forex.

Disamping keuntungan lainnya bekerja dengan InstaForex, setiap pelanggan perusahaan bisa mendapatkan keuntungan pelayanan baru ? Klien Kabinet API.

API merupakan perpustakaan dengan fungsi yang besar yang tersedia untuk setiap pelanggan InstaForex. Dengan layanan baru anda akan dapat memiliki fungsi utama Klien Kabinet pada sumber situs apapun.

Jadi, saat ini setiap pelanggan InstaForex dapat menggunakan pilihan-pilihan Klien Kabinet berikut ini: pertanyaan mengenai buka dan turup trading, saldo akun, lots yang ditutup selama periode waktu tertentu, statistik bonus, riwayat login dan rangkuman akun.

Level Akses

Terdapat dua level akses ke fungsi Klien Kabinet API.

Akses bebas yang tidak perlu memasukan informasi tambahan apapun.

Bergantung pada pengaturan, dengan akses terbatas anda dapat melihat data hanya jika anda telah memasukan password atau password IP dan IP mask.

Klien Kabinet API memampukan setiap pelanggan InstaForex memeriksa akun trading mereka tanpa perlu log in ke Klien Kabinet di situs resmi perusahaan.

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

Contoh 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; }
}
}
}

Lihat juga

Grand Choice Contest by InstaForex

InstaForex always strives to help you fulfill your biggest dreams. We all have different dreams and goals. We have taken it into account before launching our new contest. This time, we have prepared more than one prize. The winner will have the opportunity to decide which of the dreams to pursue.

Grand Choice Contest by InstaForex

InstaForex always strives to help you fulfill your biggest dreams. We all have different dreams and goals. We have taken it into account before launching our new contest. This time, we have prepared more than one prize. The winner will have the opportunity to decide which of the dreams to pursue.

InstaSpot

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.

InstaForex Loprais Team – peserta resmi reli Dakar

InstaForex Loprais Team – peserta resmi reli Dakar

InstaForex adalah sponsor utama dari peserta resmi reli Dakar, InstaForex Loprais Team. Tim reli ini adalah proyek bersama InstaForex, Loprais Team dan Tatra, yang menyediakan truk terkenal untuk tim. Perjanjian untuk membentuk tim ditandatangani di bulan Mei 2011 oleh pilot Loprais Team, Ales Loprais dan Deputy Director General of InstaForex Dmitry Savchenko. Peristiwa tersebut merupakan peristiwa yang mengesankan baik untuk keluarga Loprais dan juga InstaForex Company.

InstaForex Loprais Team – peserta resmi reli Dakar

InstaForex adalah sponsor utama dari peserta resmi reli Dakar, InstaForex Loprais Team. Tim reli ini adalah proyek bersama InstaForex, Loprais Team dan Tatra, yang menyediakan truk terkenal untuk tim. Perjanjian untuk membentuk tim ditandatangani di bulan Mei 2011 oleh pilot Loprais Team, Ales Loprais dan Deputy Director General of InstaForex Dmitry Savchenko. Peristiwa tersebut merupakan peristiwa yang mengesankan baik untuk keluarga Loprais dan juga InstaForex Company.

Menyentuh langit bersama InstaForex!

InstaForex menandatangani perjanjian dengan Czech Airlines mengenai pesawat bermerek InstaForex. Trading bersama InstaForex berarti tidak hanya memperoleh kenyamanan dan produk berkualitas tinggi, namun juga kecepatan eksekusi tercepat. Setiap hari, titik tertinggi baru trading mata uang menjadi semakin dan semakin dekat untuk para trader yang bekerja sama dengan perusahaan kami.

Menyentuh langit bersama InstaForex!

InstaForex menandatangani perjanjian dengan Czech Airlines mengenai pesawat bermerek InstaForex. Trading bersama InstaForex berarti tidak hanya memperoleh kenyamanan dan produk berkualitas tinggi, namun juga kecepatan eksekusi tercepat. Setiap hari, titik tertinggi baru trading mata uang menjadi semakin dan semakin dekat untuk para trader yang bekerja sama dengan perusahaan kami.

Bergabunglah dengan kami - menang bersama InstaForex dan Zvolen!

Bergabunglah dengan kami - menang bersama InstaForex dan Zvolen!

InstaForex adalah sponsor umum HC Zvolen, salah satu klub hoki tertua di Slovakia yang termasuk dalam liga hoki nasional. Tim tersebut berjulukan para Ksatria. InstaForex memiliki tradisi yang baik untuk mendukung tim olahraga yang bermasa depan cerah, yang sama seperti broker itu sendiri, bertujuan untuk mencapai hasil membanggakan dan merebut kemenangan. Selama ini, Zvolen telah membuktikan kehebatannya, determinasinya dan tekadnya untuk menang lagi dan lagi.

Bergabunglah dengan kami - menang bersama InstaForex dan Zvolen!

InstaForex adalah sponsor umum HC Zvolen, salah satu klub hoki tertua di Slovakia yang termasuk dalam liga hoki nasional. Tim tersebut berjulukan para Ksatria. InstaForex memiliki tradisi yang baik untuk mendukung tim olahraga yang bermasa depan cerah, yang sama seperti broker itu sendiri, bertujuan untuk mencapai hasil membanggakan dan merebut kemenangan. Selama ini, Zvolen telah membuktikan kehebatannya, determinasinya dan tekadnya untuk menang lagi dan lagi.

Tidak bisa bicara sekarang?
Tanyakan pertanyaan anda lewat chat.
Widget callback
 

Dear visitor,

Your IP address shows that you are currently located in the USA. If you are a resident of the United States, you are prohibited from using the services of InstaFintech Group including online trading, online transfers, deposit/withdrawal of funds, etc.

If you think you are seeing this message by mistake and your location is not the US, kindly proceed to the website. Otherwise, you must leave the website in order to comply with government restrictions.

Why does your IP address show your location as the USA?

  • - you are using a VPN provided by a hosting company based in the United States;
  • - your IP does not have proper WHOIS records;
  • - an error occurred in the WHOIS geolocation database.

Please confirm whether you are a US resident or not by clicking the relevant button below. If you choose the wrong option, being a US resident, you will not be able to open an account with InstaForex anyway.

We are sorry for any inconvenience caused by this message.