- Overview
- Authentication
- Errors
- Images
- Advanced Ratings
- Scrobbling vs. Checkins
- Syncing with trakt
-
Account
-
Activity
-
Calendar
-
Comment
-
Genres
-
Lists
-
Movie
-
Movies
-
Network
-
Rate
-
Recommendations
-
Search
-
Server
-
Show
- show/cancelcheckin
- show/cancelwatching
- show/checkin
- show/comments
- show/episode/comments
- show/episode/library
- show/episode/seen
- show/episode/summary
- show/episode/unlibrary
- show/episode/unseen
- show/episode/unwatchlist
- show/episode/watchingnow
- show/episode/watchlist
- show/library
- show/related
- show/scrobble
- show/season
- show/season/library
- show/season/seen
- show/seasons
- show/seen
- show/summary
- show/unlibrary
- show/unwatchlist
- show/watching
- show/watchingnow
- show/watchlist
-
Shows
-
User
- user/calendar/shows
- user/lastactivity
- user/library/movies/all
- user/library/movies/collection
- user/library/movies/watched
- user/library/shows/all
- user/library/shows/collection
- user/library/shows/watched
- user/list
- user/lists
- user/network/followers
- user/network/following
- user/network/friends
- user/profile
- user/progress/collected
- user/progress/watched
- user/ratings/episodes
- user/ratings/movies
- user/ratings/shows
- user/watching
- user/watchlist/episodes
- user/watchlist/movies
- user/watchlist/shows
-
Deprecated
- friends/add
- friends/all
- friends/approve
- friends/delete
- friends/deny
- friends/requests
- movie/shouts
- shout/episode
- shout/movie
- shout/show
- show/episode/shouts
- show/shouts
- user/friends
- user/library/movies/hated
- user/library/movies/loved
- user/library/shows/hated
- user/library/shows/loved
- user/watched
- user/watched/episodes
- user/watched/movies
Summary
Rate one or more episodes on trakt. If an episode is already rated, the rating will be replaced. This method will not sent out any social updates. This method can handle quite a bit of data input, but we'd recommend sending multiple smaller batches if you experience slow response times.
URL
http://api.trakt.tv/rate/episodes/apikey
Supported formats
json
Supported request methods
POST
Requires authentication
true (details)
Required Parameters
-
apikey
Sign in to view your API key.
-
JSON POST
-
username
trakt username.
-
password
SHA1 hash of trakt password.
-
episodes
An array of episodes to rate. Each episode object should have the following structure.
-
tvdb_id
TVDB ID (thetvdb.com) for the show.
-
imdb_id (optional)
IMDB ID for the show.
-
title
Show title.
-
year
Show year.
-
season
Show season. Send 0 if watching a special.
-
episode
Show episode.
-
rating
Send love or hate for simple ratings. Send 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 for advanced ratings. You can also send unrate or 0 to undo a rating.
-
-
Example JSON POST
{
"username": "username",
"password": "sha1hash",
"episodes": [
{
"tvdb_id": 213221,
"title": "Portlandia",
"year": 2011,
"season": 1,
"episode": 1,
"rating": 9
},
{
"tvdb_id": 213221,
"title": "Portlandia",
"year": 2011,
"season": 1,
"episode": 2,
"rating": 5
}
]
}Example Response
{
"status":"success",
"message":"rated 2 episodes",
"rated": 2,
"unrated": 0,
"skipped": 0,
"skipped_episodes": []
}



