/v1/account/following
Following
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/account/following" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mastodon-api/v1/account/following", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mastodon-api/v1/account/following");
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/account/following",
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": "116679209473973584",
"bot": false,
"uri": "https://aus.social/users/weirdestate",
"url": "https://aus.social/@weirdestate",
"acct": "[email protected]",
"note": "<p>This is an account dedicated to weird real estate from around the world. Weird might be good, or weird might be bad, but either way it's not going to be boring!</p><p>This account supersedes an older one at <span class=\"h-card\" translate=\"no\"><a href=\"https://eigenmagic.net/@weirdestate\" class=\"u-url mention\" rel=\"nofollow noopener\" target=\"_blank\">@<span>weirdestate</span></a></span></p><p>Submissions are welcome but please include the link to the actual listing. </p><p>Note: If you like weird automobiles, check out my other account at <span class=\"h-card\" translate=\"no\"><a href=\"https://social.chinwag.org/@weirdonwheels\" class=\"u-url mention\" rel=\"nofollow noopener\" target=\"_blank\">@<span>weirdonwheels</span></a></span></p>",
"group": false,
"avatar": "https://files.mastodon.social/cache/accounts/avatars/116/679/209/473/973/584/original/2c5d2baeed74f748.png",
"emojis": [],
"fields": [
{
"name": "Location",
"value": "Australia",
"verified_at": null
},
{
"name": "I like my houses",
"value": "Wacky",
"verified_at": null
}
],
"header": "https://files.mastodon.social/cache/accounts/headers/116/679/209/473/973/584/original/e71626e8d0cc33ff.png",
"locked": false,
"username": "weirdestate",
"indexable": false,
"created_at": "2024-08-12T00:00:00.000Z",
"show_media": true,
"discoverable": false,
"display_name": "Where Homes Get Weird",
"avatar_static": "https://files.mastodon.social/cache/accounts/avatars/116/679/209/473/973/584/original/2c5d2baeed74f748.png",
"header_static": "https://files.mastodon.social/cache/accounts/headers/116/679/209/473/973/584/original/e71626e8d0cc33ff.png",
"show_featured": true,
"last_status_at": "2026-06-02",
"statuses_count": 2,
"followers_count": 6319,
"following_count": 0,
"feature_approval": {
"manual": [],
"automatic": [
"disabled"
],
"current_user": "denied"
},
"hide_collections": false,
"avatar_description": "",
"header_description": "",
"show_media_replies": true
},
{
"id": "108630586167614698",
"bot": false,
"uri": "https://mastodon.social/users/zapproductions",
"url": "https://mastodon.soci
…