API Function - Get User Details

Back to API list

Use this service to get various user details and statistics.

URL /api/get_user_details
Method GET
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
email - The user's logon email.
pass - The user's password.
hash - User Hash Key, alternate to providing email+pass.

Output data with fields:

  • user_id - User ID
  • username - Username
  • realname - Real name as per user's profile.
  • last_activity - Timestamp of the last website activity for the user
  • last_ip - The IP that the user was last seen using the website
  • avatar_url - URL for the user's avatar image
  • location - Location field on user's profile.
  • karma - Karma points earned by the user.
  • total_sets - Total number of sets in the user's set lists.
  • unique_sets - Number of unique sets in the user's set lists.
  • set_parts - Number of parts across all of the sets in the user's set lists.
  • loose_parts - Number of parts in the user's loose parts lists.
  • unique_parts - Number of unique parts in the user's loose parts lists.
  • last_inv_modified - The date/time of the last change to the user's collection, either sets or loose parts.
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • INVALIDPASS - Invalid user email or password
  • INVALIDHASH - The hash key does not match a user/password
  • Test Values

    API Key:
    User email:
    User password:
    User hash:

    Test Results