Mastodon Explorer avatar
Mastodon Explorer
Under maintenance
Try for free

7 days trial then $30.00/month - No credit card required now

View all Actors
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
Mastodon Explorer

Mastodon Explorer

jupri/mastodon-scraper
Try for free

7 days trial then $30.00/month - No credit card required now

🐘 Scrape Mastodon Social Network websites

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "query": [
8    "@Mastodon/info",
9    "@Mastodon",
10    "#python",
11    "drama",
12    "https://mastodon.social/public/local"
13  ],
14  "limit": 5,
15  "dev_custom_cookies": [
16    {
17      "key": "_session_id",
18      "value": ""
19    }
20  ]
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/jupri~mastodon-scraper/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 3 stars
  • 97.1% runs succeeded
  • Created in Apr 2023
  • Modified 15 days ago
Categories