Welcome to YTS

Smallest movies at highest quality

Account registration to YTS only takes a matter of seconds and grants you full access to all the features the YTS website has to provide.

Member Login

Lost your password?

Not a member yet? Sign Up!

If you are not a member yet, please sign up with the button below.

API Usage

This is a lightweight web service, (REST interface), which provides an easy way to access the YIFY-Torrents website.
An API (Application programming interface) is a protocol intended to be used as an interface by software components to communicate with each other.
Our API supports many methods, so there should not be a problem coding some nice applications.

Currently our API system is in very early stages, and we do plan to add more features and improve it.
If you find any bug, or have any questions, or any suggestions please get in touch with us HERE



API Methods

Upcoming Movies
List Movies
List Movies (by IMDB IDs)
Movies Details
Movie Comments
User Details
Registration
Registration Verification
Password Recovery
Resetting Forgotten password
Login
Profile Details
Posting Comments
Editing User Profile
Request List
Make Requests
Request Voting



URL Call (GET) Description
http://ytsproxy.come.in/api/upcoming.json
http://ytsproxy.come.in/api/upcoming.jsonp
http://ytsproxy.come.in/api/upcoming.xml
Using this function you can make a GET request to the API and get a list of all the upcoming movies
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/upcoming.json
Grabs all the upcoming list in JSON format
http://ytsproxy.come.in/api/upcoming.xml
Grabs all the upcoming list in XML format
Returned Variable Description Example
MovieTitle The title of the movie and year Avatar (2009)
MovieCover A URL path to the movie cover http://static.yts.come.in/attachments/_upcoming/Remains_1080.png
ImdbCode The IMDB ID of the movie tt0120689
ImdbLink The IMDB URL link of the movie http://www.imdb.com/title/tt0120735/
Uploader The name of the uploader who submitted the film Bokutox
UploaderUID The userID of the upload 16
DateAdded The datetime stamp of when the movie was added to the upcoming list (NZST) 2013-04-12 13:04:46
DateAddedEpoch The epoch time of when the movie was added to the upcoming list (NZST) 1378741831
Possible Error Responses
No upcoming movies


URL Call (GET) Description
http://ytsproxy.come.in/api/list.json
http://ytsproxy.come.in/api/list.jsonp
http://ytsproxy.come.in/api/list.xml
Using this function you can make a GET request to the API and get a list of movies, this function can be used as search and or filter. It will return the amount of results and also an array of the films named 'MovieList'
Parameter Required Valid options Default Value Description
limit No Integer between 1 - 50 (inclusive) 20 Determines the max amount of movie results
set No Integers 1 Used to see the next set of movies, eg limit=15 and set=2 will show you movies 15-30
quality No 720p, 1080p, 3D ALL Ability to select a quality type to filter by
rating No Integer between 0 - 9 (inclusive) 0 Sets minimum movie rating for display
keywords No {String} Matching keywords title search, IMDB code, Actor Name/IMDB code or Director Name/IMDB code
genre No See http://www.imdb.com/genre/ for full list ALL Display movies from chosen type genre
sort No date, seeds, peers, size, alphabet, rating, downloaded, year date Sorts the results by choose method
order No desc, asc desc Orders the results with either ascending or descending
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/list.json?quality=3D
Shows the latest 20 3D movies
UsingJSON format
http://ytsproxy.come.in/api/list.xml?sort=seeds&rating=5&limit=15
Displays 15 results sorted by highest seeds with a minimum rating of 5
UsingXML format
Returned Variable Description Example
MovieCount The total amount of movies suiting the query 3108
MovieID The ID of the movie 3408
State The current movie state OK | Disabled | Removed Due to DMCA
MovieUrl The URL of the movie http://ytsproxy.come.in/movie/Promised_Land_2012_1080p
MovieTitle The title of the movie and year Avatar (2009)
MovieTitleClean The title of the movie without the year Avatar
MovieYear The year the movie was released 2009
DateUploaded The datetime stamp of when the movie was uploaded (NZST) 2013-04-13 11:17:16
DateUploadedEpoch The epoch time of when the movie was uploaded (NZST) 1378741831
Quality The quality of the movie 1080p
CoverImage A URL path to the movie cover http://static.yts.come.in/attachments/speed_(1994)/speed_med.jpg
ImdbCode The IMDB ID of the movie tt0120689
ImdbLink The IMDB URL link of the movie http://www.imdb.com/title/tt0120735/
Size Filesize of the movie 750 MB
SizeByte Filesize of the movie in bytes 786432000
MovieRating The IMDB movie rating 6.7
Genre The primary genre of the film Action
Uploader Name of the Uploader of the film YIFY
UploaderUID The userID of the upload 16
TorrentSeeds The amount of seeders 223
Downloaded The amount of time movie was downloaded 56548
TorrentPeers The amount of peers 311
TorrentUrl The URL to download the .torrent file http://ytsproxy.come.in/download/start/Promised_Land_2012_1080p.torrent
TorrentHash The .torrent file unique hash 6cb487e9987a4fd28ac66b5460f3912a4f74541c
TorrentMagnetUrl The magnet link URL magnet:?xt=urn:btih:6cb487e9987a4fd28ac66b5460f3912a4f74541c
Possible Error Responses
No movies found


