Skip to content

MegaPlay

The MegaPlayProvider is a universal resolver that connects to megaplay.buzz. Unlike other providers that scrape specific anime sites, MegaPlay uses AniList GraphQL for search and resolves streams using official AniList IDs.

import { HttpClient, MegaPlayProvider } from 'anime-sdk';
const http = new HttpClient();
const provider = new MegaPlayProvider(http);
// Searches using AniList GraphQL
const results = await provider.search('Naruto');
const units = await provider.fetchContentUnits(results[0].id);
// Resolves using MegaPlay's direct AniList mapping
const stream = await provider.resolveStream(units[0].id, 'sub');
FeatureDetails
CatalogAnime (AniList)
Languagessub, dub
Subtitlesyes (Integrated in HLS)
MethodAniList GraphQL + ID Mapping
HLSSingle quality with VTT tracks

You can override the base URL if the host moves to a new domain:

const provider = new MegaPlayProvider(http, {
baseUrl: 'https://megaplay.buzz',
});