curl --request GET \
--url 'https://api.keyapi.ai/v1/reddit/fetch_user_active_subreddits?username=spez&need_format=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"redditorInfoByName": {
"__typename": "Redditor",
"activeSubreddits": null
}
},
"requestId": "932e4837-563b-4cb0-a882-6964f69ba9f9"
}Get the list of most active Reddit communities for a specified user
curl --request GET \
--url 'https://api.keyapi.ai/v1/reddit/fetch_user_active_subreddits?username=spez&need_format=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"redditorInfoByName": {
"__typename": "Redditor",
"activeSubreddits": null
}
},
"requestId": "932e4837-563b-4cb0-a882-6964f69ba9f9"
}π€ 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.
Reddit username
Whether to clean/sanitize the data
The response is of type object.