Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Reddit Subreddit Mute Status

Docs da API
https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted

Checks whether a specified Reddit subreddit is muted by the current account using its ID. Supports an optional flag to format the returned output.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 1 opcionais

Playground

Entrada
Subreddit ID starting with "t5_", can be obtained from fetch_subreddit_info endpoint
Whether to clean and format the data
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Reddit Subreddit Mute Status API

Returns whether the current account has muted a given Reddit subreddit. It needs a subreddit_id that starts with t5_, such as t5_2qh0u.

Use cases

  • Check if a subreddit is muted before showing its posts in a custom Reddit client.
  • Show a mute toggle state next to subreddit details in an account settings screen.
  • Audit a list of subreddit IDs to find which ones the account has muted.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subreddit_id": "t5_2qh0u"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
subreddit_idstringYesSubreddit ID starting with "t5_", can be obtained from fetch_subreddit_info endpoint
need_formatbooleanNoWhether to clean and format the data

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "subredditInfoById": {
    "__typename": "Subreddit",
    "isMuted": false
  }
}

Response fields

FieldMeaning
subredditInfoByIdWrapper object for the subreddit that matches the requested subreddit_id.
subredditInfoById.__typenameObject type name. The value is Subreddit for a subreddit record.
subredditInfoById.isMutedBoolean mute flag. true means the current account has muted this subreddit, and false means it has not.

Notes

  • Get subreddit_id from the Reddit App Subreddit Info API. The ID starts with t5_.
  • The result applies to the account tied to the call, so the same subreddit_id can return different values for different accounts.
  • need_format is optional and is a boolean. The example request omits it.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Reddit$0.001 por chamadaJSON
Reddit$0.001 por chamadaJSON
Reddit$0.001 por chamadaJSON
Reddit$0.001 por chamadaJSON
Reddit$0.001 por chamadaJSON
Reddit$0.001 por chamadaJSON

Guias:Best Reddit API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Reddit Subreddit Mute Status?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Reddit Subreddit Mute Status?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Reddit Subreddit Mute Status aceita?

Obrigatórios: subreddit_id (string). Opcionais: need_format (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Reddit Subreddit Mute Status retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Reddit ou de uma chave de API?

Não. Reddit Subreddit Mute Status funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Reddit separadamente.