Documentation

Get a user's profile

The user's profile contains information pertaining to the user and his/her accounts. This call should be used to create a personalized experience for your customers (i.e. displaying their name when they log in).

Endpoint

Method
GET
URL
/v1/user/profile

Headers

Accept
application/xml, application/json, application/javascript
Default: application/xml
Required: false
Authorization
Bearer {access token}
Required: true

Response

Field Description
account_number Account Number
day_trader Designates if the account is a Pattern Day Trading Account
option_level The Level of Options trading permission that is on the account
type Account Type (cash or margin)
last_update Date and Time when account was last updated.
name User's name
id Unique identifier for the user
status Status of the account (approved, closed)
classification Class of account (individual, ira, roth_ira, joint)

Example

Command

$ curl -H "Authorization: Bearer {accesstoken}" https://api.tradier.com/v1/user/profile

Request

GET /v1/user/profile HTTP/1.1
Host: api.tradier.com
Accept: application/xml
Authorization: Bearer 098f6bcd4621d373cade4e832627b4f6

Response

HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8
X-Ratelimit-Allowed: 120
X-Ratelimit-Used: 1
X-Ratelimit-Available: 119
X-Ratelimit-Expiry: 1369164360001

<?xml version="1.0" encoding="UTF-8"?>
<profile>
  <id>id-gcostanza</id>
  <account>
    <account_number>12345678</account_number>
    <classification>individual</classification>
    <day_trader>true</day_trader>
    <option_level>5</option_level>
    <status>Approved</status>
    <type>pdt</type>
    <last_update_date>2014-06-23T15:49:05.847Z</last_update_date>
  </account>
  <account>
    <account_number>87654321</account_number>
    <classification>individual</classification>
    <day_trader>false</day_trader>
    <option_level>3</option_level>
    <status>Approved</status>
    <type>margin</type>
    <last_update_date>2014-06-23T15:49:05.868Z</last_update_date>
  </account>
  <name>George Costanza</name>
</profile>

Tradier Inc. and its corresponding technology services (including API services) are distinct and separate from the services provided by Tradier Brokerage Inc. For more information regarding the services of Tradier, Inc., please contact techsupport@tradier.com. For more information regarding the services of Tradier Brokerage, Inc. please contact service@tradierbrokerage.com. Tradier Brokerage Inc. Member FINRA/SIPC

© 2017 Tradier Inc.
  • 11016 Rushmore Drive, Suite 350
  • Charlotte, NC 28277

All materials contained on this site and specifically the API documentation pages are protected by United States copyright law and may not be copied, reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of Tradier Inc. The Structure, Format, Layout, Examples and Design of the pages are owned by Tradier Inc, and any efforts to willfully or accidently duplicate a whole or part of the pages on this site is a violation of United States copyright law.