Modgrade API

Free JSON: the result of the projects you ask for, and the list of projects with malware. No key needed.

Project lookup

The security result of up to 100 projects per request, by CurseForge or Modrinth project id, CurseForge or Modrinth slug, or file SHA-1. Separate several values with commas, and mix them if you like. An id never changes; a slug can, when its author renames the project. The optional game parameter names the game: game=minecraft (the default), game=hytale or game=bedrock (Minecraft Bedrock). Hytale and Bedrock projects are on CurseForge only, so their lookups take CurseForge ids and slugs and file SHA-1s. Every endpoint below takes the game parameter too.

curl "https://modgrade.com/api/v1/projects?modrinth=AANobbMI,P7dR8mSH"
curl "https://modgrade.com/api/v1/projects?curseforge=394468"
curl "https://modgrade.com/api/v1/projects?modrinth_slug=sodium&curseforge_slug=jei"
curl "https://modgrade.com/api/v1/projects?software=discord"
curl "https://modgrade.com/api/v1/projects?sha1=<40 hex characters>"

A shortened answer:

{
  "version": 1,
  "generated_at": "2026-10-24T20:00:00Z",
  "data_updated_at": "2026-10-24T18:59:17Z",
  "results": [
    {
      "query": "modrinth:AANobbMI",
      "found": true,
      "project": {
        "id": "mg_01m232r6303kss5prbhgy22dy4",
        "slug": "sodium",
        "type": "mod",
        "title": "Sodium",
        "url": "https://modgrade.com/minecraft/mods/sodium",
        "grade": null,
        "grade_note": null,
        "security": "passed",
        "malware_platforms": null,
        "malware_confirmed": null,
        "malware_scope": null,
        "coverage": {
          "latest_files": 7,
          "checked": 7,
          "code_read": 7,
          "read_in_part": 0,
          "cannot_check": 0,
          "recent_versions_only": false
        },
        "modrinth_id": "AANobbMI",
        "curseforge_id": 394468,
        "reasons": null,
        "checked_at": "2026-10-30T14:12:05Z"
      },
      "malware_on_this_platform": false,
      "file": null
    },
    {
      "query": "curseforge:1",
      "found": false,
      "project": null,
      "malware_on_this_platform": null,
      "file": null
    }
  ],
  "notice": "Since December 2026, security and file.result are passed, warning, malware or not_checked ...",
  "terms": "Free to use. Show a visible link to the project's Modgrade page wherever you show this data. No guarantee: ...",
  "docs": "https://modgrade.com/api"
}
generated_at
When this answer was generated.
data_updated_at
When Modgrade's data was last updated. It is updated every 2 hours.
results
One result per value asked for, in the order of the request. A value asked twice is answered once.
notice
A change you should know about, for a month after it happens. null when there is none.
query
The value you asked for: modrinth:<id>, curseforge:<id>, modrinth_slug:<slug>, curseforge_slug:<slug>, software:<slug> or sha1:<hash>. A slug is given in lower case.
found
false when Modgrade does not know this project or file. Also for a slug that no project has now, for example after the project changed its slug.
project.id, slug, type, title, url
As in the malware feed. url is the project page on Modgrade.
project.game
The game of the project: minecraft, hytale for a lookup with game=hytale, or bedrock for a lookup with game=bedrock. null for software. It comes after the other fields.
project.grade, project.grade_note
Retired on 1 Nov 2026, when the site dropped its grades: always null. Kept so that version 1 keeps the same fields, and removed in version 2 of this API. Use security.
project.security
The result of the checks on its current files: passed, warning, malware or not_checked. Since 29 Nov 2026 partly_checked is no longer sent: a project with any current file not checked or not read in full is not_checked, and a modpack is passed only when every project in it is checked.
project.malware_platforms
With malware only: the platforms where it was published, as in the malware feed. null otherwise.
project.malware_confirmed
With malware only: true when the project is in the malware feed, which lists confirmed malware only. false for a modpack whose installed file is not checked yet. null otherwise.
project.malware_scope
With malware only: the same as malware_scope in the malware feed (some_files or project). null otherwise and for a modpack.
project.coverage
The current files the result is about: latest_files, checked, code_read (their code was read), read_in_part (part of their code could not be read: those files are not_checked), cannot_check (CurseForge does not let other sites download them) and recent_versions_only (always false since 1 Nov 2026: every current file counts, as on the project page; kept for version 1). null for a modpack.
project.modrinth_id, project.curseforge_id
The project on each platform. null when it is not there.
project.reasons
With malware or a warning: why, as short codes from the list below. An empty list when the reason has no code yet, for example a modpack with a warning through the projects it includes. null otherwise. Added on 3 Nov 2026.
project.checked_at
When the newest checked file among the project's current files was last checked (its file check or the reading of its code), UTC, ISO 8601. It changes only when that file is checked again. null when no current file is checked. Added on 3 Nov 2026.
malware_on_this_platform
For a CurseForge or Modrinth id or slug: true when the project's malware was published on that platform. A project on both platforms can have malware on one only. false without malware, null for a SHA-1 or a project not found.
file
For a SHA-1 only: sha1 and result, the result for that exact file: the same values as security. A Windows program or archive is passed only when its code was read in full with nothing harmful found and a test run in an isolated test machine saw nothing harmful; until then it is not_checked (nothing_found is no longer sent since 29 Nov 2026). A file can pass on its own even when its project has malware, so check project.security too.

