Zum Inhalt springen
GET /v1/user

A member's profile

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/piefed-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/piefed-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/piefed-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/piefed-api/v1/user",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "bot": false,
        "about": "Web developer. Lead developer of [PieFed](https://join.piefed.social)",
        "posts": 860,
        "source": "PieFed",
        "comments": 2175,
        "username": "rimu",
        "published": "2024-01-04",
        "display_name": "Rimu"
    },
    "meta": {
        "timestamp": "2026-06-10T14:02:11.750Z",
        "request_id": "3cc5ff31-f04b-4f3d-96e1-cee280c6a8fb"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}