Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List the domains a Mastodon server publicly blocks.
Endpoint
/v1/mastodon/servers/{host}/blocks
Path
The Mastodon server to ask, e.g. `mastodon.social`. A server URL is also accepted. The server you name is the one that answers.
const response = await fetch( "https://api.socialfetch.dev/v1/mastodon/servers/mastodon.social/blocks", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);