Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/codeberg-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}