API Docs

» authentication

All API methods

All API methods require a valid API key. to view your API key.

Scrobbling API methods

Scrobbling API methods (i.e. show/watching, show/scrobble) require a developer level API key with scrobble. This is a different key the one you have attached to your account. If you would like to add trakt to your media center, please send an email to [email protected] with specific details of how you would like to use the scrobbling APIs. After you send us this information, we will assign a specific key you can use for the scrobbling API methods. This key will also work for all of the other API methods.

Create account API methods

The create account API method (i.e. account/create) require a developer level API key with create account permissions. Similar to above, please send an email to [email protected] with specific details of how you would like to use the create account APIs.

POST API methods

POST API methods require basic authentication. This means you must send your trakt username and sha1 password in your JSON data or as basic http headers.

Note: The sha1 password needs to be a 40-character hexadecimal number and compatible with the PHP sha1 function (sometimes called hex digest format).

Example JSON POST with authentication

{
	"username": "username",
	"password": "sha1hash",
	"movies": [
		{
			"imdb_id": "tt0114746",
			"title": "Twelve Monkeys",
			"year": "1995"
		}
	]
}

Example PHP basic authentication

curl_setopt($ch, CURLOPT_USERPWD, 'username:sha1hash'); 
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