{"uid":"cap_lKK-1-3pEW3rawDcQK_EF","slug":"saylor-innovations-data-desk-lemmy-posts-feed-3358e90d","name":"Saylor Innovations Data Desk – Lemmy Posts Feed","description":"Lemmy posts from major instances by Hot, Active, New or Top sort and optional community - title, score, comments, community, author, link and thread URL","url":"https://saylorinnovations.com/api/social/lemmy?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"sort":{"type":"string","description":"Hot (default), Active, New, TopDay, TopWeek, TopMonth"},"limit":{"type":"string","description":"optional 1-30, default 10"},"instance":{"type":"string","description":"lemmy.world (default), lemmy.ml, programming.dev, sh.itjust.works, feddit.org, lemmy.zip, lemmy.ca, beehaw.org, lemmy.dbzer0.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["instance","posts"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"sort":{"type":"string","description":"Sort order applied"},"count":{"type":"number","description":"Number of items returned"},"posts":{"type":"array","items":{"type":"object","properties":{"link":{"type":["string","null"],"description":"External link the post points to, if any"},"nsfw":{"type":["boolean","null"],"description":"True when marked not safe for work"},"score":{"description":"Score from 0 (worst) to 100 (best)"},"title":{"description":"Title"},"author":{"description":"Author name"},"upvotes":{"type":["number","null"],"description":"Number of upvotes"},"comments":{"type":["number","null"],"description":"Comment count"},"community":{"type":["string","null"],"description":"Community name and instance"},"downvotes":{"type":["number","null"],"description":"Downvotes"},"published":{"description":"Publication date"},"thread_url":{"description":"Thread URL"}}},"description":"Posts with title, community, author, score, comment count, publish time and link"},"source":{"type":"string","description":"Data source the values come from"},"instance":{"type":"string","description":"Lemmy instance queried"},"community":{"type":["string","null"],"description":"Community filter, or null for the instance front page"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0u1AvkyrCm3GhH8B9x9Ij","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches posts from major Lemmy federated instances sorted by Hot, Active, New, or Top, returning title, score, comments, community, author, link, and thread URL","exampleAgentPrompt":"Pull the top 20 hot posts from lemmy.world right now and show me the title, score, comment count, and link for each one.","exampleUseCases":[{"title":"Daily trending Lemmy digest","prompt":"Grab the 15 hottest posts from lemmy.world today and list their titles, scores, and links so I can skim what's popular."},{"title":"Community-specific new post monitor","prompt":"Fetch the 10 newest posts from programming.dev sorted by New so I can see the latest developer discussions on Lemmy."},{"title":"Cross-instance top content comparison","prompt":"Get the top posts of the week from lemmy.ml and beehaw.org — up to 20 each — so I can compare what's trending across those two Lemmy instances."}],"resultDescription":"A JSON object containing the instance name, sort order applied, post count, and an array of posts each with title, author, community, score (0–100), upvotes, downvotes, comment count, publish date, external link (if any), NSFW flag, and thread URL. A source description and optional note/caveat are also included.","failureModes":["Lemmy instance temporarily unavailable or rate-limiting — returns error or empty posts array","Invalid instance name provided — may return error or fall back to default","Sort parameter not recognized — defaults to Hot","Limit out of range (must be 1–30) — clamped or returns error","Community not found on the specified instance — returns empty results"],"whenToPreferThis":"Choose this endpoint when you need to read public Lemmy federated social content — trending, new, or top posts — from specific major instances without requiring authentication. Ideal for monitoring Lemmy communities, building news digests, or surfacing popular fediverse discussions. Prefer over scraping individual Lemmy instances directly, as it aggregates multiple well-known instances and normalizes output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:34.514Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-lemmy-posts-feed-3358e90d"}