Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List the accounts a Mastodon profile follows.
Endpoint
/v1/mastodon/profiles/{handle}/following
Path
Account handle with its home server, e.g. `Gargron@mastodon.social`. A leading `acct:` or `@`, or a profile URL (`https://mastodon.social/@Gargron`, `https://mastodon.social/web/@Gargron`) is also accepted.
Query
Pass `page.nextCursor` from the previous response to get the next page.
Items per page, 1 to 80. Default: 40.
const response = await fetch( "https://api.socialfetch.dev/v1/mastodon/profiles/Gargron%40mastodon.social/following", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);