Watch
1 endpoint under Watch.
GET
/v1/watch/:animeId/:episodeNumber
Resolve streaming sources for a specific episode across all providers.
| Name | In | Type | Required |
|---|---|---|---|
animeId |
path | string | required |
episodeNumber |
path | integer | required |
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
"https://your-api-host/v1/watch/{animeId}/{episodeNumber}"$ch = curl_init('https://your-api-host/v1/watch/{animeId}/{episodeNumber}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'x-animex-internal-token: YOUR_TOKEN',
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);const response = await fetch('https://your-api-host/v1/watch/{animeId}/{episodeNumber}', {
headers: {
'x-animex-internal-token': 'YOUR_TOKEN',
},
});
const data = await response.json();
console.log(data);
Example response
{
"success": true,
"data": {
"sources": [ { "url": "https://.../master.m3u8", "quality": "1080p", "isM3U8": true } ],
"subtitles": [ { "lang": "English", "url": "https://.../en.vtt" } ]
}
}