For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Connect
DocumentationAPI ReferenceKnowledge Base
DocumentationAPI ReferenceKnowledge Base
  • API Reference
      • POSTList connected Reddit accounts
      • POSTSearch Reddit posts by keyword
      • POSTList posts from a subreddit by sort order
      • POSTSearch subreddits by name or description
      • POSTGet a subreddit's metadata and rules
      • POSTGet a Reddit post and its full comment tree
      • POSTGet a Reddit user's karma + account age + verified flags
      • POSTList a user's recent posts and/or comments
      • POSTReply to a Reddit post or comment
      • POSTSubmit a new post to a subreddit (text or link)
      • POSTUpvote, downvote, or clear a vote
      • POSTDM a user via Reddit Chat (Matrix-based)
      • POSTFollow / unfollow a Reddit post for new-comment notifications
      • POSTSave / unsave a Reddit post or comment
      • POSTList saved posts and comments (the engagement queue)
      • POSTRead DMs, comment replies, post replies, and mentions
      • POSTBulk subscribe or unsubscribe to subreddits
      • POSTList subscribed subreddits
      • POSTList the connected account's custom feeds (multireddits)
      • POSTList posts from a custom feed, merged across all its subreddits
      • POSTCreate a custom feed (multireddit) from a list of subreddits
Connect
LogoLogo
API ReferenceReddit

List subscribed subreddits

POST
https://api.gtm-tools.sh/api/v0/list_reddit_subscriptions
POST
/api/v0/list_reddit_subscriptions
1const url = 'https://api.gtm-tools.sh/api/v0/list_reddit_subscriptions';
2const options = {
3 method: 'POST',
4 headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
5 body: '{"senderUsername":"arnaudjnn","limit":100}'
6};
7
8try {
9 const response = await fetch(url, options);
10 const data = await response.json();
11 console.log(data);
12} catch (error) {
13 console.error(error);
14}
200Reddit_listRedditSubscriptions_example
1{
2 "status": "ok",
3 "error": "string"
4}

Cost — 1 token.

Was this page helpful?
Previous

List the connected account’s custom feeds (multireddits)

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
senderUsernamestringRequired
limitintegerOptional1-100
afterstringOptional

Response

Subscribed subreddits
statusenum
Allowed values:
errorstring

Present when status: error. Human-readable explanation.