{
"count": 5,
"items": [
{
"type": "post",
"id": "117611919697712807",
"url": "https://sunny.garden/@WanderingInDigitalWorlds/117611919649078490",
"text": "I...Did the \"Apply Discount Function\" Lab by writing my own skeleton function of if/elif/else and adapting some solid code that I fixed the broken logic first before adding it into",
"html": "<p>I...Did the \"Apply Discount Function\" Lab by writing my own skeleton function of if/elif/else and adapting some solid code that I fixed the broken logic first before adding it i",
"createdAt": "2026-11-14T00:17:53Z",
"language": "en",
"author": "[email protected]",
"authorName": "He Dreams of Shork",
"authorUrl": "https://sunny.garden/@WanderingInDigitalWorlds",
"repliesCount": 0,
"reblogsCount": 0,
"favouritesCount": 0,
"hashtags": [
"tonight",
"python",
"learning",
"freecodecamp"
],
"mediaUrls": [],
"cardUrl": null,
"inReplyToId": null,
"instance": "mastodon.social",
"sourceHashtag": "python",
"scrapedAt": "2026-11-14T00:22:17Z"
},
{
"type": "post",
"id": "117611740102816897",
"url": "https://infosec.exchange/@ubernostrum/117611740064560395",
"text": "The latest release of pip supports installing specific dependency groups from a standard lock file, which means I can simplify the last little rough edge of my recommended “boring”",
"html": "<p>The latest release of pip supports installing specific dependency groups from a standard lock file, which means I can simplify the last little rough edge of my recommended “bori",
"createdAt": "2026-11-13T23:32:12Z",
"language": "en",
"author": "[email protected]",
"authorName": "James Bennett",
"authorUrl": "https://infosec.exchange/@ubernostrum",
"repliesCount": 0,
"reblogsCount": 1,
"favouritesCount": 1,
"hashtags": [
"python"
],
"mediaUrls": [],
"cardUrl": "https://www.b-list.org/weblog/2022/may/13/boring-python-dependencies/",
"inReplyToId": null,
"instance": "mastodon.social",
"sourceHashtag": "python",
"scrapedAt": "2026-11-14T00:22:17Z"
},
{
"type": "post",
"id": "117611614805317090",
"url": "https://mastodon.social/@hugovalters/117611614805317090",
"text": "243 lines of Python that pull consumer lag per group and partition, so you can spot slow consumers before they back up. Advanced level, kafka-python. #kafka #python #messaging http",
"html": "<p>243 lines of Python that pull consumer lag per group and partition, so you can spot slow consumers before they back up. Advanced level, kafka-python. <a href=\"https://mastodon.s",
"createdAt": "2026-11-13T23:00:21Z",
"language": "en",
"author": "[email protected]",
"authorName": "Hugo | DevOps | Cybersecurity",
"authorUrl": "https://mastodon.social/@hugovalters",
"repliesCount": 0,
"reblogsCount": 0,
"favouritesCount": 0,
"hashtags": [
"kafka",
"python",
"messaging"
],
"mediaUrls": [
"https://files.mastodon.social/media_attachments/files/117/611/614/770/572/918/original/ac0c24b459b63543.png"
],
"cardUrl": null,
"inReplyToId": null,
"instance": "mastodon.social",
"sourceHashtag": "python",
"scrapedAt": "2026-11-14T00:22:17Z"
},
{
"type": "post",
"id": "117611609604251987",
"url": "https://mastodon.social/@driscollis/117611609604251987",
"text": "Who's using the walrus operator in #Python lately?\n\nIf you don't know, it's also called an assignment expression.\n\nHere are some examples:",
"html": "<p>Who's using the walrus operator in <a href=\"https://mastodon.social/tags/Python\" class=\"mention hashtag\" rel=\"tag\">#<span>Python</span></a> lately?</p><p>If you don't kn",
"createdAt": "2026-11-13T22:59:02Z",
"language": "en",
"author": "[email protected]",
"authorName": "Mike Driscoll",
"authorUrl": "https://mastodon.social/@driscollis",
"repliesCount": 1,
"reblogsCount": 0,
"favouritesCount": 1,
"hashtags": [
"python"
],
"mediaUrls": [
"https://files.mastodon.social/media_attachments/files/117/611/609/561/920/272/original/81f6547c0dfaef81.png"
],
"cardUrl": null,
"inReplyToId": null,
"instance": "mastodon.social",
"sourceHashtag": "python",
"scrapedAt": "2026-11-14T00:22:17Z"
},
{
"type": "post",
"id": "117611419279226964",
"url": "https://mastodon.me.uk/@Alastair/117611419185981022",
"text": "More Fractals: An Interactive Explorer and Some Python\n\n## mandelbrot5: an interactive explorer\n\nhttps://blog.0x32.co.uk/posts/more-fractals-explorer-and-python/\n\n#tech #fractals #",
"html": "<p>More Fractals: An Interactive Explorer and Some Python</p><p>## mandelbrot5: an interactive explorer</p><p><a href=\"https://blog.0x32.co.uk/posts/more-fractals-explorer-and-pyth",
"createdAt": "2026-11-13T22:10:36Z",
"language": "en",
"author": "[email protected]",
"authorName": "Alastair :wq",
"authorUrl": "https://mastodon.me.uk/@Alastair",
"repliesCount": 0,
"reblogsCount": 0,
"favouritesCount": 0,
"hashtags": [
"tech",
"fractals",
"mandelbrot",
"pascal",
"freepascal",
"python",
"claude",
"ai",
"vibecoding",
"terminal"
],
"mediaUrls": [],
"cardUrl": "https://blog.0x32.co.uk/posts/more-fractals-explorer-and-python/",
"inReplyToId": null,
"instance": "mastodon.social",
"sourceHashtag": "python",
"scrapedAt": "2026-11-14T00:22:17Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14868/mastodon+api/38701/mastodon+api?instances=mastodon.social&hashtags=python&maxItems=5&includeTrends=false&includeLocalTimeline=false&includeReplies=false&maxRepliesPerPost=20' --header 'Authorization: Bearer YOUR_API_KEY'
Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Mastodon API basta incluir seu token Bearer no cabeçalho Authorization.
| Cabeçalho | Descrição |
|---|---|
Authorization
|
Obrigatório
Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.
|
Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento.
Publicações do Mastodon por hashtag conta ou palavra-chave tags em tendência e links e respostas em várias instâncias a partir da API oficial aberta JSON limpo para monitoramento de marcas e palavras-chave do fediverso
Publicações do Mastodon por hashtag conta ou palavra-chave tags em tendência e links e respostas através de várias instâncias da API aberta oficial JSON limpo para monitoramento de marca e palavras-chave do fediverso
Até 100 resultados por solicitação. Defina-o com o parâmetro maxItems
Cada solicitação coleta dados ao vivo da fonte pública Solicitações idênticas podem ser atendidas a partir de um cache por até 6 horas
Os parâmetros de lista aceitam vários valores separados por vírgulas por exemplo londres, paris
O endpoint aceita esses parâmetros de consulta, todos opcionais: instâncias, hashtags, contas, palavras-chave, idioma, maxItems, incluirTendências, incluirLinhaDoTempoLocal, incluirRespostas, maxRespostasPorPost. Instâncias: Servidores Mastodon de onde ler. As postagens de hashtags são lidas da linha do tempo pública de cada instância, então mais instâncias proporcionam uma cobertura mais ampla. Contas sem servidor usam a primeira instância. Vários valores: separados por vírgula. Hashtags: Hashtags a serem lidas, com ou sem o sinal #, por exemplo python ou opensource. Cada hashtag é lida em cada instância listada acima. Vários valores: separados por vírgula. Contas: Contas cujas postagens públicas você deseja, como uma URL de perfil
A API do Mastodon retorna postagens, tags em tendência e respostas com base em hashtags, contas ou palavras-chave especificadas. Cada resposta inclui detalhes como texto da postagem, informações do autor e métricas de engajamento
Os campos chave na resposta incluem "id" (identificador do post) "url" (link para o post) "text" (conteúdo do post) "createdAt" (timestamp) "author" (conta do autor) e contagens de engajamento (respostas reblogs favoritos)
Os dados da resposta estão estruturados no formato JSON, contendo uma "contagem" de resultados e um array "itens". Cada item representa uma postagem com atributos detalhados, facilitando a análise e utilização
O ponto final fornece informações sobre publicações individuais hashtags em alta e respostas Os usuários podem recuperar dados com base em critérios específicos como hashtags ou contas melhorando a descoberta de conteúdo
Os usuários podem personalizar pedidos usando parâmetros opcionais, como "hashtags", "contas" e "idioma". Isso permite pesquisas personalizadas, como filtrar postagens por tópicos ou idiomas específicos
Os valores de parâmetro aceitos incluem listas separadas por vírgulas para "hashtags" e "contas" Por exemplo, você pode solicitar postagens para hashtags como "python,opensource" ou contas como "user1,user2"
Os usuários podem analisar métricas de engajamento (respostas, reblogs, favoritos) para avaliar a popularidade das postagens As informações do autor podem ser usadas para rastrear influenciadores enquanto as hashtags ajudam a monitorar tendências
Casos de uso típicos incluem monitoramento de marcas, análise de sentimentos e rastreamento de tendências dentro do fediverso Empresas e pesquisadores podem aproveitar esses dados para obter insights sobre discussões públicas e engajamento