URL Call (GET) Description
http://ytsproxy.come.in/api/listimdb.json
http://ytsproxy.come.in/api/listimdb.jsonp
http://ytsproxy.come.in/api/listimdb.xml
Using this function you can make a GET request to the API and get a list of movies using a desired list of IMDB IDs. It will return the amount of results and also an array of the films named 'MovieList'
Parameter Required Valid options Default Value Description
imdb_id YES IMDB ID (can be multiple, 50 max) The input IMDB IDs to retrieve the movies for
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/listimdb.json?imdb_id=tt0499549
Shows the information for a single IMDB ID
UsingJSON format
http://ytsproxy.come.in/api/listimdb.xml?imdb_id[]=tt0499549&imdb_id[]=tt2024469&imdb_id[]=tt0114709
Shows the information for multiple IMDB IDs
UsingXML format
Returned Variable Description Example
MovieCount The total amount of movies suiting the query 3108
MovieID The ID of the movie 3408
State The current movie state OK | Disabled | Removed Due to DMCA
MovieUrl The URL of the movie http://ytsproxy.come.in/movie/Promised_Land_2012_1080p
MovieTitle The title of the movie and year Avatar (2009)
MovieTitleClean The title of the movie without the year Avatar
MovieYear The year the movie was released 2009
DateUploaded The datetime stamp of when the movie was uploaded (NZST) 2013-04-13 11:17:16
DateUploadedEpoch The epoch time of when the movie was uploaded (NZST) 1378741831
Quality The quality of the movie 1080p
CoverImage A URL path to the movie cover http://static.yts.come.in/attachments/speed_(1994)/speed_med.jpg
ImdbCode The IMDB ID of the movie tt0120689
ImdbLink The IMDB URL link of the movie http://www.imdb.com/title/tt0120735/
Size Filesize of the movie 750 MB
SizeByte Filesize of the movie in bytes 786432000
MovieRating The IMDB movie rating 6.7
Genre The primary genre of the film Action
Uploader Name of the Uploader of the film YIFY
UploaderUID The userID of the upload 16
TorrentSeeds The amount of seeders 223
Downloaded The amount of time movie was downloaded 56548
TorrentPeers The amount of peers 311
TorrentUrl The URL to download the .torrent file http://ytsproxy.come.in/download/start/Promised_Land_2012_1080p.torrent
TorrentHash The .torrent file unique hash 6cb487e9987a4fd28ac66b5460f3912a4f74541c
TorrentMagnetUrl The magnet link URL magnet:?xt=urn:btih:6cb487e9987a4fd28ac66b5460f3912a4f74541c
Possible Error Responses
No movies found
Max 50 'imdb_id' per request
Missing 'imdb_id' input


