APIs / Mastodon / Hashtag

Mastodon: Hashtag

Hashtag from Mastodon as JSON. 1 credit per successful call.

GET /v1/mastodon/hashtagNeeds terms

Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
instancestringOptionalUp to 253 characters
tagstringRequiredUp to 255 characters
limitintegerOptionalAny
max_idstringOptionalUp to 64 characters
min_idstringOptionalUp to 64 characters
since_idstringOptionalUp to 64 characters
only_mediabooleanOptionalAny
any[]list of stringOptionalAny
all[]list of stringOptionalAny
none[]list of stringOptionalAny
localbooleanOptionalAny
remotebooleanOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/mastodon/hashtag?instance=mastodon.social&tag=mastodon&limit=5" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.