This API is an Unofficial Nyaa API rewritten in Typescript.
Previous Go API - Yash-Garg/Nyaa-Api-Go
-
usernameandidare required parameters if using/user/{username}and/id/{id}endpoints. -
If no parameters are specified in other endpoints like
/anime,/manga, etc. It will return the latest uploaded torrents in the respective category. -
For Filters, input
filter=1for No Remakes andfilter=2for Trusted Only. -
Arguments Description q(Optional)Search query. s(Optional)Sorting parameter p(Optional)Page number f(Optional)Filter option o(Optional)Order of sorting. Defaults to Descending order. -
Endpoints
Category Endpoint All /allAnime /animeManga /mangaAudio /audioPictures /picturesLive Action /live_actionSoftware /softwareID /idUser /user -
Sub-Categories (Not applicable for
/userand/id)Category Sub-Category Anime /amv,/eng,/non-eng,/rawManga /eng,/non-eng,/rawAudio /lossy,/losslessPictures /photos,/graphicsLive Action /promo,/eng,/non-eng,/rawSoftware /application,/games -
Sorting Parameters
Arguments Methods Sort size,seeders,leechers,date,downloadsOrder asc,desc
-
-
https://nyaa-api-ts.yashg.workers.dev/id/{id}
-
https://nyaa-api-ts.yashg.workers.dev/{category}?q={search_query}https://nyaa-api-ts.yashg.workers.dev/{category}?q={search_query}&s={sorting_parameter}https://nyaa-api-ts.yashg.workers.dev/{category}?q={search_query}&s={sorting_parameter}&p={page_number}https://nyaa-api-ts.yashg.workers.dev/{category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}https://nyaa-api-ts.yashg.workers.dev/{category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}
-
https://nyaa-api-ts.yashg.workers.dev/{category}/{sub_category}?q={search_query}https://nyaa-api-ts.yashg.workers.dev/{category}/{sub_category}?q={search_query}&s={sorting_parameter}https://nyaa-api-ts.yashg.workers.dev/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}https://nyaa-api-ts.yashg.workers.dev/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}https://nyaa-api-ts.yashg.workers.dev/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}
-
https://nyaa-api-ts.yashg.workers.dev/user/{username}https://nyaa-api-ts.yashg.workers.dev/user/{username}?q={search_query}https://nyaa-api-ts.yashg.workers.dev/user/{username}?q={search_query}&s={sorting_parameter}https://nyaa-api-ts.yashg.workers.dev/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}https://nyaa-api-ts.yashg.workers.dev/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}https://nyaa-api-ts.yashg.workers.dev/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}