URL Call (GET) Description
http://ytsproxy.come.in/api/movie.json
http://ytsproxy.come.in/api/movie.jsonp
http://ytsproxy.come.in/api/movie.xml
Using this function you can make a GET request to the API with the unique ID of the movie and get all information relating to it
Parameter Required Valid options Default Value Description
id Yes Integer View full details of specified MovieID
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/movie.json?id=353
Shows full movie details usingJSON format
Returned Variable Description Example
MovieID The ID of the movie 3408
MovieUrl The full movie URL http://ytsproxy.come.in/movie/Promised_Land_2012_1080p
DateUploaded The datetime stamp of when the film was uploaded (NZST) 2013-04-13 11:17:16
DateUploadedEpoch The epoch time of when the film was uploaded (NZST) 1378741831
Uploader Name of the Uploader of the film Gaz
UploaderUID The userID of the upload 16
UploaderNotes Any notes the uploader added to the film 1080p will be uploaded soon!
Quality The quality of the film 1080p
Resolution The video resolution of the film 1920*1040
FrameRate The video framerate of the film (FPS) 23.976
Language The audio language English
Subtitles Info about the subtitles NONE
MediumCover URL to medium movie cover http://static.yts.come.in/attachments/speed_(1994)/speed_med.jpg
LargeCover URL to large movie cover http://static.yts.come.in/attachments/speed_(1994)/speed_large.jpg
LargeScreenshot1 URL to large screenshot1 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h23m19_large.png
LargeScreenshot2 URL to large screenshot 2 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h23m30_large.png
LargeScreenshot3 URL to large screenshot 3 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h24m09_large.png
MediumScreenshot1 URL to medium screenshot 1 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h23m19_med.png
MediumScreenshot2 URL to medium screenshot 2 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h23m30_med.png
MediumScreenshot3 URL to medium screenshot 3 http://static.yts.come.in/attachments/speed_(1994)/vlcsnap2010112010h24m09_med.png
ImdbCode The IMDB ID of the movie tt0120689
ImdbLink The IMDB URL link of the movie http://www.imdb.com/title/tt0120735/
MovieTitle The title of the movie and year Avatar (2009)
MovieTitleClean The title of the movie without the year Avatar
MovieYear The year the movie was released 2009
MovieRating The IMDB rating of the film 6.7
MovieRuntime The runtime length of the film (in minutes) 135
YoutubeTrailerID The film trail youtube ID AHQt1NAkhIo
YoutubeTrailerUrl Full URL to the youtube trailer http://www.youtube.com/watch?v=AHQt1NAkhIo
AgeRating MPAA rating of film PG_13
Genre1 Primary genre of film Action
Genre2 Secondary genre of film Drama
ShortDescription Short movie plot A salesman for a natural gas company experiences life-changing events
LongDescription Long movie plot A salesman for a natural.... into the available resource
CastList The list of (max 4) Actors ActorName CharacterName ActorImdbCode ActorImdbLink
DirectorList The list of Directors DirectorName DirectorImdbCode DirectorImdbLink
Downloaded The number of time the movie was downloaded 342532
TorrentUrl .torrent file download URL http://ytsproxy.come.in/download/start/Promised_Land_2012_1080p.torrent
TorrentHash Torrent Hash 6cb487e9987a4fd28ac66b5460f3912a4f74541c
TorrentMagnetUrl Torrent magnet URL link magnet:?xt=urn:btih:6cb487e9987a4fd28ac66b5460f3912a4f74541c
TorrentSeeds The amount of seeders 223
TorrentPeers he amount of peers 311
Size Filesize of the movie 750 MB
SizeByte Filesize of the movie in bytes 786432000
Possible Error Responses
No Movie Found
Movie has been temporarily disabled
Movie removed due to DMCA


URL Call (GET) Description
http://ytsproxy.come.in/api/comments.json
http://ytsproxy.come.in/api/comments.jsonp
http://ytsproxy.come.in/api/comments.xml
Using this function you can make a GET request to the API with the unique ID of the movie and get all the comments made on that specific film
Parameter Required Valid options Description
movieid Yes Integer View full list of comments for specified film
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/comments.json?movieid=353
Shows list of all the comments made for the specified film using JSON format
Returned Variable Description Example
CommentID The unique ID of the comment 3408
CommentText The comment made Great movie, I loved it!
DateAdded The datetime stamp of when the comment was made (NZST) 2013-04-13 11:17:16
DateAddedEpoch The epoch time of when the comment was made (NZST) 1378741831
UserID The unique ID of the user who made that comment 16
ParentCommentID ParentCommentID is the parent comment that is being replied to (null if it is not a reply) null
UserName The username of the user who made the comment L81
UserAvatar The URL to the avatar of the user who made the comment http://static.yts.come.in/avatar/591511350075857.jpg
UserGroup The group/class the user belong to VIP
Possible Error Responses
No comments made on this film
Movie not found
'movieid' parameter is missing


