Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/modrinth-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/modrinth-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/modrinth-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/modrinth-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/modrinth-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Look up a project by its slug (slug=sodium, iris, fabric-api). search accepts type=mod|modpack|shader|resourcepack|datapack and sort=downloads|follows|newest|updated|relevance. Downloads is the headline popularity metric.",
        "source": "Modrinth public API (api.modrinth.com/v2, live)",
        "service": "modrinth-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/search": "Search projects (q=shaders, type=shader, sort=downloads).",
            "GET /v1/project": "A project in full — downloads, followers, type, loaders (slug=sodium).",
            "GET /v1/versions": "A project's recent releases with per-version downloads (slug=sodium)."
        },
        "description": "Live mod-platform stats from Modrinth, the open Minecraft content platform. The adoption-and-community view of the Minecraft modding ecosystem — how much each mod, modpack, shader or resource pack is downloaded and followed, and which projects are most popular. project = a single project in full (downloads, followers, type, categories, supported game versions and loaders, sides, license); search = search projects filterable by type and sortable by downloads or follows; versions = a project's recent releases with per-version downloads, game versions and loaders. Live, no key, nothing stored. Distinct from the other developer-ecosystem and gaming APIs.",
        "upstream_status": "ok",
        "sodium_downloads": 166010755
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:10.637Z",
        "request_id": "943b91a4-5375-4e8d-9d02-8da6a77c6eab"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}