/v1/directory
Profile directory
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/mastodon-api/v1/directory" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mastodon-api/v1/directory", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mastodon-api/v1/directory");
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/mastodon-api/v1/directory",
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": [
{
"id": "112926907460211902",
"bot": false,
"uri": "https://mastodon.social/users/linksmensch",
"url": "https://mastodon.social/@linksmensch",
"acct": "linksmensch",
"note": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.social/@linksmensch\" class=\"u-url mention\">@<span>linksmensch</span></a></span></p>",
"group": false,
"roles": [],
"avatar": "https://files.mastodon.social/accounts/avatars/112/926/907/460/211/902/original/fbf87e76984b54e5.jpg",
"emojis": [],
"fields": [],
"header": "https://mastodon.social/headers/original/missing.png",
"locked": false,
"noindex": false,
"username": "linksmensch",
"indexable": true,
"created_at": "2024-08-08T00:00:00.000Z",
"show_media": true,
"discoverable": true,
"display_name": "linksmensch",
"avatar_static": "https://files.mastodon.social/accounts/avatars/112/926/907/460/211/902/original/fbf87e76984b54e5.jpg",
"header_static": "https://mastodon.social/headers/original/missing.png",
"show_featured": true,
"last_status_at": "2026-06-02",
"statuses_count": 9040,
"followers_count": 24,
"following_count": 47,
"feature_approval": {
"manual": [],
"automatic": [
"public"
],
"current_user": "denied"
},
"hide_collections": null,
"avatar_description": "",
"header_description": "",
"show_media_replies": true
},
{
"id": "114785328480760403",
"bot": true,
"uri": "https://press.anyaforger.art/users/r_linuxmemes",
"url": "https://press.anyaforger.art/@r_linuxmemes",
"acct": "[email protected]",
"note": "<p>A place where Linux memes thrive in sudo!</p>",
"group": false,
"avatar": "https://files.mastodon.social/cache/accounts/avatars/114/785/328/480/760/403/original/4af0af1a6a387ec6.jpeg",
"emojis": [],
"fields": [
{
"name": "Оригинальный канал",
"value": "<a href=\"https://t.me/s/r_linuxmemes\" rel=\"nofollow noopener\" target=\"_blank\">https://t.me/s/r_linuxmemes</a>",
"verified_at": null
},
{
"name": "Бот",
"value": "<a href=\"https://codeberg.org/MarvinsMastodonTools/feed2fedi\" rel=\"nofollow noopener\" target=\"_blank\">https://codeberg.org/MarvinsMastodonTools/feed2fedi</a>",
"verified_at": null
}
],
"header": "https://mastodon.social/headers/o
…