Mastodon Explorer avatar

Mastodon Explorer

Under maintenance
Try for free

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

Go to Store
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

You can access the Mastodon Explorer programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "6ZeGF871YmJF0sr1U"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/jupri~mastodon-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-jupri-mastodon-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/jupri~mastodon-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-jupri-mastodon-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/jupri~mastodon-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-jupri-mastodon-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "query": {
135            "title": "❓ Query",
136            "type": "array",
137            "description": "πŸ’‘ <b><code>#hastag</code></b> or <b><code>@username</code></b> or <b><code>URL</code></b><br><br>URL examples :<i><br><code>https://[portal]/@username</code><br><code>https://[portal]/tags/[hashtag]</code></i>",
138            "items": {
139              "type": "string"
140            }
141          },
142          "portal": {
143            "title": "🌐 Portal",
144            "type": "string",
145            "description": "πŸ’‘ Portal Hostname <i>(default: mastadon.social)</i>"
146          },
147          "limit": {
148            "title": "♾️ Limit",
149            "type": "integer",
150            "description": "πŸ’‘ Number of results <i><code>(per-query)</code></i>"
151          },
152          "dev_proxy_config": {
153            "title": "🌐 PROXY NETWORKING",
154            "type": "object",
155            "description": "πŸ’‘ <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
156          },
157          "dev_custom_headers": {
158            "title": "πŸ“œ HTTP HEADERS",
159            "type": "array",
160            "description": "πŸ’‘ Additional HTTP Headers",
161            "items": {
162              "type": "object",
163              "required": [
164                "key",
165                "value"
166              ],
167              "properties": {
168                "key": {
169                  "type": "string",
170                  "title": "Key"
171                },
172                "value": {
173                  "type": "string",
174                  "title": "Value"
175                }
176              }
177            }
178          },
179          "dev_custom_cookies": {
180            "title": "🍰 HTTP COOKIES",
181            "type": "array",
182            "description": "πŸ’‘ Additional HTTP Cookies",
183            "items": {
184              "type": "object",
185              "required": [
186                "key",
187                "value"
188              ],
189              "properties": {
190                "key": {
191                  "type": "string",
192                  "title": "Key"
193                },
194                "value": {
195                  "type": "string",
196                  "title": "Value"
197                }
198              }
199            }
200          },
201          "dev_transform_fields": {
202            "title": "♻️ CUSTOM FIELD",
203            "type": "array",
204            "description": "πŸ’‘ <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
205            "items": {
206              "type": "object",
207              "required": [
208                "key",
209                "value"
210              ],
211              "properties": {
212                "key": {
213                  "type": "string",
214                  "title": "Key"
215                },
216                "value": {
217                  "type": "string",
218                  "title": "Value"
219                }
220              }
221            }
222          },
223          "dev_dataset_name": {
224            "title": "πŸ“ CUSTOM STORAGE",
225            "type": "string",
226            "description": "πŸ’‘ <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
227          },
228          "dev_dataset_clear": {
229            "title": "Clear Storage",
230            "type": "boolean",
231            "description": "Clear Dataset before insert/update."
232          },
233          "dev_no_strip": {
234            "title": "Disable data cleansing",
235            "type": "boolean",
236            "description": "πŸ’‘ Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
237          }
238        }
239      },
240      "runsResponseSchema": {
241        "type": "object",
242        "properties": {
243          "data": {
244            "type": "object",
245            "properties": {
246              "id": {
247                "type": "string"
248              },
249              "actId": {
250                "type": "string"
251              },
252              "userId": {
253                "type": "string"
254              },
255              "startedAt": {
256                "type": "string",
257                "format": "date-time",
258                "example": "2025-01-08T00:00:00.000Z"
259              },
260              "finishedAt": {
261                "type": "string",
262                "format": "date-time",
263                "example": "2025-01-08T00:00:00.000Z"
264              },
265              "status": {
266                "type": "string",
267                "example": "READY"
268              },
269              "meta": {
270                "type": "object",
271                "properties": {
272                  "origin": {
273                    "type": "string",
274                    "example": "API"
275                  },
276                  "userAgent": {
277                    "type": "string"
278                  }
279                }
280              },
281              "stats": {
282                "type": "object",
283                "properties": {
284                  "inputBodyLen": {
285                    "type": "integer",
286                    "example": 2000
287                  },
288                  "rebootCount": {
289                    "type": "integer",
290                    "example": 0
291                  },
292                  "restartCount": {
293                    "type": "integer",
294                    "example": 0
295                  },
296                  "resurrectCount": {
297                    "type": "integer",
298                    "example": 0
299                  },
300                  "computeUnits": {
301                    "type": "integer",
302                    "example": 0
303                  }
304                }
305              },
306              "options": {
307                "type": "object",
308                "properties": {
309                  "build": {
310                    "type": "string",
311                    "example": "latest"
312                  },
313                  "timeoutSecs": {
314                    "type": "integer",
315                    "example": 300
316                  },
317                  "memoryMbytes": {
318                    "type": "integer",
319                    "example": 1024
320                  },
321                  "diskMbytes": {
322                    "type": "integer",
323                    "example": 2048
324                  }
325                }
326              },
327              "buildId": {
328                "type": "string"
329              },
330              "defaultKeyValueStoreId": {
331                "type": "string"
332              },
333              "defaultDatasetId": {
334                "type": "string"
335              },
336              "defaultRequestQueueId": {
337                "type": "string"
338              },
339              "buildNumber": {
340                "type": "string",
341                "example": "1.0.0"
342              },
343              "containerUrl": {
344                "type": "string"
345              },
346              "usage": {
347                "type": "object",
348                "properties": {
349                  "ACTOR_COMPUTE_UNITS": {
350                    "type": "integer",
351                    "example": 0
352                  },
353                  "DATASET_READS": {
354                    "type": "integer",
355                    "example": 0
356                  },
357                  "DATASET_WRITES": {
358                    "type": "integer",
359                    "example": 0
360                  },
361                  "KEY_VALUE_STORE_READS": {
362                    "type": "integer",
363                    "example": 0
364                  },
365                  "KEY_VALUE_STORE_WRITES": {
366                    "type": "integer",
367                    "example": 1
368                  },
369                  "KEY_VALUE_STORE_LISTS": {
370                    "type": "integer",
371                    "example": 0
372                  },
373                  "REQUEST_QUEUE_READS": {
374                    "type": "integer",
375                    "example": 0
376                  },
377                  "REQUEST_QUEUE_WRITES": {
378                    "type": "integer",
379                    "example": 0
380                  },
381                  "DATA_TRANSFER_INTERNAL_GBYTES": {
382                    "type": "integer",
383                    "example": 0
384                  },
385                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
386                    "type": "integer",
387                    "example": 0
388                  },
389                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
390                    "type": "integer",
391                    "example": 0
392                  },
393                  "PROXY_SERPS": {
394                    "type": "integer",
395                    "example": 0
396                  }
397                }
398              },
399              "usageTotalUsd": {
400                "type": "number",
401                "example": 0.00005
402              },
403              "usageUsd": {
404                "type": "object",
405                "properties": {
406                  "ACTOR_COMPUTE_UNITS": {
407                    "type": "integer",
408                    "example": 0
409                  },
410                  "DATASET_READS": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "DATASET_WRITES": {
415                    "type": "integer",
416                    "example": 0
417                  },
418                  "KEY_VALUE_STORE_READS": {
419                    "type": "integer",
420                    "example": 0
421                  },
422                  "KEY_VALUE_STORE_WRITES": {
423                    "type": "number",
424                    "example": 0.00005
425                  },
426                  "KEY_VALUE_STORE_LISTS": {
427                    "type": "integer",
428                    "example": 0
429                  },
430                  "REQUEST_QUEUE_READS": {
431                    "type": "integer",
432                    "example": 0
433                  },
434                  "REQUEST_QUEUE_WRITES": {
435                    "type": "integer",
436                    "example": 0
437                  },
438                  "DATA_TRANSFER_INTERNAL_GBYTES": {
439                    "type": "integer",
440                    "example": 0
441                  },
442                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
443                    "type": "integer",
444                    "example": 0
445                  },
446                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
447                    "type": "integer",
448                    "example": 0
449                  },
450                  "PROXY_SERPS": {
451                    "type": "integer",
452                    "example": 0
453                  }
454                }
455              }
456            }
457          }
458        }
459      }
460    }
461  }
462}

Mastodon Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Mastodon Explorer from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 3 bookmarks

  • 94% runs succeeded

  • Created in Apr 2023

  • Modified 7 months ago

Categories