{"id":22436656,"url":"https://github.com/yash-garg/nyaa-api-go","last_synced_at":"2025-10-20T07:38:03.242Z","repository":{"id":37897097,"uuid":"365770575","full_name":"Yash-Garg/Nyaa-Api-Go","owner":"Yash-Garg","description":"Nyaa Search API Written in Go","archived":false,"fork":false,"pushed_at":"2023-04-14T19:59:29.000Z","size":296,"stargazers_count":9,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-08-10T16:34:01.677Z","etag":null,"topics":["api","golang","nyaa-api","nyaa-magnet-links","nyaa-si","torrents"],"latest_commit_sha":null,"homepage":"https://yashgarg.dev/g/Nyaa-Api-Ts","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yash-Garg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["Yash-Garg"]}},"created_at":"2021-05-09T14:20:04.000Z","updated_at":"2024-11-20T18:20:44.000Z","dependencies_parsed_at":"2025-08-01T15:31:51.530Z","dependency_job_id":"224e8259-0e21-4b53-8aba-91f34f2e1e25","html_url":"https://github.com/Yash-Garg/Nyaa-Api-Go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yash-Garg/Nyaa-Api-Go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Garg%2FNyaa-Api-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Garg%2FNyaa-Api-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Garg%2FNyaa-Api-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Garg%2FNyaa-Api-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yash-Garg","download_url":"https://codeload.github.com/Yash-Garg/Nyaa-Api-Go/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Garg%2FNyaa-Api-Go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274803955,"owners_count":25352923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","golang","nyaa-api","nyaa-magnet-links","nyaa-si","torrents"],"created_at":"2024-12-06T00:08:48.270Z","updated_at":"2025-10-20T07:38:03.146Z","avatar_url":"https://github.com/Yash-Garg.png","language":"Go","funding_links":["https://github.com/sponsors/Yash-Garg"],"categories":[],"sub_categories":[],"readme":"# Nyaa-Api-Go [![Better Uptime Badge](https://betteruptime.com/status-badges/v1/monitor/dkw3.svg)](https://status.yashgarg.dev/)\n\nThis API is an **Unofficial Nyaa API** used for searching torrents.\n\nMade for fun, you can use [Nyaa API](https://github.com/Vivek-Kolhe/Nyaa-API) by [@Vivek-Kolhe](https://github.com/Vivek-Kolhe/) instead if you want more endpoints.\n\n## Usage\n\n- `username` and `id` are required parameters if using `/user/{username}` and `/id/{id}` endpoints.\n\n- If no parameters are specified in other endpoints like `/anime`, `/manga`, etc. It will return the latest uploaded torrents in the respective category.\n\n- For Filters, input `filter=1` for *No Remakes* and `filter=2` for *Trusted Only*.\n\n-   #### Available Endpoints\n\t| **Arguments** | **Description** |\n\t|------|------|\n\t| `q` **(Optional)** | Search query. |\n\t| `s` **(Optional)** | Sorting parameter |\n\t| `p` **(Optional)** | Page number |\n\t| `f` **(Optional)** | Filter option |\n\t| `o` **(Optional)** | Order of sorting. Defaults to **_Descending order_**. |\n\n\t-   **Endpoints**\n\t\t| **Category** | **Endpoint** |\n\t\t|---------|---------|\n\t\t| All | `/all` |\n\t\t| Anime | `/anime` |\n\t\t| Manga | `/manga` |\n\t\t| Audio | `/audio` |\n\t\t| Pictures | `/pictures` |\n\t\t| Live Action | `/live_action` |\n\t\t| Software | `/software` |\n\t\t| ID | `/id` |\n\t\t| User | `/user` |\n\n\t-   **Sub-Categories** (Not applicable for `/user` and `/id`)\n\t\t| **Category** | **Sub-Category** |\n\t\t|------|------|\n\t\t| Anime | `/amv`, `/eng`, `/non-eng`, `/raw` |\n\t\t| Manga | `/eng`, `/non-eng`, `/raw` |\n\t\t| Audio | `/lossy`, `/lossless` |\n\t\t| Pictures | `/photos`, `/graphics` |\n\t\t| Live Action | `/promo`, `/eng`, `/non-eng`, `/raw` |\n\t\t| Software | `/application`, `/games` |\n\n\t-   **Sorting Parameters**\n\t\t| **Arguments** | **Methods** |\n\t\t| ---- | ---- |\n\t\t| Sort | `size`, `seeders`, `leechers`, `date`, `downloads` |\n\t\t| Order | `asc`, `desc` |\n\n-\t#### Search using ID\n\t- \t`https://nyaa-api-go.herokuapp.com/id/{id}`\n\n-   #### Search using category\n\t-   `https://nyaa-api-go.herokuapp.com/{category}?q={search_query}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}?q={search_query}\u0026s={sorting_parameter}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}\u0026f={filter}`\n\n-   #### Search using sub category\n\t-   `https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}\u0026s={sorting_parameter}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}`\n\t-   `https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}\u0026f={filter}`\n\n-\t#### Search using username\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}`\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}`\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}\u0026s={sorting_parameter}`\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}`\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}`\n\t- \t`https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}\u0026s={sorting_parameter}\u0026p={page_number}\u0026o={order}\u0026f={filter}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash-garg%2Fnyaa-api-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyash-garg%2Fnyaa-api-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash-garg%2Fnyaa-api-go/lists"}