{"api":{"id":"api_c334c9917b2552b428071a91","slug":"mastodon-trending-links","name":"Mastodon Trending Links API","description":"News and web links trending on Mastodon right now, from one or several servers merged into one ranked list: link, title, short description, publisher, author, language, publish date, preview image and how many posts and accounts shared it today, yesterday and over 7 days.","kind":"ready_made","visibility":"public","domain":"mastodon.social","source_url":"https://mastodon.social/explore/links","category":"news","record_type":"article","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":22,"created_at":"2026-12-06T03:33:09.227Z","updated_at":"2026-12-06T03:33:09.227Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"rank","type":"integer","description":"Position in this list, 1 for the top link.","required":false,"coverage":1,"example":1},{"name":"url","type":"url","description":"The trending link.","required":true,"coverage":1,"example":"https://www.washingtonpost.com/politics/2026/12/04/trump-announces-mike-waltz-new-press-secretary/"},{"name":"title","type":"string","description":"Title of the linked page.","required":false,"coverage":1,"example":"Trump announces Mike Waltz as next White House press secretary"},{"name":"description","type":"string","description":"Short description of the linked page, as its preview shows it.","required":false,"coverage":1,"example":"Waltz, currently the ambassador to the United Nations and a former congressman from Florida, was the president’s…"},{"name":"publisher","type":"string","description":"Name of the site or publisher, such as The Washington Post.","required":false,"coverage":1,"example":"The Washington Post"},{"name":"author_name","type":"string","description":"Author named by the linked page, when it names one.","required":false,"coverage":0.6,"example":"Cleve R. Wootson Jr."},{"name":"language","type":"string","description":"Language code of the linked page, such as en.","required":false,"coverage":1,"example":"en"},{"name":"link_type","type":"string","description":"Kind of link: link (a page), video, photo or rich (embedded content).","required":false,"coverage":1,"example":"link"},{"name":"published_at","type":"datetime","description":"When the linked page says it was published (UTC).","required":false,"coverage":0.8,"example":"2026-12-05T04:43:50.554Z"},{"name":"image_url","type":"image","description":"Preview image of the link, as stored by the server.","required":false,"coverage":1,"example":"https://files.mastodon.social/cache/preview_cards/images/217/459/231/original/b6912c9b3a0d1fcc.jpeg"},{"name":"uses_today","type":"integer","description":"Posts that shared the link on the current UTC day so far, added up across the servers read.","required":false,"coverage":1,"example":2},{"name":"accounts_today","type":"integer","description":"Accounts that shared the link on the current UTC day so far, added up across the servers read.","required":false,"coverage":1,"example":2},{"name":"uses_yesterday","type":"integer","description":"Posts that shared the link on the previous UTC day.","required":false,"coverage":1,"example":370},{"name":"accounts_yesterday","type":"integer","description":"Accounts that shared the link on the previous UTC day.","required":false,"coverage":1,"example":367},{"name":"uses_7d","type":"integer","description":"Posts that shared the link over the last 7 UTC days, today included.","required":false,"coverage":1,"example":372},{"name":"accounts_7d","type":"integer","description":"The daily account counts of the last 7 UTC days added up.","required":false,"coverage":1,"example":369},{"name":"daily_uses","type":"object","description":"Posts per UTC day for the last 7 days, newest first, such as {\"2026-12-05\": 195}.","required":false,"coverage":1,"example":{"2026-12-06":2,"2026-12-05":370,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0}},{"name":"daily_accounts","type":"object","description":"Accounts per UTC day for the last 7 days, newest first.","required":false,"coverage":1,"example":{"2026-12-06":2,"2026-12-05":367,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0}},{"name":"servers","type":"array","description":"The servers read where the link is trending.","required":false,"coverage":1,"example":["mastodon.social","mastodon.online"]},{"name":"servers_count","type":"integer","description":"How many of the servers read have the link in their trends.","required":false,"coverage":1,"example":2},{"name":"server_ranks","type":"object","description":"The link's position on each of those servers, such as {\"mastodon.social\": 3}.","required":false,"coverage":1,"example":{"mastodon.social":1,"mastodon.online":1}},{"name":"captured_at","type":"datetime","description":"When the trends were read (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:14:40.227Z"}],"inputs":[{"name":"servers","type":"array","description":"Mastodon servers to read, such as mastodon.social, mas.to or fosstodon.org. Each server ranks its own trending links; up to 20 servers.","default":["mastodon.social"],"example":["mastodon.social"]},{"name":"max_results","type":"integer","description":"Most links to return, 1 to 400. Each server's list is read to that depth before the lists are merged.","default":40,"example":40}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"accounts_7d":{"description":"The daily account counts of the last 7 UTC days added up.","type":"integer"},"accounts_today":{"description":"Accounts that shared the link on the current UTC day so far, added up across the servers read.","type":"integer"},"accounts_yesterday":{"description":"Accounts that shared the link on the previous UTC day.","type":"integer"},"author_name":{"description":"Author named by the linked page, when it names one.","type":"string"},"captured_at":{"description":"When the trends were read (UTC).","format":"date-time","type":"string"},"daily_accounts":{"description":"Accounts per UTC day for the last 7 days, newest first.","type":"object"},"daily_uses":{"description":"Posts per UTC day for the last 7 days, newest first, such as {\"2026-12-05\": 195}.","type":"object"},"description":{"description":"Short description of the linked page, as its preview shows it.","type":"string"},"image_url":{"description":"Preview image of the link, as stored by the server.","format":"uri","type":"string"},"language":{"description":"Language code of the linked page, such as en.","type":"string"},"link_type":{"description":"Kind of link: link (a page), video, photo or rich (embedded content).","type":"string"},"published_at":{"description":"When the linked page says it was published (UTC).","format":"date-time","type":"string"},"publisher":{"description":"Name of the site or publisher, such as The Washington Post.","type":"string"},"rank":{"description":"Position in this list, 1 for the top link.","type":"integer"},"server_ranks":{"description":"The link's position on each of those servers, such as {\"mastodon.social\": 3}.","type":"object"},"servers":{"description":"The servers read where the link is trending.","type":"array"},"servers_count":{"description":"How many of the servers read have the link in their trends.","type":"integer"},"title":{"description":"Title of the linked page.","type":"string"},"url":{"description":"The trending link.","format":"uri","type":"string"},"uses_7d":{"description":"Posts that shared the link over the last 7 UTC days, today included.","type":"integer"},"uses_today":{"description":"Posts that shared the link on the current UTC day so far, added up across the servers read.","type":"integer"},"uses_yesterday":{"description":"Posts that shared the link on the previous UTC day.","type":"integer"}},"required":["url"],"title":"Mastodon Trending Links API","type":"object"},"samples":[{"rank":1,"url":"https://www.washingtonpost.com/politics/2026/12/04/trump-announces-mike-waltz-new-press-secretary/","title":"Trump announces Mike Waltz as next White House press secretary","description":"Waltz, currently the ambassador to the United Nations and a former congressman from Florida, was the president’s national security adviser before the “Signalgate” scandal.","publisher":"The Washington Post","author_name":"Cleve R. Wootson Jr.","language":"en","link_type":"link","published_at":"2026-12-05T04:43:50.554Z","image_url":"https://files.mastodon.social/cache/preview_cards/images/217/459/231/original/b6912c9b3a0d1fcc.jpeg","uses_today":2,"accounts_today":2,"uses_yesterday":370,"accounts_yesterday":367,"uses_7d":372,"accounts_7d":369,"daily_uses":{"2026-12-06":2,"2026-12-05":370,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"daily_accounts":{"2026-12-06":2,"2026-12-05":367,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"servers":["mastodon.social","mastodon.online"],"servers_count":2,"server_ranks":{"mastodon.social":1,"mastodon.online":1},"captured_at":"2026-12-06T03:14:40.227Z"},{"rank":2,"url":"https://www.nature.com/articles/s43247-025-02904-y","title":"Distributed acoustic sensing reveals urban rat dynamics through environmental intelligence of dark fiber - Communications Earth & Environment","description":"Rat nightlife in cities is shaped by the weather, with wind, heat, and cloud cover keeping them underground, according to a study that used distributed acoustic sensing on a 20-kilometer dark fiber in an 810- meter inaccessible urban tunnel in China.","publisher":"Nature","author_name":null,"language":"en","link_type":"link","published_at":null,"image_url":"https://files.mastodon.social/cache/preview_cards/images/217/510/557/original/84c48a3872c8eca4.png","uses_today":10,"accounts_today":10,"uses_yesterday":142,"accounts_yesterday":142,"uses_7d":152,"accounts_7d":152,"daily_uses":{"2026-12-06":10,"2026-12-05":142,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"daily_accounts":{"2026-12-06":10,"2026-12-05":142,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"servers":["mastodon.social","mastodon.online"],"servers_count":2,"server_ranks":{"mastodon.social":2,"mastodon.online":2},"captured_at":"2026-12-06T03:14:40.227Z"},{"rank":3,"url":"https://www.nytimes.com/2026/12/05/opinion/jensen-huang-nvidia-hearing-congress.html","title":"Opinion | Grand Theft Chips","description":"Congress awakens to critique the merger of Huang & Huang.","publisher":"The New York Times","author_name":"Maureen Dowd","language":"en","link_type":"link","published_at":"2026-12-05T12:00:16.367Z","image_url":"https://files.mastodon.social/cache/preview_cards/images/217/489/916/original/c9a807ece3045ff8.jpg","uses_today":2,"accounts_today":2,"uses_yesterday":124,"accounts_yesterday":120,"uses_7d":126,"accounts_7d":122,"daily_uses":{"2026-12-06":2,"2026-12-05":124,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"daily_accounts":{"2026-12-06":2,"2026-12-05":120,"2026-12-04":0,"2026-12-03":0,"2026-12-02":0,"2026-12-01":0,"2026-11-30":0},"servers":["mastodon.social","mastodon.online"],"servers_count":2,"server_ranks":{"mastodon.social":4,"mastodon.online":3},"captured_at":"2026-12-06T03:14:40.227Z"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"accounts_7d":1,"accounts_today":1,"accounts_yesterday":1,"author_name":0.67,"captured_at":1,"daily_accounts":1,"daily_uses":1,"description":1,"image_url":1,"language":1,"link_type":1,"published_at":0.67,"publisher":1,"rank":1,"server_ranks":1,"servers":1,"servers_count":1,"title":1,"url":1,"uses_7d":1,"uses_today":1,"uses_yesterday":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_c334c9917b2552b428071a91/run","openapi":"https://pullrow.dev/v1/apis/api_c334c9917b2552b428071a91/openapi.json","contract":"https://pullrow.dev/v1/apis/api_c334c9917b2552b428071a91/contract.json","page":"https://pullrow.dev/catalog/mastodon-trending-links"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Only Mastodon servers that show their trends to visitors. A server that turned trends off, runs other software or refuses the request is left out, and the other servers are still read.","Counts are each server's own: posts (uses) and accounts it saw sharing the link per UTC day, and today is the current UTC day so far. Added up across servers, one post seen by two servers counts twice.","Servers review what may trend, and the lists change through the day. A run is a snapshot taken at captured_at; run it on a schedule to keep a history.","Up to 400 links per run. Each server's list is read 20 links per request, about one request a second; Mastodon allows 300 requests in 5 minutes from one address.","With several servers, every server gives each link points by its position (its top link gets the most) and links are ordered by their points added up, so a link trending on many servers rises. With one server the order is the server's own.","Title, description, publisher, author and image come from the link's preview as the server fetched it, and only that short text is returned. About one link in four names no author and about one in five has no publish date."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"rank","label":"Rank","description":"Position in this list, 1 for the top link.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The trending link.","group":"Links","shown":true,"written":false},{"name":"title","label":"Title","description":"Title of the linked page.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"Short description of the linked page, as its preview shows it.","group":"Basics","shown":true,"written":false},{"name":"publisher","label":"Publisher","description":"Name of the site or publisher, such as The Washington Post.","group":"Basics","shown":true,"written":false},{"name":"author_name","label":"Author name","description":"Author named by the linked page, when it names one.","group":"Basics","shown":true,"written":false},{"name":"language","label":"Language","description":"Language code of the linked page, such as en.","group":"Basics","shown":true,"written":false},{"name":"link_type","label":"Link type","description":"Kind of link: link (a page), video, photo or rich (embedded content).","group":"Links","shown":true,"written":false},{"name":"published_at","label":"Published","description":"When the linked page says it was published (UTC).","group":"Dates","shown":true,"written":false},{"name":"image_url","label":"Image","description":"Preview image of the link, as stored by the server.","group":"Media","shown":true,"written":false},{"name":"uses_today","label":"Uses today","description":"Posts that shared the link on the current UTC day so far, added up across the servers read.","group":"Basics","shown":true,"written":false},{"name":"accounts_today","label":"Accounts today","description":"Accounts that shared the link on the current UTC day so far, added up across the servers read.","group":"Basics","shown":true,"written":false},{"name":"uses_yesterday","label":"Uses yesterday","description":"Posts that shared the link on the previous UTC day.","group":"Basics","shown":true,"written":false},{"name":"accounts_yesterday","label":"Accounts yesterday","description":"Accounts that shared the link on the previous UTC day.","group":"Basics","shown":true,"written":false},{"name":"uses_7d","label":"Uses 7d","description":"Posts that shared the link over the last 7 UTC days, today included.","group":"Basics","shown":true,"written":false},{"name":"accounts_7d","label":"Accounts 7d","description":"The daily account counts of the last 7 UTC days added up.","group":"Basics","shown":true,"written":false},{"name":"daily_uses","label":"Daily uses","description":"Posts per UTC day for the last 7 days, newest first, such as {\"2026-12-05\": 195}.","group":"Basics","shown":true,"written":false},{"name":"daily_accounts","label":"Daily accounts","description":"Accounts per UTC day for the last 7 days, newest first.","group":"Basics","shown":true,"written":false},{"name":"servers","label":"Servers","description":"The servers read where the link is trending.","group":"Basics","shown":true,"written":false},{"name":"servers_count","label":"Servers count","description":"How many of the servers read have the link in their trends.","group":"Basics","shown":true,"written":false},{"name":"server_ranks","label":"Server ranks","description":"The link's position on each of those servers, such as {\"mastodon.social\": 3}.","group":"Basics","shown":true,"written":false},{"name":"captured_at","label":"Captured","description":"When the trends were read (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"servers","label":"Servers","help":"Mastodon servers to read, such as mastodon.social, mas.to or fosstodon.org. Each server ranks its own trending links; up to 20 servers.","example":"mastodon.social","written":false},{"name":"max_results","label":"Maximum results","help":"Most links to return, 1 to 400. Each server's list is read to that depth before the lists are merged.","example":"40","written":false}]}},"incidents":[]}