Skip to main content

Overview

The tags API provides access to all available metadata tags used throughout Modrinth, including loaders, game versions, categories, licenses, and more.

Get Available Games

Returns a list of all supported games on Modrinth.

Response

array
Array of game objects.

Example

Get Loaders

Returns a list of all available loaders (Fabric, Forge, Quilt, NeoForge, etc.).

Response

array
Array of loader objects.

Example

Get Categories

Returns all available project categories.

Response

array
Array of category objects.

Example

Get Loader Fields

Returns enumerable values for a specific loader field (like game versions).

Query Parameters

string
required
The name of the loader field to get values for.Common fields:
  • game_versions - Available game versions
  • environment - Environment types
  • singleplayer - Singleplayer support
  • client_and_server - Client/server support
Example: game_versions
object
Optional filters to apply to the field values as JSON object.For game versions, you can filter by:
  • type - Version type (release, snapshot, beta, alpha)
  • major - Boolean for major versions only
Example: {"type": "release", "major": true}

Response

array
Array of loader field value objects.

Examples

Get All Game Versions

Get Major Release Versions Only

Get Licenses

Returns all SPDX license identifiers.

Response

array
Array of license objects.

Example

Get License Text

Returns the full text of a specific license.

Path Parameters

string
required
SPDX license identifier or special identifier.Use ARR for the default “All Rights Reserved” license.Example: MIT, GPL-3.0, ARR

Response

string
License title
string
Full license text

Example

Returns all available link platforms (for project links and donation platforms).

Response

array
Array of platform objects.

Example

Get Report Types

Returns all available report types for content moderation.

Response

string[]
Array of report type identifiers

Example

Get Project Types

Returns all available project types.

Response

string[]
Array of project type identifiersCommon values: mod, modpack, resourcepack, shader, datapack, plugin

Example

Caching

All tag endpoints are heavily cached using Redis. Results are cached for extended periods as tag data rarely changes. You can safely cache these responses on the client side as well.

Common Use Cases

  1. Fetch available loaders with GET /v3/tag/loader
  2. Get game versions with GET /v3/loader_field?loader_field=game_versions
  3. Fetch categories with GET /v3/tag/category
  4. Use these to build filter UI for search
  1. Get loader field values for game_versions
  2. Filter by version type if needed
  3. Cross-reference with project version requirements
  1. Fetch all licenses with GET /v3/license
  2. Validate user input against SPDX identifiers
  3. Optionally display full license text with GET /v3/license/{id}