API Changelog

Here’s a list of recent updates and bug fixes to the V2 Trakt.tv API. This post will be updated as new things are added to the API.

View the full API Documentation on Apiary. Also make sure to join our Google+ community to discuss anything API related. Some updates below have g+ links to further discuss.

UPDATES IN PROGRESS

  • Improved recommendations

August 24, 2015


UPDATES

X-Pagination-Page-Count: 10
X-Pagination-Item-Count: 100

BUGS

  • /users/:username/lists/:id/items correctly returns based on the extended parameter.
  • User lists correctly updated the updated_at timestamp after re-ordering the items on the website.

August 18, 2015


UPDATES

  • /sync/history and /sync/collection accept a special string released for the watched_at and collected_at dates. This automatically uses the initial release date for the episode or movie.

August 5, 2015


UPDATES


July 24, 2015


UPDATES

BUGS

  • TV show banner images will fallback to TVDB if Fanart.tv doesn’t have one yet.

June 26, 2015


BUGS

  • Calendar methods were adding 1 additional day of episodes in some cases.
  • Fixed 500 error on /users/:username/watchlist for some users.

June 18, 2015


UPDATES

BUGS

  • Liking lists had a bug preventing it from saving for a small subset of users.

June 15, 2015


UPDATES

X-Pagination-Page-Count: 10
X-Pagination-Item-Count: 100

BUGS


May 27, 2015


UPDATES

  • Improved handling of watchlisted_at timestamps so they are only updated when needed.

BUGS

  • Checking in to or scrobbling an episode correctly removes the season from the watchlist if needed.

May 22, 2015


BUGS

  • Updated movie, show, season, episode, and person objects to always return null for any blank ID.
  • Fixed 500 error occurring for some show collections.

May 14, 2015


UPDATES

  • Added vip_ep flag to all base user objects. This indicates the user is an Executive Producer VIP member.

BUGS


May 11, 2015


UPDATES

  • New /users/:username/comments method added to get all reviews and shouts a user has posted. You can also filter this by the type of item.

April 24, 2015


UPDATES

  • Added user_rating to all comment methods so you can easily see what the user rated the item.
  • New /users/hidden method to get hidden items for the calendar, watched progress, collected progress, and recommendations. Useful if you want to filter our hidden items in your app. (g+)

BUGS

  • Improved the check for invalid API keys.
  • Fixed CORS headers for the /oauth endpoints. (g+)

April 22, 2015


UPDATES

  • Comments automatically turn into reviews if 200 or more words, no need to figure that out in your app anymore.

April 14, 2015


UPDATES

X-Pagination-Page-Count: 10
X-Pagination-Item-Count: 100

BUGS


April 8, 2015


UPDATES

  • PIN Authentication added for apps without direct web browser access. This includes media center plugins, command line scripts, and system services. Your app details will have the PIN URL and QR code to get you started. (g+)
  • Token (media center) auth is deprecated. Existing apps will continue to work fine, but you should update to PIN Authentication and use that moving forward.
  • CORS supported for client side apps. Specify your JavaScript origins in your app settings. (g+)
  • /shows/:id/progress/collection includes last_collected_at for the show, and collected_at for each episode.
  • /shows/:id/progress/watched includes last_watched_at for the show and each episode.
  • Stats methods added for movies, shows, seasons, and episodes.
  • Enabled the API Blueprint button on the Trakt.tv API docs so you can learn how to beautifully document your API on Apiary.io.

BUGS

  • Fixed 500 error when saving your app details. The error was due to an invalid redirect URI. Make sure to use the full domain + protocol (i.e. https://zapp.com).
  • Fixed a bug where brand new (and blank) accounts would incorrectly return episodes when viewing the personal calendar.

March 26, 2015


UPDATES

  • New /calendars methods (the old methods are now deprecated and undocumented, but will still work). The new response is a linear list of episodes or movies, starting with the oldest. The all and my results have also been split apart for improved caching and ease of use.
  • More backend performance updates to help stabilize the servers.
  • Search results weight title matches better so they show up higher in the results.

March 23, 2015


UPDATES

  • Improved /sync/history and /sync/collection performance. This should significantly speed up these methods plus have a positive impact on general API performance. (g+)

March 18, 2015


UPDATES

  • Canadian shows will use America/Toronto as the baseline time zone. This will improve the accuracy for shows and episodes on the /calendars and /show/:id/summary with full extended info.
  • All OAuth pages force SSL.
  • Gender specific avatar placeholders. These are still piped through gravatar, but the default image will change if the user has a gender selected.
  • Recommendations are still a work in progress, but have been updated to return results based on what’s popular. We’ll continue updating the algorithm to make it better.
  • /users/settings returns a account.time_24hr boolean to indicate a preference for a 24 hour time format.
  • /shows/:id/seasons can optionally return all episodes. (g+)

BUGS

  • Ignore x00 episodes (sometime TVDB syncs these over, but generally they are specials that shouldn’t show up in the normal season).
  • Ignore duplicate episodes. This will clean up the season listings and the progress percentages.

March 8, 2015


UPDATES

  • App approval is now automatic. When you create (or edit) your app, just agree to the terms listed, save your app, and you’ll be approved. Please also indicate if you plan on using checkin or scrobble functionality. (g+)

BUGS


February 25, 2015


UPDATES

  • /search supports year filtering (only applies to movies and shows).
  • /sync/playback can be filtered by type and limit.
  • Paginated methods will return HTTP headers for reference.
X-Pagination-Page: 1
X-Pagination-Limit: 10
X-Pagination-Item-Count: 543
X-Trending-User-Count: 1721

BUGS


February 20, 2015


BUGS

  • Added api-v2launch.trakt.tv as an allowed domain for Google login. However, you should use trakt.tv for all OAuth page URLs. (g+)
  • Fixed 500 error for /users/:username/watching.