Klout API Resource Detail

This documentation has been superceded by I/O Docs.

If you are using POST requests, we ask that you please consider moving to the simpler GET.  Because none of our endpoints accept data to add, POST requests simply do not make RESTful sense.

 

The Klout API is designed to return influence metrics generated by Klout. The parameter [api_key] refers to the assigned developer key.  Influence metrics are given in relation to a given user.

Score Methods

/klout

  • (GET): http://api.klout.com/1/klout.[return_type]?key=[api_key]&users=[usernames]
    This method returns user score pair (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". [usernames] is a comma delimited list of usernames.

  • (POST): http://api.klout.com/1/klout.[return_type]?key=[api_key]
    This method returns user score pair (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". Expects a JSON parameter named "users". Up to 5 usernames can be requested.

User Methods

/show

  • (GET): http://api.klout.com/1/users/show.[return_type]?key=[api_key]&users=[usernames]
    Returns user objects (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". [usernames] is a comma delimited list of usernames.

  • (POST): http://api.klout.com/1/users/show.[return_type]?key=[api_key]
    Returns user objects (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". Expects a JSON parameter named "users". Up to 5 usernames can be requested.
/topics

  • (GET): http://api.klout.com/1/users/topics.[return_type]?key=[api_key]&users=[usernames]
    Returns topic objects (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". [usernames] is a comma delimited list of usernames.

  • (POST): http://api.klout.com/1/users/topics.[return_type]?key=[api_key]
    Returns topic objects (see Response Formats) in XML or JSON with [return_type] as "xml" or "json". Expects a JSON parameter named "users". Up to 5 usernames can be requested.

Relationship Methods (Strength Of Influence)

/influenced_by

  • (GET): http://api.klout.com/1/soi/influenced_by.[return_type]?key=[api_key]&users=[usernames]
    Returns the top 5 user score pairs (see Response Formats) that are influenced by the given user(s). Returns either XML or JSON with [return_type] as "xml" or "json". [usernames] is a comma delimited list of usernames.

  • (POST): http://api.klout.com/1/soi/influenced_by.[return_type]?key=[api_key]
    Returns user score pairs (see Response Formats) that are influenced by the given user(s). Returns either XML or JSON with [return_type] as "xml" or "json". Expects a JSON parameter named "users" containing the users_ids to show. Up to 5 users can be requested.
/influencer_of

  • (GET): http://api.klout.com/1/soi/influencer_of.[return_type]?key=[api_key]&users=[usernames]
    Returns the top 5 user score pairs (see Response Formats) that are influencers of the given user(s). Returns either XML or JSON with [return_type] as "xml" or "json". [usernames] is a comma delimited list of usernames.

  • (POST): http://api.klout.com/1/soi/influencer_of.[return_type]?key=[api_key]
    Returns user score pairs (see Response Formats) that are influencers of the given user(s). Returns either XML or JSON with [return_type] as "xml" or "json". Expects a JSON parameter named "users" containing the users_ids to show. Up to 5 users can be requested.