URL Call (GET) Description
http://ytsproxy.come.in/api/user.json
http://ytsproxy.come.in/api/user.jsonp
http://ytsproxy.come.in/api/user.xml
Using this function you can make a GET request to the API with the unique ID of the user and get all the details about them
Parameter Required Valid options Description
id Yes Integer The unique userID that we want to see the info for
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/user.json?id=16
Shows the information about user with the ID 16 using JSON format
Returned Variable Description Example
UserID The unique ID of the user 16
UserName The username of the specified user YIFY
JoinDated The datetime stamp of when the user signed up (NZST) 2013-04-13 11:17:16
JoinDatedEpoch The epoch time of when the user signed up (NZST) 1378741831
LastSeenDate The datetime stamp of when the user last logged in (NZST) 2013-05-11 16:20:21
LastSeenDateEpoch The epoch time of when the user last logged in (NZST) 1378741831
TorrentsDownloadedCount The number of torrents downloaded by user 32
MoviesRequestedCount The number of movie requests made by user 3
CommentCount The number of comments made by user 355
ChatTimeSeconds Time spent in the chat room (in seconds) 3888
Avatar The user's avatar URL path http://static.yts.come.in/avatar/161349782156.gif
UserRole The user class/group the use is part of Admin
About Returns the user's "about" section (can be null) Hello guys, I am aweosme!
Possible Error Responses
No user found.
The user you are trying to view is currently disabled.
Missing 'id' input for user


URL Call (POST) Description
http://ytsproxy.come.in/api/register.json
http://ytsproxy.come.in/api/register.jsonp
http://ytsproxy.come.in/api/register.xml
Using this simple API you can post data and register a new account. (An email verification notice will still be sent and need to be activated before account is fully functional)
Parameter Required Valid options Description
username Yes {String} (3 or more characters) The username of the desired account
password Yes {String} (6 or more characters) The username of the desired account
email Yes {String} (valid email address) The email address for verification
Returned Variable Description Example
status If the call is successful the API will return a success message An activation email has been sent MyNewUser
Possible Error Responses
Sorry, the username you have entered contains blacklisted word(s).
The field 'username' has to contain at least 3 characters.
The field 'username' must be unique, but XXXXXX has already been used
The field 'password' has to contain at least 6 characters.
The field 'email' must be unique, but XXXXX@XXX.XXX has already been used
The field 'email' must contain a valid email address.
either 'email', 'username' or 'password' parameters missing
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/registerconfirm.json
http://ytsproxy.come.in/api/registerconfirm.jsonp
http://ytsproxy.come.in/api/registerconfirm.xml
Using this simple API you can post data and register a new account. (An email verification notice will still be sent and need to be activated before account is fully functional)
Parameter Required Valid options Description
code Yes {String} This is the Verification code to activcate your account after registration
Returned Variable Description Example
status If the call is successful the API will return a success message Account is now active
Possible Error Responses
Invalid verification code
Missing 'code' parameter
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/login.json
http://ytsproxy.come.in/api/login.jsonp
http://ytsproxy.come.in/api/login.xml
To be able to make any posts to the website each user will need to authenticate, using this login method you are returned a unique user hash. using this hash you can make other posts or using a user account
Parameter Required Valid options Description
username Yes {String} The username of the account
password Yes {String} The username of the account
Returned Variable Description Example
hash The unique hash that will be used as a mean of authentication 66b88995c3cf17a20fe6ada08c7a5a29a1861d35
userID The unique userID of the authenticated user 16
userRole The user class/group the use is part of Admin
username The username of the authenticated user YIFY
Possible Error Responses
Sorry, your account is not Activated
Sorry, Username or Password is incorrect
either 'username' or 'password' parameters missing
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/sendresetpass.json
http://ytsproxy.come.in/api/sendresetpass.jsonp
http://ytsproxy.come.in/api/sendresetpass.xml
Using this simple API call you can ask for a password recovery code to be sent to your email address and later call the 'resetpassconfirm' method to cahnge it
Parameter Required Valid options Description
email Yes {String} The email address that was regsitered with the account to send recovery code to
Returned Variable Description Example
status If the call is successful the API will return a success message password reset code has been sent
Possible Error Responses
missing 'email' parameter
Sorry, XXXXX@XXX.XXX does not exist.
Needs to be a POST request


