Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Reddit Subreddit Mute Status

เอกสาร 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.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
Subreddit ID starting with "t5_", can be obtained from fetch_subreddit_info endpoint
Whether to clean and format the data
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Reddit$0.001 ต่อการเรียกJSON
Reddit$0.001 ต่อการเรียกJSON
Reddit$0.001 ต่อการเรียกJSON
Reddit$0.001 ต่อการเรียกJSON
Reddit$0.001 ต่อการเรียกJSON
Reddit$0.001 ต่อการเรียกJSON

คู่มือ:Best Reddit API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Reddit Subreddit Mute Status API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/reddit/app/check-subreddit-muted โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Reddit Subreddit Mute Status API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Reddit Subreddit Mute Status API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: subreddit_id (string). ตัวเลือก: need_format (boolean). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Reddit Subreddit Mute Status API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Reddit ไหม?

ไม่จำเป็น Reddit Subreddit Mute Status ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Reddit API แยกต่างหาก