Reason codes

The codes of project.reasons. A code never changes and is never removed. New codes may be added: show a general warning for a code you do not know.

steals_logins
Malware: steals logins, tokens or the game session and sends them away.
runs_downloaded_code
Malware: downloads hidden code and runs it.
installs_program
Malware: downloads or carries a program and starts it.
remote_control
Malware: lets a stranger run commands on the computer or server.
miner
Malware: runs a hidden cryptocurrency miner.
swaps_crypto_addresses
Malware: replaces crypto addresses copied to the clipboard.
starts_at_login
Malware: installs itself to start each time you log in.
known_malware
Malware: matches a known malware campaign, or malware Modgrade found when it read its code.
reads_login_data
Warning: reads the login data of other programs.
sends_session_token
Warning: sends the Minecraft login token elsewhere than Mojang.
names_startup_places
Warning: names places that start programs at login.
reads_clipboard_crypto
Warning: reads the clipboard next to crypto addresses.
loads_code_at_start
Warning: loads code from a fixed address at start.
matches_security_report
Warning: matches a public security report.
disguised_file
Warning: a file is not what its name says.
replaced_program
Warning: the newest file is another program that hides its addresses.
licence_unlocked_code
Warning: downloads code that a licence key unlocks and runs it.
records_and_clipboard
Warning: records the microphone or the screen and replaces the clipboard.
downloads_code_http
Warning: downloads code without encryption (http).
downloads_and_runs_code
Warning: downloads code and runs it without a check.
sends_ip_address
Warning: sends the IP address and location to a Discord webhook.
hidden_address
Warning: hides a web address in its code.
discord_webhook
Warning: sends to a Discord webhook written in its code.
reads_browser_history
Warning: reads the browser history.
sends_screenshots
Warning: sends pictures of the screen.
sends_clipboard
Warning: sends the clipboard.
sends_computer_id
Warning: sends a computer identifier.
sends_computer_names
Warning: reads the computer account name or the computer name, and sends data to a fixed address.
data_collection_site
Warning: sends data to a data collection site.
sends_hardware_names
Warning: sends the name of the processor or graphics card to a fixed address.
starts_other_programs
Warning: can download and start other programs offered by its server.
hidden_address_risky_action
Warning: hides a web address next to a program download, a command window or login data sent.
browser_disguised_downloads
Warning: downloads files in the background while posing as a web browser.
remote_script_debugger
Warning: asks to connect the script debugger to an outside address.
checks_test_machine
Warning: checks whether it runs on a test machine, a trick malware uses to hide from checks.
webcam_and_ip_lookup
Warning: has code that reads a webcam, and looks up the public IP address.
risky_native_library
Warning: a native library Modgrade does not know shows something risky in its calls or texts.

In JavaScript:

const res = await fetch("https://modgrade.com/api/v1/projects?modrinth=AANobbMI,P7dR8mSH");
if (!res.ok) throw new Error((await res.json()).error);
const { results } = await res.json();

for (const r of results) {
  if (!r.found) continue;
  const p = r.project;
  // the result of the checks, with a link to the page
  const label = p.security;
  // block only malware confirmed on the platform the file comes from
  const block = r.malware_on_this_platform === true && p.malware_confirmed === true;
  const warn = p.security === "malware";
  console.log(p.title, label, p.url, block ? "block" : warn ? "warn" : "");
}

The malware feed

The feed lists the Minecraft projects where Modgrade found malware: the projects it shows as Malware. Launchers, modpack indexes and other tools can use it to warn players or to hide these projects.

It lists nothing else: no warnings, no projects without malware.

curl "https://modgrade.com/api/v1/malware.json"

An answer with two projects, shortened. The names are made up.

