Skip to content

Modrinth API

9 endpointsSports & GamingGlobalsocial:read

Minecraft mods, modpacks, shaders and resource packs: projects, versions, users and categories.

View as Markdown
GET/modrinth/searchSearch Modrinth projects by text, optionally by project type. Pages with cursor.
GET/modrinth/projectOne Modrinth project by id or slug: its downloads, loaders, game versions and links.
GET/modrinth/projectVersionsThe versions of a Modrinth project, newest first, with their loaders and Minecraft versions.
GET/modrinth/versionOne Modrinth version by id: its changelog, loaders, game versions and downloadable files.
GET/modrinth/userA Modrinth user by username: display name, bio, role and when the account was made.
GET/modrinth/projectsByIdsUp to 20 Modrinth projects by id or slug in one call.
GET/modrinth/categoriesThe Modrinth categories, such as adventure or optimization, with the project types each applies to.
GET/modrinth/loadersThe Modrinth mod loaders, such as fabric, forge or quilt, with the project types each supports.
GET/modrinth/statisticsModrinth's totals: how many projects, versions, authors and files it hosts.

project

GET/v1/modrinth/project

One Modrinth project by id or slug: its downloads, loaders, game versions and links.

scope social:read1 unitcached 30 min

Parameters

id
string
required
Project id or slug, such as AANobbMI or sodium.
e.g. sodium
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

21 fields
categoriesLabel[]
namestring
clientSidestring
descriptionstring
downloadsinteger (int64)
followersinteger (int64)
gameVersionsLabel[]
namestring
iconUrlstring
idstring
issuesUrlstring
licensestring
loadersLabel[]
namestring
projectTypestring
publishedAtstring
serverSidestring
slugstring
sourceUrlstring
titlestring
updatedAtstring
curl "https://api.hoshime.com/v1/modrinth/project?id=sodium" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "categories": [
      {
        "name": "…"
      }
    ],
    "clientSide": "…",
    "description": "…",
    "downloads": 0,
    "followers": 0,
    "gameVersions": [
      {
        "name": "…"
      }
    ],
    "iconUrl": "https://…",
    "id": "abc123",
    "issuesUrl": "https://…",
    "license": "…",
    "loaders": [
      {
        "name": "…"
      }
    ],
    "projectType": "…",
    "publishedAt": "2026-11-06T09:41:00Z",
    "serverSide": "…",
    "slug": "…",
    "sourceUrl": "https://…",
    "title": "…",
    "updatedAt": "2026-11-06T09:41:00Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "project",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

projectVersions

GET/v1/modrinth/projectVersions

The versions of a Modrinth project, newest first, with their loaders and Minecraft versions.

scope social:read1 unitcached 10 minpaginated

Parameters

id
string
required
Project id or slug, such as sodium.
e.g. sodium
limit
integer
Number of versions, from 1 to 100.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
downloadsinteger (int64)
gameVersionsLabel[]
namestring
idstring
loadersLabel[]
namestring
namestring
numberstring
projectIdstring
publishedAtstring
curl "https://api.hoshime.com/v1/modrinth/projectVersions?id=sodium" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "downloads": 0,
      "gameVersions": [
        {
          "name": null
        }
      ],
      "id": "abc123",
      "loaders": [
        {
          "name": null
        }
      ],
      "name": "…",
      "number": "…",
      "projectId": "abc123",
      "publishedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "projectVersions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

version

GET/v1/modrinth/version

One Modrinth version by id: its changelog, loaders, game versions and downloadable files.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Version id, such as g6ju16VJ.
e.g. g6ju16VJ
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

16 fields
changelogstring
downloadsinteger (int64)
filesVersionFile[]
filenamestring
primaryboolean
sizeinteger (int64)
urlstring
gameVersionsLabel[]
namestring
idstring
loadersLabel[]
namestring
namestring
numberstring
projectIdstring
publishedAtstring
curl "https://api.hoshime.com/v1/modrinth/version?id=g6ju16VJ" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "changelog": "…",
    "downloads": 0,
    "files": [
      {
        "filename": "…",
        "primary": false,
        "size": 0,
        "url": "https://…"
      }
    ],
    "gameVersions": [
      {
        "name": "…"
      }
    ],
    "id": "abc123",
    "loaders": [
      {
        "name": "…"
      }
    ],
    "name": "…",
    "number": "…",
    "projectId": "abc123",
    "publishedAt": "2026-11-06T09:41:00Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "version",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

user

GET/v1/modrinth/user

A Modrinth user by username: display name, bio, role and when the account was made.

scope social:read1 unitcached 1 h

Parameters

username
string
required
Modrinth username or user id.
e.g. Modrinth
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
avatarstring
biostring
createdAtstring
idstring
namestring
rolestring
usernamestring
curl "https://api.hoshime.com/v1/modrinth/user?username=Modrinth" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "avatar": "…",
    "bio": "…",
    "createdAt": "2026-11-06T09:41:00Z",
    "id": "abc123",
    "name": "…",
    "role": "…",
    "username": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "user",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

projectsByIds

GET/v1/modrinth/projectsByIds

Up to 20 Modrinth projects by id or slug in one call.

scope social:read1 unitcached 10 minpaginated

Parameters

ids
string
required
Comma-separated project ids or slugs, 20 at most.
e.g. AANobbMI,P7dR8mSH
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
categoriesLabel[]
namestring
descriptionstring
downloadsinteger (int64)
followersinteger (int64)
idstring
projectTypestring
slugstring
titlestring
curl "https://api.hoshime.com/v1/modrinth/projectsByIds?ids=AANobbMI%2CP7dR8mSH" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "categories": [
        {
          "name": null
        }
      ],
      "description": "…",
      "downloads": 0,
      "followers": 0,
      "id": "abc123",
      "projectType": "…",
      "slug": "…",
      "title": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "projectsByIds",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

categories

GET/v1/modrinth/categories

The Modrinth categories, such as adventure or optimization, with the project types each applies to.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
kindstring
namestring
projectTypesLabel[]
namestring
curl "https://api.hoshime.com/v1/modrinth/categories" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "kind": "…",
      "name": "…",
      "projectTypes": [
        {
          "name": null
        }
      ]
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "categories",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

loaders

GET/v1/modrinth/loaders

The Modrinth mod loaders, such as fabric, forge or quilt, with the project types each supports.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
kindstring
namestring
projectTypesLabel[]
namestring
curl "https://api.hoshime.com/v1/modrinth/loaders" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "kind": "…",
      "name": "…",
      "projectTypes": [
        {
          "name": null
        }
      ]
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "loaders",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

statistics

GET/v1/modrinth/statistics

Modrinth's totals: how many projects, versions, authors and files it hosts.

scope social:read1 unitcached 1 h

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
authorsinteger (int64)
filesinteger (int64)
projectsinteger (int64)
versionsinteger (int64)
curl "https://api.hoshime.com/v1/modrinth/statistics" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "authors": 0,
    "files": 0,
    "projects": 0,
    "versions": 0
  },
  "meta": {
    "cached": false,
    "endpoint": "statistics",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "modrinth",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open