# Get public user data


```
GET 
https://api.apify.com/v2/users/:userId
```


Returns public information about a specific user account, similar to what can be seen on public profile pages (e.g. [https://apify.com/apify](https://apify.com/apify)).

This operation requires no authentication token.

## Request

### Path Parameters

* **userId** string required

  User ID or username.

  **Example:** `HGzIk8z78YcAPEB`

<!-- -->

### Status 200

**Response Headers**




```
{
  "data": {
    "username": "d7b9MDYsbtX5L7XAj",
    "profile": {
      "bio": "I started web scraping in 1985 using Altair BASIC.",
      "name": "Jane Doe",
      "pictureUrl": "https://apify.com/img/anonymous_user_picture.png",
      "githubUsername": "torvalds.",
      "websiteUrl": "http://www.example.com",
      "twitterUsername": "@BillGates"
    }
  }
}
```


**Schema**

* **data** object required

  * **username** string required\
    **Example:** `d7b9MDYsbtX5L7XAj`

  * **profile** object

    * **bio** string\
      **Example:** `I started web scraping in 1985 using Altair BASIC.`
    * **name** string\
      **Example:** `Jane Doe`
    * **pictureUrl** string\<uri>\
      **Example:** `https://apify.com/img/anonymous_user_picture.png`
    * **githubUsername** string\
      **Example:** `torvalds.`
    * **websiteUrl** string\<uri>\
      **Example:** `http://www.example.com`
    * **twitterUsername** string\
      **Example:** `@BillGates`

### Status 400

Bad request - invalid input parameters or request body.


```
{
  "error": {
    "type": "invalid-input",
    "message": "Invalid input: The request body contains invalid data."
  }
}
```


**Schema**

* **error** object required

  * **type** string required\
    **Example:** `run-failed`
  * **message** string required\
    **Example:** `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)`

### Status 404

Not found - the requested resource does not exist.


```
{
  "error": {
    "type": "record-not-found",
    "message": "The requested resource was not found."
  }
}
```


**Schema**

* **error** object required

  * **type** string required\
    **Example:** `run-failed`
  * **message** string required\
    **Example:** `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)`

### Status 405

Method not allowed.


```
{
  "error": {
    "type": "method-not-allowed",
    "message": "This API end-point can only be accessed using the following HTTP methods: OPTIONS,GET"
  }
}
```


**Schema**

* **error** object required

  * **type** string required\
    **Example:** `run-failed`
  * **message** string required\
    **Example:** `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)`

### Status 429

Too many requests - rate limit exceeded.


```
{
  "error": {
    "type": "rate-limit-exceeded",
    "message": "You have exceeded the rate limit. Please try again later."
  }
}
```


**Schema**

* **error** object required

  * **type** string required\
    **Example:** `run-failed`
  * **message** string required\
    **Example:** `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)`
