Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I am creating one wordpress widget plugin that display different types of social media fans and followers counts. After that I feel that i also include Stack Overflow reputation for specific users. How can i get the Stack Overflow reputation for any user? is there any api for that ?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Yes, there is. The method you're looking for is /users/{ID}. Example:

http://api.stackoverflow.com/1.1/users/1

Which returns JSON data looking like this:

{
  "users": [
    {
      "reputation": 17246,
      ...
    }
}

Keep in mind that if you are using JavaScript to access the API, you will need to use JSONP.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .