> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# Me

GET https://demo.tradovateapi.com/v1/auth/me

### Return basic profile data for the authenticated user.

**Available to:** All authenticated users

**Environments:** Live <!-- NoLiveOnlyEndpoints trait stubs onMe with WrongEnvironmentError.live() on Demo -->

**[Rate Limit](/api/authentication#request-rate-limits-and-time-penalties):** 10 requests per hour, 30-second back-off, counts failed requests only

Returns a summary of the calling user — the user identified by the access token on the request. Use it to confirm which user a token belongs to and to surface account context right after authentication.

The response includes the user's `userId`, `name`, `fullName`, and `email`; whether the email is verified (`emailVerified`) and whether the account is a trial (`isTrial`); the `organizationName` and `currentAccountPlan`; and the user's current market-data subscriptions (`currentMDSubs`), `currentBalance`, and active plugins (`activePlugins`).

This endpoint operates against Live. On Demo it returns an error indicating the request must be sent to the Live server.

**Common Failure Scenarios**

- The access token is missing, invalid, or expired (returns `HTTP 401`).
- The request is sent to a Demo server instead of Live.

**Error Messages**

| `errorText` | Trigger |
|-------------|---------|
| Non-empty `errorText` | The request failed; the field describes the reason. |

Reference: https://docs.ninjatrader.com/api/rest-api-endpoints/authentication/me

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: public
  version: 1.0.0
paths:
  /auth/me:
    get:
      operationId: me
      summary: Me
      description: >-
        ### Return basic profile data for the authenticated user.


        **Available to:** All authenticated users


        **Environments:** Live <!-- NoLiveOnlyEndpoints trait stubs onMe with
        WrongEnvironmentError.live() on Demo -->


        **[Rate
        Limit](/api/authentication#request-rate-limits-and-time-penalties):** 10
        requests per hour, 30-second back-off, counts failed requests only


        Returns a summary of the calling user — the user identified by the
        access token on the request. Use it to confirm which user a token
        belongs to and to surface account context right after authentication.


        The response includes the user's `userId`, `name`, `fullName`, and
        `email`; whether the email is verified (`emailVerified`) and whether the
        account is a trial (`isTrial`); the `organizationName` and
        `currentAccountPlan`; and the user's current market-data subscriptions
        (`currentMDSubs`), `currentBalance`, and active plugins
        (`activePlugins`).


        This endpoint operates against Live. On Demo it returns an error
        indicating the request must be sent to the Live server.


        **Common Failure Scenarios**


        - The access token is missing, invalid, or expired (returns `HTTP 401`).

        - The request is sent to a Demo server instead of Live.


        **Error Messages**


        | `errorText` | Trigger |

        |-------------|---------|

        | Non-empty `errorText` | The request failed; the field describes the
        reason. |
      tags:
        - Authentication
      parameters:
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OAuthMeResponse
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthMeResponse'
servers:
  - url: https://demo.tradovateapi.com/v1
    description: Demo
  - url: https://live.tradovateapi.com/v1
    description: Live
components:
  schemas:
    OAuthMeResponse:
      type: object
      properties:
        errorText:
          type: string
          description: Non-empty if the request failed
        userId:
          type: integer
          format: int64
        name:
          type: string
        fullName:
          type: string
        email:
          type: string
        emailVerified:
          type: boolean
        isTrial:
          type: boolean
        organizationName:
          type: string
        currentAccountPlan:
          type: string
        currentMDSubs:
          type: array
          items:
            type: string
        currentBalance:
          type: number
          format: double
        activePlugins:
          type: array
          items:
            type: string
      title: OAuthMeResponse
  securitySchemes:
    bearer_access_token:
      type: http
      scheme: bearer

```

## Examples



**Response**

```json
{
  "errorText": "string",
  "userId": 1,
  "name": "string",
  "fullName": "string",
  "email": "string",
  "emailVerified": true,
  "isTrial": true,
  "organizationName": "string",
  "currentAccountPlan": "string",
  "currentMDSubs": [
    "string"
  ],
  "currentBalance": 1.1,
  "activePlugins": [
    "string"
  ]
}
```

**SDK Code**

```python
import requests

url = "https://demo.tradovateapi.com/v1/auth/me"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://demo.tradovateapi.com/v1/auth/me';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://demo.tradovateapi.com/v1/auth/me"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://demo.tradovateapi.com/v1/auth/me")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://demo.tradovateapi.com/v1/auth/me")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://demo.tradovateapi.com/v1/auth/me', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://demo.tradovateapi.com/v1/auth/me");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://demo.tradovateapi.com/v1/auth/me")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```