Skip to content
GET /v1/account/following

Following

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/mastodon-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest 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
…