Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
Get up to 40 Mastodon profiles by their ids.
Endpoint
/v1/mastodon/profiles/batch
Query
The Mastodon server to ask, e.g. `mastodon.social`. A server URL is also accepted. The server you name is the one that answers.
Comma-separated account ids on `host`, 1 to 40. Ids belong to that server.
const response = await fetch( "https://api.socialfetch.dev/v1/mastodon/profiles/batch?host=mastodon.social&ids=1", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);