/v1/user-summary
A member's activity stats
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/discourse-api/v1/user-summary" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/discourse-api/v1/user-summary", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/discourse-api/v1/user-summary");
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/discourse-api/v1/user-summary",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"posts": 19071,
"topics": 226,
"username": "codinghorror",
"posts_read": 292881,
"likes_given": 56014,
"profile_url": "https://meta.discourse.org/u/codinghorror",
"days_visited": 3357,
"solved_count": 401,
"likes_received": 72761,
"topics_entered": 85503,
"time_read_seconds": 16808964
},
"meta": {
"timestamp": "2026-06-13T14:11:30.110Z",
"request_id": "682d4488-0cf6-4e65-bfbe-5d2ecb6b4868"
},
"status": "ok",
"message": "User summary retrieved successfully",
"success": true
}