![Mastodon Explorer avatar](https://images.apifyusercontent.com/--jwRTvBoQPIYKhTZDtIPGtScV5X8-XNbwQcoe-BxKU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81U29ydmg3c2Z4MWhCcGRWbS9xeGpxdTlIenEyRHRYaEZhcC1tYXN0b2Rvbi0yLmpwZw.webp)
Mastodon Explorer
Under maintenanceTry for free
7 days trial then $30.00/month - No credit card required now
View all Actors![Mastodon Explorer](https://images.apifyusercontent.com/--jwRTvBoQPIYKhTZDtIPGtScV5X8-XNbwQcoe-BxKU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81U29ydmg3c2Z4MWhCcGRWbS9xeGpxdTlIenEyRHRYaEZhcC1tYXN0b2Rvbi0yLmpwZw.webp)
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](https://images.apifyusercontent.com/--jwRTvBoQPIYKhTZDtIPGtScV5X8-XNbwQcoe-BxKU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81U29ydmg3c2Z4MWhCcGRWbS9xeGpxdTlIenEyRHRYaEZhcC1tYXN0b2Rvbi0yLmpwZw.webp)
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
- 2 monthly users
- 3 stars
- 100.0% runs succeeded
- Created in Apr 2023
- Modified about 2 months ago
Categories