Aller au contenu
GET /v1/account

A creator's profile

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/pixelfed-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "bio": "Hi, I'm the developer behind @Pixelfed ! #pixelfed #photography #nature #dogs #fedi22",
        "url": "https://pixelfed.social/dansup",
        "acct": "dansup",
        "posts": 395,
        "avatar": "https://pixelfed.social/storage/avatars/000/000/000/000/000/000/2/mLZr2R47XEwbmasH2M3P_avatar.jpg?v=57",
        "locked": false,
        "instance": "pixelfed.social",
        "username": "dansup",
        "followers": 97915,
        "following": 210,
        "created_at": "2018-06-01T05:01:59.000000Z",
        "display_name": "dansup"
    },
    "meta": {
        "timestamp": "2026-06-09T11:39:28.304Z",
        "request_id": "1a25e8e9-5dfc-4066-a314-f6291639ea99"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}