/v1/meta
Service metadata
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/codeberg-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/codeberg-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/codeberg-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/codeberg-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"source": "Codeberg (Forgejo) public API (live)",
"service": "codeberg-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/repo": "A repository's stats (repo=forgejo/forgejo or owner= & name=).",
"GET /v1/user": "A user/org profile + social counts (username=forgejo).",
"GET /v1/search": "Search repositories (q=markdown, sort=stars|forks|updated)."
},
"description": "Live Codeberg (Forgejo) git-forge community data: any user or organisation's profile and social reach (followers, following, starred repos, join date), any repository's stats (stars, forks, watchers, open issues, language, size, dates), and repository search ranked by stars. Codeberg is the community-run open-source alternative to GitHub. Live, no key. Distinct from GitHub/GitLab and package-registry APIs — this is the Codeberg platform's own community and project data.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-09T03:02:11.773Z",
"request_id": "2ab1b494-e80c-4c3f-bd51-da309b65a719"
},
"status": "ok",
"message": "Meta",
"success": true
}