API Docs

» user/profile

Summary

Returns profile information for a user. Protected users won't return any data unless you are friends.

URL

http://api.trakt.tv/user/profile.format/apikey/username

Supported formats

json

Supported request methods

GET

Requires authentication

optional (details)

If this user has a protected profile, valid auth will allow data to be returned for yourself and any friends.

Required Parameters

  • apikey

    to view your API key.

  • username

    You can get a username by browsing the website and looking at the URL when on a profile page.

Example Request

http://api.trakt.tv/user/profile.json/apikey/justin

{
   "username":"morbo",
   "protected":false,
   "full_name":"Morbo the Annihilator",
   "gender":"",
   "age":41,
   "location":"Germany",
   "about":"student of applied informatics.\nextreme audiophil. addicted to movies and tv-shows.",
   "joined":1291859039,
   "avatar":"http://trakt.us/images/avatars/706.jpg",
   "url":"http://trakt.tv/user/morbo",
   "vip":false,
   "stats":{
      "friends":25,
      "shows":{
         "library":169,
         "watched":93,
         "collection":153,
         "shouts":13,
         "loved":42,
         "hated":6
      },
      "episodes":{
         "watched":3609,
         "watched_unique":3600,
         "scrobbles":535,
         "scrobbles_unique":526,
         "checkins":1,
         "checkins_unique":1,
         "seen":3074,
         "unwatched":3169,
         "collection":4516,
         "shouts":7,
         "loved":45,
         "hated":6
      },
      "movies":{
         "watched":601,
         "watched_unique":600,
         "scrobbles":22,
         "scrobbles_unique":21,
         "checkins":1,
         "checkins_unique":1,
         "seen":579,
         "library":1288,
         "unwatched":688,
         "collection":1237,
         "shouts":6,
         "loved":96,
         "hated":6
      }
   },
   "watching":{
      "type":"movie",
      "action":"checkin",
      "movie":{
         "title":"The Girl with the Dragon Tattoo",
         "year":2011,
         "released":1324454400,
         "url":"http://dev.trakt.tv/movie/the-girl-with-the-dragon-tattoo-2011",
         "trailer":"http://www.youtube.com/watch?v=RL8LI-h2WFc",
         "runtime":0,
         "tagline":"The Feel Bad Movie Of Christmas",
         "overview":"Remake of the Swedish movie based on the book.",
         "certification":"",
         "imdb_id":"tt1568346",
         "tmdb_id":"65754",
         "images":{
            "poster":"http://trakt.us/images/poster-dark.jpg",
            "fanart":"http://trakt.us/images/fanart-dark.jpg"
         },
         "genres":["Action","Comedy"]
      }
   },
   "watched":[
      {
         "type":"episode",
         "action":"scrobble",
         "watched":1321928510,
         "show":{
            "title":"Misfits",
            "year":2009,
            "url":"http://trakt.tv/show/misfits",
            "imdb_id":"tt1548850",
            "tvdb_id":"124051",
            "tvrage_id":"8784",
            "first_aired":1258012800,
            "country":"United Kingdom",
            "overview":"A group of teenagers are sentenced to community service for past mistakes only to find their lives changed after a storm gives them strange new powers and new problems to overcome.",
            "runtime":60,
            "network":"E4",
            "air_day":"Sunday",
            "air_time":"10:00pm",
            "certification":"",
            "images":{
               "poster":"http://trakt.us/images/posters/662.jpg",
               "fanart":"http://trakt.us/images/fanart/662.jpg",
               "banner":"http://trakt.us/images/banners/662.jpg"
            },
            "genres":["Action","Comedy"]
         },
         "episode":{
            "season":3,
            "number":4,
            "title":"Episode Four",
            "overview":"An old Jewish man plans to use some of Curtis's super-power to go back in time and kill Hitler.\n\nBut his plan goes horribly wrong and the gang find themselves in an alternate world where the Nazis conquered Britain.\n\nWith the Nazis growing stronger as they force Seth to 'deal' them super-powers, it's up to Kelly and the resistance to fight back.\n\nAs the Nazis close in, Kelly and Seth find themselves drawn to each other",
            "first_aired":1321776000,
            "url":"http://trakt.tv/show/misfits/season/3/episode/4",
            "images":{
               "screen":"http://trakt.us/images/fanart/662-940.jpg"
            }
         }
      },
      {
         "type":"movie",
         "action":"checkin",
         "watched":1321921391,
         "movie":{
            "title":"Scarface",
            "year":1983,
            "released":439804800,
            "url":"http://trakt.tv/movie/scarface-1983",
            "trailer":"http://www.youtube.com/watch?v=7pQQHnqBa2E",
            "runtime":170,
            "tagline":"The world is yours...",
            "overview":"In 1980 Miami, a determined Cuban immigrant takes over a drug cartel while succumbing to greed.",
            "certification":"R",
            "imdb_id":"tt0086250",
            "tmdb_id":"111",
            "images":{
               "poster":"http://trakt.us/images/poster-dark.1.jpg",
               "fanart":"http://trakt.us/images/fanart-dark.1.jpg"
            },
            "genres":["Action","Comedy"]
         }
      }
   ]
}
loading...
Join trakt

Sign in to trakt

forgot?

Sign In
Forgot your password?
Check your email for further instructions!
We couldn't find that e-mail!

Create your new password