# User



<MethodPage method="GET" path="/v1/reddit/user" credits={1}>
  <MethodSignature name="getUser" args={[{ name: "name" }]} returns="User" />

  Returns a user's account age, karma and badges. For what they've written, use [User posts](/reddit/user-posts) and [User comments](/reddit/user-comments). 1 credit per call; profiles are cached for 10 minutes.

  <Security permission="reddit:read" />

  <SchemaGroup title="Query parameters">
    <SchemaField name="name" type="string" location="query" required>
      Reddit username, 3 to 20 letters, numbers, underscores or dashes, with or without `u/`.
    </SchemaField>
  </SchemaGroup>

  <div id="returns" className="mt-8">
    Response [#response]

    ```json
    {
      "name": "spez",
      "created_at": "2005-06-06T04:00:00Z",
      "link_karma": 184547,
      "comment_karma": 756501,
      "total_karma": 941048,
      "is_employee": true,
      "is_mod": true,
      "has_verified_email": true,
      "icon": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png"
    }
    ```

    `total_karma` is Reddit's own total; where Reddit leaves it out, as in user search results, it is `link_karma` plus `comment_karma`. A suspended account comes back with its `name` and `"suspended": true`, and every other field empty or zero. A user who doesn't exist returns 404 `not_found`.
  </div>

  <MethodSamples>
    <LanguageSample language="cURL">
      ```bash
      curl "https://api.threadapi.dev/v1/reddit/user?name=spez" \
        -H "Authorization: Bearer $THREADAPI_API_KEY"
      ```
    </LanguageSample>
  </MethodSamples>
</MethodPage>
