Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Reddit Subreddit Mute Status

Documentazione 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.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
Subreddit ID starting with "t5_", can be obtained from fetch_subreddit_info endpoint
Whether to clean and format the data
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README 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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Reddit$0.001 per chiamataJSON
Reddit$0.001 per chiamataJSON
Reddit$0.001 per chiamataJSON
Reddit$0.001 per chiamataJSON
Reddit$0.001 per chiamataJSON
Reddit$0.001 per chiamataJSON

Guide:Best Reddit API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Reddit Subreddit Mute Status?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Reddit Subreddit Mute Status?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Reddit Subreddit Mute Status?

Richiesti: subreddit_id (string). Facoltativi: need_format (boolean). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Reddit Subreddit Mute Status?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Reddit?

No. Reddit Subreddit Mute Status funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Reddit.