{
  "version": 1,
  "generated_at": "2026-10-24T08:00:00Z",
  "count": 2,
  "projects": [
    {
      "id": "mg_0123abcd",
      "slug": "example-mod",
      "type": "mod",
      "title": "Example Mod",
      "url": "https://modgrade.com/minecraft/mods/example-mod",
      "platforms": {
        "modrinth": { "id": "AbCd1234", "slug": "example-mod", "url": "https://modrinth.com/mod/example-mod", "removed": false, "has_malware": true },
        "curseforge": { "id": 123456, "slug": "example-mod", "url": "https://www.curseforge.com/minecraft/mc-mods/example-mod", "removed": false, "has_malware": false }
      },
      "malware_platforms": ["modrinth"],
      "confirmed": true,
      "does": "steals your Minecraft session and sends it to a web address",
      "affected_files": [
        {
          "sha1": "0a1b2c3d4e5f60718293a4b5c6d7e8f901234567",
          "file_name": "example-mod-1.2.0.jar",
          "version_name": "1.2.0",
          "published_at": "2026-10-12T09:30:00Z",
          "latest": true,
          "platforms": [{ "platform": "modrinth", "version_id": "XyZ98765" }],
          "extra_file": false
        }
      ],
      "file_counts": { "with_malware": 1, "checked_without_malware": 4, "not_checked": 0 },
      "malware_scope": "some_files",
      "through_contained": false,
      "contained": [],
      "pack_own_files": [],
      "reports": [{ "platform": "modrinth", "date": "2026-10-13" }]
    },
    {
      "id": "mg_4567efgh",
      "slug": "example-pack",
      "type": "modpack",
      "title": "Example Pack",
      "url": "https://modgrade.com/minecraft/modpacks/example-pack",
      "platforms": {
        "modrinth": null,
        "curseforge": { "id": 654321, "slug": "example-pack", "url": "https://www.curseforge.com/minecraft/modpacks/example-pack", "removed": false, "has_malware": true }
      },
      "malware_platforms": ["curseforge"],
      "confirmed": true,
      "does": null,
      "affected_files": [],
      "file_counts": null,
      "malware_scope": null,
      "through_contained": true,
      "contained": [
        {
          "id": "mg_0123abcd",
          "slug": "example-mod",
          "type": "mod",
          "title": "Example Mod",
          "url": "https://modgrade.com/minecraft/mods/example-mod",
          "does": "steals your Minecraft session and sends it to a web address",
          "file_checked": true,
          "pack_file_names": []
        }
      ],
      "pack_own_files": [],
      "reports": []
    }
  ],
  "terms": "Free to use. Show a visible link to the project's Modgrade page wherever you show this data. No guarantee: ...",
  "docs": "https://modgrade.com/api"
}
version
1. It changes only if a field is renamed or removed.
generated_at
When this content was built (UTC, ISO 8601).
count
The number of projects.
projects
The projects, most downloaded first.
terms
A short version of the terms below.
docs
The address of this page.

Each project:

id
The Modgrade id of the project.
slug, type, title
As on Modgrade. type is mod, modpack, resourcepack, datapack, shader or plugin.
game
The game of the project: minecraft, or hytale in the feed with game=hytale. It comes after the other fields, in contained too.
url
The project page on Modgrade.
platforms.modrinth, platforms.curseforge
The project on each platform: id, slug, url, removed (true when the platform removed it) and has_malware (true when a file with malware was published there). null when it is not on that platform. The Modrinth id is text, the CurseForge id is a number.
malware_platforms
The platforms where the malware was published. A project on both platforms can have malware on one only: its page on the other platform is then not affected. For a modpack, the platform of the release that was checked. When it is not known, every platform of the project.
confirmed
Always true: the feed lists only confirmed malware, a file of the project itself or the exact file a modpack installs or includes. A modpack that has malware only through other files of a mod it contains, while the file it installs is not checked yet, is not in the feed: the projects lookup answers it with malware_confirmed false (warn, do not block).
does
What the malware does, in the words of the project page. null when it is not known, and for a modpack (see contained).
affected_files
The files with malware, newest first. Each has sha1, file_name, version_name, published_at, latest, platforms and extra_file. latest is true when the file is one of the project's current files (the newest for its Minecraft version and loader). platforms lists each platform with version_id (the Modrinth version id or the CurseForge file id; on CurseForge also file_id, the same id as a number) and removed (true when the platform no longer lists that file). extra_file is true when the file was published only as an extra file of Modrinth versions, next to their main file, which is the one launchers and modpacks install.
file_counts
The published files of the project: with_malware, checked_without_malware and not_checked. null for a modpack.
malware_scope
some_files: other files of the project were checked and no malware was found in them; Modgrade keeps their download and shows the alert. project: every download of the project is blocked. null for a modpack. Block the files in affected_files in both cases.
through_contained
true for a modpack listed because of a project it contains.
contained
For a modpack: the projects it contains that have malware, with id, slug, type, title, url and does. file_checked is true when the file the pack installs has malware, false when that file is not checked yet and other files of the project have malware. pack_file_names then names the files the pack installs.
pack_own_files
For a modpack: the paths of files with malware that the pack itself carries.
reports
The reports Modgrade sent to the platforms: platform and date (YYYY-MM-DD).
  • The feed changes when the checks confirm malware in a project, and when Modgrade sends a report.
  • Do not fetch it more than once every few minutes. Each answer has an ETag: send it back in If-None-Match and you get a 304 when nothing changed.
  • To check a file, compare its SHA-1 with affected_files. A file of a listed project that is not in that list is not proven harmless.

