Modrinth API
Minecraft mods, modpacks, shaders and resource packs: projects, versions, users and categories.
View as Markdown| GET | /modrinth/search | Search Modrinth projects by text, optionally by project type. Pages with cursor. |
| GET | /modrinth/project | One Modrinth project by id or slug: its downloads, loaders, game versions and links. |
| GET | /modrinth/projectVersions | The versions of a Modrinth project, newest first, with their loaders and Minecraft versions. |
| GET | /modrinth/version | One Modrinth version by id: its changelog, loaders, game versions and downloadable files. |
| GET | /modrinth/user | A Modrinth user by username: display name, bio, role and when the account was made. |
| GET | /modrinth/projectsByIds | Up to 20 Modrinth projects by id or slug in one call. |
| GET | /modrinth/categories | The Modrinth categories, such as adventure or optimization, with the project types each applies to. |
| GET | /modrinth/loaders | The Modrinth mod loaders, such as fabric, forge or quilt, with the project types each supports. |
| GET | /modrinth/statistics | Modrinth's totals: how many projects, versions, authors and files it hosts. |
search
/v1/modrinth/searchSearch Modrinth projects by text, optionally by project type. Pages with cursor.
Parameters
querystring | Text to search for, such as sodium. e.g. sodium |
projectTypestring | Project type. Omit it for all.modmodpackresourcepackshaderplugindatapack |
limitinteger | Projects per page, from 1 to 100. default 10e.g. 2 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
12 fields
author | string |
categories | Label[] |
name | string |
description | string |
downloads | integer (int64) |
followers | integer (int64) |
iconUrl | string |
id | string |
projectType | string |
slug | string |
title | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/modrinth/search?query=sodium&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/search?query=sodium&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/search?query=sodium&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "…", "categories": [ { "name": null } ], "description": "…", "downloads": 0, "followers": 0, "iconUrl": "https://…", "id": "abc123", "projectType": "…", "slug": "…", "title": "…", "updatedAt": "2026-11-06T09:41:00Z" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "modrinth", "requestId": "req_2Xb9kQ…", "units": 1 } }
project
/v1/modrinth/projectOne Modrinth project by id or slug: its downloads, loaders, game versions and links.
Parameters
idstring required | Project id or slug, such as AANobbMI or sodium. e.g. sodium |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
categories | Label[] |
name | string |
clientSide | string |
description | string |
downloads | integer (int64) |
followers | integer (int64) |
gameVersions | Label[] |
name | string |
iconUrl | string |
id | string |
issuesUrl | string |
license | string |
loaders | Label[] |
name | string |
projectType | string |
publishedAt | string |
serverSide | string |
slug | string |
sourceUrl | string |
title | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/modrinth/project?id=sodium" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/project?id=sodium", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/project?id=sodium", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/projectVersionsThe versions of a Modrinth project, newest first, with their loaders and Minecraft versions.
Parameters
idstring required | Project id or slug, such as sodium. e.g. sodium |
limitinteger | Number of versions, from 1 to 100. default 20 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
downloads | integer (int64) |
gameVersions | Label[] |
name | string |
id | string |
loaders | Label[] |
name | string |
name | string |
number | string |
projectId | string |
publishedAt | string |
curl "https://api.hoshime.com/v1/modrinth/projectVersions?id=sodium" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/projectVersions?id=sodium", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/projectVersions?id=sodium", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/versionOne Modrinth version by id: its changelog, loaders, game versions and downloadable files.
Parameters
idstring required | Version id, such as g6ju16VJ. e.g. g6ju16VJ |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
changelog | string |
downloads | integer (int64) |
files | VersionFile[] |
filename | string |
primary | boolean |
size | integer (int64) |
url | string |
gameVersions | Label[] |
name | string |
id | string |
loaders | Label[] |
name | string |
name | string |
number | string |
projectId | string |
publishedAt | string |
curl "https://api.hoshime.com/v1/modrinth/version?id=g6ju16VJ" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/version?id=g6ju16VJ", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/version?id=g6ju16VJ", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/userA Modrinth user by username: display name, bio, role and when the account was made.
Parameters
usernamestring required | Modrinth username or user id. e.g. Modrinth |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
avatar | string |
bio | string |
createdAt | string |
id | string |
name | string |
role | string |
username | string |
curl "https://api.hoshime.com/v1/modrinth/user?username=Modrinth" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/user?username=Modrinth", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/user?username=Modrinth", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/projectsByIdsUp to 20 Modrinth projects by id or slug in one call.
Parameters
idsstring required | Comma-separated project ids or slugs, 20 at most. e.g. AANobbMI,P7dR8mSH |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
categories | Label[] |
name | string |
description | string |
downloads | integer (int64) |
followers | integer (int64) |
id | string |
projectType | string |
slug | string |
title | string |
curl "https://api.hoshime.com/v1/modrinth/projectsByIds?ids=AANobbMI%2CP7dR8mSH" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/projectsByIds?ids=AANobbMI%2CP7dR8mSH", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/projectsByIds?ids=AANobbMI%2CP7dR8mSH", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/categoriesThe Modrinth categories, such as adventure or optimization, with the project types each applies to.
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
kind | string |
name | string |
projectTypes | Label[] |
name | string |
curl "https://api.hoshime.com/v1/modrinth/categories" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/categories", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/categories", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/loadersThe Modrinth mod loaders, such as fabric, forge or quilt, with the project types each supports.
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
kind | string |
name | string |
projectTypes | Label[] |
name | string |
curl "https://api.hoshime.com/v1/modrinth/loaders" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/loaders", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/loaders", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/modrinth/statisticsModrinth's totals: how many projects, versions, authors and files it hosts.
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
authors | integer (int64) |
files | integer (int64) |
projects | integer (int64) |
versions | integer (int64) |
curl "https://api.hoshime.com/v1/modrinth/statistics" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/modrinth/statistics", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/modrinth/statistics", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }