/v1/user
A user or organisation profile
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/codeberg-api/v1/user" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/codeberg-api/v1/user", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/codeberg-api/v1/user");
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/user",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"id": 70422,
"type": null,
"login": "forgejo",
"avatar": "https://codeberg.org/avatars/dae8ab126a96f6fbd6942cf08ab92382",
"created": "2022-11-06T07:18:11+01:00",
"website": "https://forgejo.org",
"is_admin": false,
"location": null,
"followers": 534,
"following": 0,
"full_name": "Forgejo",
"description": "Beyond coding. We forge.",
"profile_url": "https://codeberg.org/forgejo",
"starred_repos": 0,
"account_age_days": 1311
},
"meta": {
"timestamp": "2026-06-09T03:02:07.964Z",
"request_id": "d112c45e-6c72-4fc8-8b39-764bed472d37"
},
"status": "ok",
"message": "User retrieved successfully",
"success": true
}