GET member/profile{.format}
Description
This call will return general information associated with the user. More importantly it will also return all of the account numbers and account information for the user.
| Authentication Required | |
|---|---|
| Yes | OAuth 1.0a |
| URI Parameters | |
| format | a response format, default is xml (See Response Structure) |
| Example URL | |
| https://api.tradeking.com/v1/member/profile.xml | |
Request Example
GET /v1/member/profile.xml HTTP/1.1
Authorization: OAuth
oauth_consumer_key="672e71387c0a126f4e13296ecfb2b7bc",
oauth_nonce="cfdb7f42de425d94fbc24c11a920c33e",
oauth_signature="Vfm148kAgBZ6azEHqds43aY2UsEg3D",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1306871932",
oauth_token="819682555b63ab8bd90a4138138e7365",
oauth_version="1.0"
Connection: close
Host: api.tradeking.com
Response Example
<?xml version="1.0" encoding="UTF-8"?>
<response id="77cf30da:12df25c7074:-7dd0">
<userdata>
<account>
<account>12345678</account>
<fundtrading>true</fundtrading>
<ira>false</ira>
<margintrading>false</margintrading>
<nickname>1</nickname>
<optionlevel>3</optionlevel>
<shared>false</shared>
<stocktrading>true</stocktrading>
</account>
<disabled>false</disabled>
<resetpassword>false</resetpassword>
<resettradingpassword>false</resettradingpassword>
<userprofile>
<entry>
<name>primaryMiddleInitial</name>
<value/>
</entry>
<entry>
<name>primaryLastName</name>
<value>test</value>
</entry>
<entry>
<name>login_id</name>
<value>test</value>
</entry>
<entry>
<name>zip</name>
<value>12345</value>
</entry>
<entry>
<name>primaryFirstName</name>
<value>test</value>
</entry>
<entry>
<name>rtq</name>
<value>Y</value>
</entry>
<entry>
<name>emailAddress1</name>
<value>null@none.com</value>
</entry>
<entry>
<name>expireMins</name>
<value>180</value>
</entry>
<entry>
<name>defaultAccount</name>
<value>12345678</value>
</entry>
<entry>
<name>useTradingPassword</name>
<value>Y</value>
</entry>
</userprofile>
</userdata>
</response>
Disclaimer: Any mention of actual symbols are to be used for coding purposes only and do not imply a recommendation or solicitation to buy or sell a particular security or to engage in any particular investment strategy.
At the time of publication and in the preceding month, TradeKing did not have ownership greater than 1% in any stocks mentioned here and does not have any other actual, material conflict of interest known at the time of publication. TradeKing did not receive compensation from a public offering or from investment banking services related to any companies mentioned here within the past 12 months, or expects to receive any in the next 3 months. TradeKing did not engage in market making in the securities mentioned here.
At the time of publication and in the preceding month, TradeKing did not have ownership greater than 1% in any stocks mentioned here and does not have any other actual, material conflict of interest known at the time of publication. TradeKing did not receive compensation from a public offering or from investment banking services related to any companies mentioned here within the past 12 months, or expects to receive any in the next 3 months. TradeKing did not engage in market making in the securities mentioned here.