-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Pasan Kamburugamuwa edited this page Jan 2, 2024
·
23 revisions
- Instance - Get Mastodon Instances API
- Status - Search by keyword API
- Status - Most recent by hashtag API
- Status - Most recent for instance API
- Status - Single status by Id API
- Accounts - Search by keyword
- Accounts - Single Account by Id
- Get Hashtag metadata
The Mastodon Instances API provides a list of Mastodon instances based on specified criteria, including minimum active users, count, sorting, and authorization. You can access the official documentation from here.
GET https://instances.social/api/1.0/instances/list
Request
- Method : GET
- URL : https://instances.social/api/1.0/instances/list
- Headers:
- Authorization: Bearer YOUR_API_KEY
GET https://osome.iu.edu/tools/mastodon/api/get-instance-data
Request
- Method : GET
- URL : https://osome.iu.edu/tools/mastodon/api/get-instance-data
Note Data is returned in JSON format.
The Search API provides a method to retrieve accounts, statuses, and hashtags based on a specified search keyword. In this API, we get the statuses results as a json format. You can access the official documentation from here.
GET https://{mastodon_instance}/api/v2/search?q={search_keyword}&type=statuses&resolve=true