API


Endpoint


http://moviestreamingapi.com/web-service/getlink

Options


  • api_key (required)
  • title (required if not given imdb id)
  • imdb (required if not given title) i.e. tt0113375 or 0113375
  • year (optional)
  • iframe (optional) - values(true, false)

Multiple Query Examples

With Title:
http://moviestreamingapi.com/web-service/getlink?api_key=12345&title=Deadpool
OR
With Title & Year:
http://moviestreamingapi.com/web-service/getlink?api_key=12345&title=Deadpool&year=2016
OR
With IMDB ID:
http://moviestreamingapi.com/web-service/getlink?api_key=12345&imdb=tt1431045
OR
With IMDB ID and Year:
http://moviestreamingapi.com/web-service/getlink?api_key=12345&imdb=tt1431045&year=2016
OR
With Title and IMDB ID and Year:
http://moviestreamingapi.com/web-service/getlink?api_key=12345&title=Deadpool&imdb=tt1431045&year=2016

Fields Returned (JSON)

{

"status":"success",
"message":"Link successfully retrieved!",
"stream":"https:\/\/openload.co\/embed\/4ITyEvNZ_tQ\/Deadpool+2016+BDRip+x264.mp4",
"info":{

"Title":"Deadpool",
"Image":"https:\/\/images-na.ssl-images-amazon.com\/images\/M\/[email protected]_V1._SY200.jpg",
"Description":"The opening scene shows Wade Wilson, the superhero Deadpool (Ryan Reynolds) in a cab, bored in the backseat...",
"Genres":"Action, Adventure, Comedy, Romance, Sci-Fi",
"Released":"12 February 2016",
"Duration":"108",
"Country":"USA",
"Directors":"Tim Miller",
"Starring":"Ryan Reynolds, Karan Soni, Ed Skrein, Michael Benyaer, Stefan Kapicic",
"IMDB_Rating":"8.1",
"IMDB_ID":"1431045"
},
"queriestoday":"50 of 1000"
}



Code example in PHP

<?php

$url = 'http://moviestreamingapi.com/web-service/getlink?api_key=12345&title=Deadpool';
$html = file_get_contents($url);
$json = json_decode($html);

echo $status = $json->status;
echo '<br>';
echo $message = $json->message;
echo '<br>';
echo $stream = $json->stream;
echo '<br>';
echo $queries = $json->queriestoday;
echo '<br><br>Info:';
$info = $json->info;
var_dump($info);

?>


Code output

success
Link successfully retrieved!
https://openload.co/embed/4ITyEvNZ_tQ/Deadpool+2016+BDRip+x264.mp4
65 of 1000

Info:object(stdClass)#2 (11) { ["Title"]=> string(8) "Deadpool" ["Image"]=> string(112) "https://images-na.ssl-images-amazon.com/images/M/[email protected]_V1._SY200.jpg" ["Description"]=> string(110) "The opening scene shows Wade Wilson, the superhero Deadpool (Ryan Reynolds) in a cab, bored in the backseat..." ["Genres"]=> string(42) "Action, Adventure, Comedy, Romance, Sci-Fi" ["Released"]=> string(16) "12 February 2016" ["Duration"]=> string(3) "108" ["Country"]=> string(3) "USA" ["Directors"]=> string(10) "Tim Miller" ["Starring"]=> string(69) "Ryan Reynolds, Karan Soni, Ed Skrein, Michael Benyaer, Stefan Kapicic" ["IMDB_Rating"]=> string(3) "8.1" ["IMDB_ID"]=> string(7) "1431045" }