/v1/dependencies
The projects a project depends on
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/modrinth-api/v1/dependencies" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/modrinth-api/v1/dependencies", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/modrinth-api/v1/dependencies");
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/dependencies",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"slug": "sodium",
"count": 2,
"source": "Modrinth",
"dependencies": [
{
"slug": "canvas",
"title": "Canvas Renderer",
"downloads": 60193,
"project_type": "mod"
},
{
"slug": "notenoughcrashes",
"title": "Not Enough Crashes",
"downloads": 11404971,
"project_type": "mod"
}
]
},
"meta": {
"timestamp": "2026-06-13T13:54:18.227Z",
"request_id": "d542d0fc-0c81-4147-879d-8bf09169c0b8"
},
"status": "ok",
"message": "Dependencies retrieved successfully",
"success": true
}