Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Reddit Subreddit Mute Status

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

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 1 opsional

Playground

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

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON

Panduan:Best Reddit API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Reddit Subreddit Mute Status?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Reddit Subreddit Mute Status?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Reddit Subreddit Mute Status?

Wajib: subreddit_id (string). Opsional: need_format (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Reddit Subreddit Mute Status?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Reddit?

Tidak. Reddit Subreddit Mute Status berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Reddit secara terpisah.