URL Call (GET) Description
http://ytsproxy.come.in/api/profile.json
http://ytsproxy.come.in/api/profile.jsonp
http://ytsproxy.come.in/api/profile.xml
Using this function you can make a GET request to the API with the unique HASH of the authenticated user to view their full profile details
Parameter Required Valid options Description
hash Yes {String} The unique hash that will be used as a mean of authentication
Returned Variable Description Example
UserID The unique ID of the user 16
UserName The username of the specified user YIFY
JoinDated The datetime stamp of when the user signed up (NZST) 2013-04-13 11:17:16
JoinDatedEpoch The epoch time of when the user signed up (NZST) 1378741831
LastSeenDate The datetime stamp of when the user last logged in (NZST) 2013-05-11 16:20:21
LastSeenDateEpoch The epoch time of when the user last logged in (NZST) 1378741831
IpAddress The IP address te user was last logged in with 123.155.12.83
NumOfVotesLeft The number of votes the user has left (for request system) 23
NumOfRequestsLeft The number of requests the user has left (for request system) 2
ProfileActive A boolean (1 or 0) to see if their profile is active and showing 1
TorrentsDownloadedCount The number of torrents downloaded by user 32
MoviesRequestedCount The number of movie requests made by user 3
CommentCount The number of comments made by user 355
ChatTimeSeconds Time spent in the chat room (in seconds) 3888
Avatar The user's avatar URL path http://static.yts.come.in/avatar/161349782156.gif
UserRole The user class/group the use is part of Admin
About Returns the user's "about" section (can be null) Hello guys, I am aweosme!
Possible Error Responses
wrong user hash
missing 'hash' parameter


URL Call (POST) Description
http://ytsproxy.come.in/api/resetpassconfirm.json
http://ytsproxy.come.in/api/resetpassconfirm.jsonp
http://ytsproxy.come.in/api/resetpassconfirm.xml
If a user wants to reset their password they will need to ask for a reset code and then using this function they will be able to reset and center a new password for their account
Parameter Required Valid options Description
code Yes {String} The password reset code from email
newpassword Yes {String} The new desired password for the account
Returned Variable Description Example
status The success call that confirms the password change password has been changed
Possible Error Responses
code is incorrect
missing 'newpassword' parameter
missing 'code' parameter
The field 'newpassword' has to contain at least 6 characters.
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/commentpost.json
http://ytsproxy.come.in/api/commentpost.jsonp
http://ytsproxy.come.in/api/commentpost.xml
Using this function you can make a POST request to the API with the user hash, movieid and text to make a comment on a movie
Parameter Required Valid options Description
hash Yes {String} Unique user hash used to identify the user (using login api call)
replyid No Integer Unique ID of the comment you want to reply to
text Yes {String} The text for the desired comment
movieid Yes Integer Unique movie ID to post the comment on
Returned Variable Description Example
status The status of the comment post successfully posted comment
Possible Error Responses
Movie not found
wrong user hash
either 'hash', 'movieid' or 'text' parameters missing
comment ID you tried to reply to does not exist
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/editprofile.json
http://ytsproxy.come.in/api/editprofile.jsonp
http://ytsproxy.come.in/api/editprofile.xml
Using this function you can make a POST request to the API with the user hash, and edit user preference such as the avatar picture or password
Parameter Required Valid options Description
hash Yes {String} Unique user hash used to identify the user (using login api call)
active No Integer (1 or 0) By default all profiles are showing and active(1), 0 will make them hidden
about No {String} Text describing the user in a short paragraph
newpassword No {String} The new desired password (required 'oldpassword' for confirmation)
oldpassword No {String} The old password as confirmation
avatar No img | jpg | jpeg | gif | png (1MB max) This will be the newest avatar image for the user
Returned Variable Description Example
status The status of the change changes made successfully
Possible Error Responses
old password was incorrect
wrong user hash
The field 'newpassword' has to contain at least 6 characters.
image error: The uploaded file exceeds the defined maximum size
image error: Upload of files with this extension is not allowed
Needs to be a POST request


