Naar de inhoud
GET /v1/account/following

Following

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/mastodon-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
…