Badges for Modrinth — downloads, followers, version, game versions.
Display mod stats from Modrinth, the modern Minecraft mod platform.
| Badge | Endpoint | Description |
|---|---|---|
| Downloads | /modrinth/downloads/{slug} | Total download count |
| Followers | /modrinth/followers/{slug} | Follower count |
| Version | /modrinth/v/{slug} | Latest version |
| Game Versions | /modrinth/game-versions/{slug} | Supported Minecraft versions |
Uses the Modrinth API v2. No API key required. Cached 1 hour.
Use these sections when you need the exact URL shape or a focused example for a specific badge type.
This section covers the modrinth/downloads badge endpoint.
Show total downloads for a Modrinth mod or modpack.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/downloads/sodium.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/modrinth/downloads/sodium.svg?mode=light"></picture>
/modrinth/downloads/{slug}.svgDefault — total download count
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/downloads/sodium.svg?mode=dark"><img alt="downloads" src="https://shieldcn.dev/modrinth/downloads/sodium.svg?mode=light"></picture>Branded — Modrinth green
This section covers the modrinth/followers badge endpoint.
Show the follower count for a Modrinth project.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/followers/sodium.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/modrinth/followers/sodium.svg?mode=light"></picture>
/modrinth/followers/{slug}.svgDefault — follower count
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/followers/sodium.svg?mode=dark"><img alt="followers" src="https://shieldcn.dev/modrinth/followers/sodium.svg?mode=light"></picture>Branded — Modrinth green
This section covers the modrinth/game-versions badge endpoint.
Show the range of supported Minecraft versions for a Modrinth project.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/game-versions/sodium.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/modrinth/game-versions/sodium.svg?mode=light"></picture>
/modrinth/game-versions/{slug}.svgDefault — supported Minecraft version range
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/game-versions/sodium.svg?mode=dark"><img alt="game versions" src="https://shieldcn.dev/modrinth/game-versions/sodium.svg?mode=light"></picture>Branded — Modrinth green
This section covers the modrinth/version badge endpoint.
Show the latest published version for a Modrinth project.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/v/sodium.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/modrinth/v/sodium.svg?mode=light"></picture>
/modrinth/v/{slug}.svgDefault — latest version number
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/modrinth/v/sodium.svg?mode=dark"><img alt="version" src="https://shieldcn.dev/modrinth/v/sodium.svg?mode=light"></picture>Branded — Modrinth green