URL Call (GET) Description
http://ytsproxy.come.in/api/requests.json
http://ytsproxy.come.in/api/requests.jsonp
http://ytsproxy.come.in/api/requests.xml
Using this function you can make a GET request to the API and get a list of all the current requests and information about them. It will return the amount of results and also an array of the films named 'RequestList'
Parameter Required Valid options Default Value Description
page Yes 'accepted' or 'confirmed' Gives the choice to vew the currently open movies for voting and the confirmed movies to be done
limit No Integer between 1 - 50 (inclusive) 20 Determines the max amount of request results
set No Integers 1 Used to see the next set of movies, eg limit=15 and set=2 will show you movies 15-30
sort No date, rating, votes votes Sorts the results by choose method
order No desc, asc desc Orders the results with either ascending or descending
Usage Example (GET Requests) Description
http://ytsproxy.come.in/api/requests.json?page=confirmed
Shows the latest 20 requets in the confrimed section ordered by hgihest votes
UsingJSON format
http://ytsproxy.come.in/api/requests.xml?page=accepted&order=date&order=asc&limit=15
Displays 15 results sorted by oldest date
UsingXML format
Returned Variable Description Example
MovieCount The total amount of requets suiting the query 54
RequestID The ID of the request 3408
MovieTitleClean The name of the movie without the year Once Upon a Time in the West
MovieYear The year the movie was released 1968
MovieTitle The name of the movie Once Upon a Time in the West (1968)
ImdbCode The IMDB ID of the movie tt0120689
ImdbLink The IMDB URL link of the movie http://www.imdb.com/title/tt0120735
CoverImage A URL path to the movie cover http://static.yts.come.in/attachments/speed_(1994)/speed_med.jpg
ShortDescription Short movie plot A salesman for a natural gas company experiences life-changing events
Genre The primary genre of the film Action
MovieRating The IMDB movie rating 6.7
DateAdded The datetime stamp of when the request was added (NZST) 2013-04-13 11:17:16
DateAddedEpoch The epoch time of when the request was added (NZST) 1378741831
Votes Number of votes made on request 43213
UserID The User ID of the user who submitted the request 568
Username The Username of the user who submitted the request iTeh_skyss
Possible Error Responses
the 'page' parameters has to be set to either `confirmed` or `accepted`


URL Call (POST) Description
http://ytsproxy.come.in/api/makerequest.json
http://ytsproxy.come.in/api/makerequest.jsonp
http://ytsproxy.come.in/api/makerequest.xml
Using this function you can make a POST request to the API with the user hash and request for a movie
Parameter Required Valid options Description
hash Yes {String} Unique user hash used to identify the user (using login api call)
request Yes {String} Request input can be: Movie name or IMDB Code or IMDB URL
Returned Variable Description Example
status The status of the request submission Request has been submitted and is now pending review.
Possible Error Responses
Missing 'hash' parameter
wrong user hash
You dont have any requests left
Movie has already been uploaded, MovieID: XXXX
This movie has already been confirmed
Movie has already been requested, we have noted that you have requested this movie.
You have alread requested this movie
Could not find movie
missing 'request' parameter
Needs to be a POST request


URL Call (POST) Description
http://ytsproxy.come.in/api/vote.json
http://ytsproxy.come.in/api/vote.jsonp
http://ytsproxy.come.in/api/vote.xml
Using this function you can make a POST request to the API with the user hash and requestID to vote on a request
Parameter Required Valid options Description
hash Yes {String} Unique user hash used to identify the user (using login api call)
requestid Yes {Integer} The request ID you wish to vote on
Returned Variable Description Example
status The status of the vote submission Vote submission successful
Possible Error Responses
Missing 'hash' parameter
wrong user hash
You dont have any votes left
Cant vote on a 'Confirmed' Requests
Cant vote on a 'Declined' Requests
Cant vote on a 'Pending' Requests
Could not find the requested movie
missing 'requestid' parameter
Needs to be a POST request