Update 11.08.2015
The V1 API is deprecated. I’ve updated my script to work with V2 (without using OAuth2).

Recently I migrated my movie collection to Trakt.TV. I’m very careful with my data and I don’t want to lose it in case the service is ever discontinued. So I wrote a little script which exports my:

  • Library
  • Watchlist
  • Ratings

I’ve uploaded my script so you can backup your own data. Make sure, your Trakt profile is not private, so the script can access your data.

The data is zipped as JSON in separate text files. If you prefer other formats, you will find converting tools on the web (e.g. CSV).

You can also call this script directly, e.g. save it as a bookmark or use wget:

Although the script doesn’t alter anything on Trakt and I’m not storing any of your data, I have to include a disclaimer:

I do not take any responsibility and I’m not liable for any damage caused through use of this service.

You can check out the source code on GitHub. Feel free to adjust it and use it on your own web server.