API Endpoint: User Information

Gets information about a specific user.

Request

GET /api/0.1/user/{userid}

Route Parameters

userid Required. Integer. The userid of the user to retrieve. Can be obtained from a call to /api/users.

GET Parameters

jsonp Optional. String. The name of a Javascript function to call with the results. See JSONP.

Example Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
   "username": "Sterling Hirsh", 
   "userid": 84700, 
   "reputation": 842, 
   "imageid": 48890, 
   "join_date": null, 
   "location": "35.2683141028,-120.669760704", 
   "certification_count": 0, 
   "badge_counts": {
      "badgeNormal": 16, 
      "badgeGreen": 11, 
      "badgeGold": 1, 
      "total": 28
   }, 
   "summary": "Favorite color: yellow.", 
   "about_source": "I'm Sterling! ''wikitext''", 
   "about_rendered": "<p>I'm Sterling! <em>wikitext</em></p>"
}