empty
 
 
客户面板API

客户面板API

InstaForex的首要工作是为其客户的成功交易提供创新的服务。从第一天起,国际外汇经纪商InstaForex就致力于为客户提供外汇投资领域创新性的发展。

除了其他选择InstaForex的好处,公司的每一位客户都可以享受新服务:客户面板API带来的优势。

API是InstaForex的每一位客户都可以使用的一种大型功能集。有了这项新服务,您可以在任何网络资源上拥有客户面板的主要功能。

因此,每一位InstaForex的客户都可以使用客户面板的下列功能:查询现有和结束的交易、账户盈余、某一特定周期内交易的手数、赠金统计、登录历史和账户摘要。

访问级别

访问客户面板API功能有两个级别。

自由访问不需要任何其他信息。

根据设置,仅有在核对密码、IP密码或IP掩码之后您才能访问限制级别的数据。

客户面板API让每一位InstaForex的客户无需在公司官网登入客户面板便可时刻掌握交易账户的动态。

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;

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

另见

 InstaForex - Dragon Racing官方合作伙伴

InstaForex - Dragon Racing官方合作伙伴

专业赛车世界,就像金融世界一样,不断发展和引进最新的技术,最终成为我们日常生活的一部分。这发生在涡轮发动机,KERS系统,陶瓷制动器,在线交易,以及PAMM和ForexCopy系统。当时,这一切似乎都是独一无二的,只有被选中的人才能得到。如今,我们开着电动汽车,还可以通过口袋里的小工具轻松在全球外汇市场上交易。

InstaForex - Dragon Racing官方合作伙伴

专业赛车世界,就像金融世界一样,不断发展和引进最新的技术,最终成为我们日常生活的一部分。这发生在涡轮发动机,KERS系统,陶瓷制动器,在线交易,以及PAMM和ForexCopy系统。当时,这一切似乎都是独一无二的,只有被选中的人才能得到。如今,我们开着电动汽车,还可以通过口袋里的小工具轻松在全球外汇市场上交易。

 InstaForex Loprais Team为达喀尔拉力赛正式参赛

InstaForex Loprais Team为达喀尔拉力赛正式参赛

InstaForex是达喀尔拉力赛官方参与者instprax Loprais Team的标题赞助商。这个拉力赛团队是InstaForex、Loprais团队(达喀尔拉力赛的定期参与者)和汽车公司Tatra的联合项目,Tatra为团队提供了著名的卡车。

InstaForex Loprais Team为达喀尔拉力赛正式参赛

InstaForex是达喀尔拉力赛官方参与者instprax Loprais Team的标题赞助商。这个拉力赛团队是InstaForex、Loprais团队(达喀尔拉力赛的定期参与者)和汽车公司Tatra的联合项目,Tatra为团队提供了著名的卡车。

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上交易!

InstaForex国际经纪人始终致力于为客户和合作伙伴提供最优质的服务。 InstaForex始终以高水平表达:交易条件的可用性;各种各样的仪器;高技能的支持团队;不论交易量多寡,对每个客户采取的都是单独的方式;交易执行的速度以及其他许多因素使InstaForex公司达到了外汇交易的最高水平。

在InstaForex上交易!

InstaForex国际经纪人始终致力于为客户和合作伙伴提供最优质的服务。 InstaForex始终以高水平表达:交易条件的可用性;各种各样的仪器;高技能的支持团队;不论交易量多寡,对每个客户采取的都是单独的方式;交易执行的速度以及其他许多因素使InstaForex公司达到了外汇交易的最高水平。

 InstaForex的社会责任

InstaForex的社会责任

泛人的道德标准和社会责任意识是我们看待我们公司工作的方式。在竞争激烈的市场中,遵守商业规则和普遍的道德准则是非常重要的。每年都有越来越多的慈善组织和个人成为InstaForex的合作伙伴。这一页反映了我们的社会责任愿景。

InstaForex的社会责任

泛人的道德标准和社会责任意识是我们看待我们公司工作的方式。在竞争激烈的市场中,遵守商业规则和普遍的道德准则是非常重要的。每年都有越来越多的慈善组织和个人成为InstaForex的合作伙伴。这一页反映了我们的社会责任愿景。

现在无法通话?
提出您的问题,用 在线帮助.
Widget callback