curl --request GET \
--url 'https://api.keyapi.ai/v1/reddit/check_subreddit_muted?subreddit_id=t5_2qh0u&need_format=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"subredditInfoById": {
"__typename": "Subreddit",
"isMuted": false
}
},
"requestId": "a56c877e-a4d1-45a9-9131-2f0c0388940c"
}Check if a specified Reddit subreddit is muted by the current user
Note: The ID format for the APP API differs from the Web API — a type prefix is required Subreddit ID prefix: t5_ (e.g., t5_2qh0u)
curl --request GET \
--url 'https://api.keyapi.ai/v1/reddit/check_subreddit_muted?subreddit_id=t5_2qh0u&need_format=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"subredditInfoById": {
"__typename": "Subreddit",
"isMuted": false
}
},
"requestId": "a56c877e-a4d1-45a9-9131-2f0c0388940c"
}🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Subreddit ID, format begins with "t5_", obtainable from the fetch_subreddit_info API
Whether to clean/sanitize the data
The response is of type object.