Instances

GET {{baseUrl}}/api/1.0/instances/list?count=100&min_users=20000

Request Params

KeyDatatypeRequiredDescription
countnumberNumber of instances to get. 0 returns all instances.
include_deadnullInclude dead (down for at least two weeks) instances
include_downnullInclude down instances
include_closednullInclude instances with closed registrations
supported_featuresnullComma-separated list of features returned instances have to support
min_versionnullMinimal Mastodon version returned instances must be running. Format must be "a.b.c" (".b" and ".c" can be omitted) with a, b, c being integers.
min_usersnumberMinimal users returned instances must have.
max_usersnullMaximal users returned instances must have.
min_active_usersnullMinimal active users per week returned instances must have. This will filter out instances running Mastodon versions older than 2.1.2.
categorynullCategory instances must be in to be returned. Value general will return instances in no category.
languagenullLanguage instances must have as main language to be returned.
prohibited_contentnullContent returned instances must prohibita.
allowed_contentnullContent returned instances must not prohibit.
min_idnullMinimal ID of instances to retrieve. Use this to navigate through pages. The id of the first instance from next page is accessible through pagination.next_id.
sort_bynullField to sort instances by. By default, instances are not sorted and their order is not guaranteed to be consistent.
sort_ordernullSort order, if sort_by is used.