The same list, written for players, is on Malware caught. To see why a feed still helps after a removal, read Why check a mod at all.

Fake download sites

A separate list, so that the feed keeps its format: the sites that imitate a Minecraft launcher and whose download has malware. The malware list (/malware) shows the same sites.

curl "https://modgrade.com/api/v1/fake-sites.json"
domain
The site, as text.
imitates
The launcher it imitates: name, and url of the launcher's page on Modgrade, where its Fake sites tab says more.
status
online, warning (behind a Cloudflare warning), error or offline, at checked_on.
does
What the file it gives does, in the words of the launcher page.
files
The files it gave: sha256, sha1 and file_name.
checked_on
The day of the reading its status comes from (YYYY-MM-DD), null when not known.
game
The game of the launcher it imitates. Always minecraft for now.

Warn or block

  • Show the security result with a link to the project page (url), where players can see what was found.
  • A project with security malware: show a warning and link to its page.
  • Block a download only when the malware is confirmed where the file comes from: file.result is malware for that SHA-1, or malware_on_this_platform and malware_confirmed are both true. In the feed: confirmed is true and has_malware is true for that platform.
  • A project on CurseForge and Modrinth is one entry when both pages have the same author name, slug and title. The malware can be on one platform only: do not warn about the page on the other platform.
  • Passed means the checks found nothing in the files listed in coverage, not that the project is harmless.

Errors and limits

  • Each error is JSON with an error message: 400 for a bad value, 429 for too many requests, 503 when the data is briefly unavailable.
  • At most 60 lookup requests per minute from one address, and 100 values per request. Ask for many projects in one request rather than one by one. After a 429 or a 503, wait for the seconds given in Retry-After.
  • Browsers cache lookup answers for 5 minutes. They have no ETag. The malware feed has an ETag and no request limit. The data is updated every 2 hours.
  • Please send a User-Agent with your program's name and a contact, for example MyLauncher/1.2 ([email protected]), so Modgrade can reach you before a change.
  • An unknown value is null or an empty list. Fields may be added. No field is renamed or removed in version 1.

Terms

  • Free to use.
  • Show a visible link to the project page on Modgrade (the url field) wherever you show Modgrade's data. You choose the wording and the style of the link.
  • No guarantee. The feed lists what the checks found. A project that is not listed is not proven harmless, and the checks can be wrong.

Changes

  • 3 Dec 2026: the project lookup takes software, such as ?software=discord. Its type is software, and its game is null.
  • Minecraft Bedrock: all three endpoints take ?game=bedrock. The project lookup answers Bedrock projects by CurseForge id or slug and by file SHA-1, and their game field is bedrock. Nothing else changed.
  • 24 Nov 2026: Modgrade pages moved under the name of their game (https://modgrade.com/minecraft/mods/sodium). Each url now gives the new address, and the old ones redirect to it for good. Each project, contained project and site has a new field, game. All three endpoints take an optional game parameter: ?game=minecraft, the default when it is left out, or ?game=hytale for Hytale projects. An unknown game is answered with a 400. Nothing else changed.
  • 3 Nov 2026: the project lookup takes CurseForge and Modrinth slugs (modrinth_slug, curseforge_slug), and each project has two new fields, reasons and checked_at. Nothing else changed.
  • 1 Nov 2026: project.grade and project.grade_note are always null, as the site has no grade anymore. Both will be removed in version 2 of this API. Use project.security.

If you use the API, Modgrade would like to hear about your project: what it does and how it uses the data. Tell Modgrade about it, and leave your email if you want to hear about the next changes before they happen. No key or account is needed to use the API.

Contact

For a question, or a project you think is listed by mistake, use the contact form.