A user's public profile and the IDs of their submissions.
GET/user/{id}.json
- Takes: Username
- Passive: the target is not contacted
Returns the profile of one user. Usernames are case-sensitive. Only users with public activity are available. The about text is HTML.
Path parameters
idCase-sensitive username
Response fields · 5ShowHide
id
Unique, case-sensitive username
created
Creation date, Unix time
karma
The user's karma
about
Optional self-description (HTML)
submitted[]
IDs of the user's stories, polls and comments
curl 'https://hacker-news.firebaseio.com/v0/user/exampleuser.json'{
"about": "Example profile text",
"created": 1173923446,
"id": "exampleuser",
"karma": 120,
"submitted": [
8265435,
8168423,
8090946
]
}