Get public user data
GET/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).
This operation requires no authentication token.
Request
Path Parameters
userId string required
User ID or username.
Example:HGzIk8z78YcAPEBStatus 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 requiredExample:
d7b9MDYsbtX5L7XAj profile object required
- bio stringExample:
I started web scraping in 1985 using Altair BASIC. - name stringExample:
Jane Doe - pictureUrl string<uri>Example:
https://apify.com/img/anonymous_user_picture.png - githubUsername stringExample:
torvalds. - websiteUrl string<uri>Example:
http://www.example.com - twitterUsername stringExample:
@BillGates
- bio stringExample:
- username string requiredExample:
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 requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample: