/v1/user
User profile: karma, account age, submission count, bio
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/hackernews-api/v1/user" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hackernews-api/v1/user", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hackernews-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/hackernews-api/v1/user",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"id": "pg",
"about": "Bug fixer.",
"karma": 157316,
"hn_url": "https://news.ycombinator.com/user?id=pg",
"created_at": "2006-10-09T18:21:32.000Z",
"submission_count": 15565
},
"meta": {
"timestamp": "2026-06-13T14:47:25.263Z",
"request_id": "03da2797-709b-44b3-b4ce-ecaee5314064"
},
"status": "ok",
"message": "User retrieved",
"success": true
}