Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List every saved version of a Mastodon post.
Endpoint
/v1/mastodon/posts/edits
Query
Public URL of a post, e.g. `https://mastodon.social/@Gargron/117555039933723776`. The server in the URL is the server asked, because post ids belong to a server.
const response = await fetch( "https://api.socialfetch.dev/v1/mastodon/posts/edits?url=https://mastodon.social/@Gargron/117555039933723776", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);