Skip to content

Mastodon API: List hashtag posts

Lists the latest public posts for a hashtag on a Mastodon server, newest first. Some servers require login for public timelines.

mastodon.social (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Mastodon.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Server optionalserver

Mastodon server to read, such as fosstodon.org. Defaults to mastodon.social.

mastodon.social

Default mastodon.social.

Hashtag, requiredhashtag

Hashtag, with or without #, such as climate.

photography

Max Results optionalmax_results

Maximum posts to return, such as 20; at most 100.

55

Whole number from 1 to 100. Default 20.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "posts": [    {      "text": "Old San Juan, Puerto Rico\n#People #photography #StreetPhotography #urbanPhotography #SanJuan #PuertoRico",      "boosts": 0,      "post_id": "117489511436858646",      "replies": 0,      "post_link": "https://mstdn.social/@alexf24/117489511341283936",      "posted_at": "2026-10-23T09:27:50Z",      "favourites": 0,      "image_links": [        "https://files.mastodon.social/cache/media_attachments/files/117/489/511/396/699/020/original/82322ba822b3421e.jpg"      ],      "author_handle": "@alexf24@mstdn.social",      "author_display_name": "Alexf24"    },    {      "text": "📷 A photograph of a Formosan Blue Magpie carrying a coathanger is a finalist in the Wildlife Photographer of the Year competition\nThe photographer, Mary Bell, spent three years observing the birds to capture the image\nhttps://www.nhm.ac.uk/wpy/wpy/gallery/2026-urban-architect?tags=ed.current\n#Taiwa…",      "boosts": 0,      "post_id": "117489503438295612",      "replies": 1,      "post_link": "https://mstdn.social/@davidonformosa/117489503380659682",      "posted_at": "2026-10-23T09:25:49Z",      "favourites": 0,      "image_links": [],      "author_handle": "@davidonformosa@mstdn.social",      "author_display_name": "David on Formosa"    },    {      "text": "#nature #photography #darktable",      "boosts": 0,      "post_id": "117489485711046508",      "replies": 0,      "post_link": "https://pixelfed.social/p/noname98571/1019175918547577846",      "posted_at": "2026-10-23T09:21:14Z",      "favourites": 0,      "image_links": [        "https://files.mastodon.social/cache/media_attachments/files/117/489/485/603/350/942/original/b72fe501671f35cd.jpg"      ],      "author_handle": "@noname98571@pixelfed.social",      "author_display_name": "noname98571"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
mastodon.social/list_hashtag_posts
Returns
posts with author, text, time, boost, favourite and reply counts, image links and post link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method mastodon.social/list_hashtag_posts with the inputs above.

Ask your agent

  • Show me the latest 15 public posts tagged #sourdough on mastodon.social, newest first, with boost and favourite counts.
  • What are people posting right now under the hashtag #retrogaming? Give me 25 recent posts with author and post link.
  • Pull up the newest posts about #birdwatching from fosstodon.org, including any image links.
  • I want to see the last 10 toots tagged with #linuxmint along with how many replies each got.
  • Can you list up to 50 recent posts for the hashtag climate, showing text, time posted and the link to each post?
  • Lists a Mastodon account's latest public posts, newest first. Replies and boosts are optional. Private and unlisted posts are left out.

    mastodon.social/list_recent_posts
  • Gets a public Mastodon profile by handle or profile link, with its bio, counts, dates and profile fields. Major servers are read directly. Other servers are looked up through mastodon.social, and their home-server account ID is not available.

    mastodon.social/get_profile
  • Lists publicly visible TikTok Creative Center trending hashtags by country, time period and industry. Anonymous visitors see at most three rows; rank change and new-entry status are not public and come back null.

    ads.tiktok.com/list_trending_hashtags
  • Lists the latest posts from a public Telegram channel preview, with text, posting time, approximate views, edit flag, forwarded source, thumbnails and post links.

    t.me/list_channel_posts
  • Lists recent public posts of a Tumblr blog, optionally only those with a given tag. Private or login-only blogs cannot be read.

    tumblr.com/list_blog_posts
  • Lists an account's latest public Bluesky posts, newest first. Replies and reposts are left out unless requested; a repost's time is when the account reposted it.

    bsky.app/list_recent_posts
  • Lists the latest public articles by a Medium writer or publication (by username, publication name or Medium link), with dates, reading times, claps, member-only labels and tags.

    medium.com/list_author_articles
  • Lists an account's latest public Threads posts, newest first, with text, engagement counts, thumbnails and links. Only posts shown without logging in are returned.

    threads.com/list_recent_posts