AACFlow

Reddit

Доступ к данным и контенту Reddit

Reddit — это социальная платформа, где пользователи делятся контентом и обсуждают его в тематических сообществах, называемых сабреддитами.

Интеграция Reddit в AACFlow позволяет:

  • Получение постов: получайте посты из любого сабреддита с возможностью сортировки (Hot, New, Top, Rising) и фильтрации Top-постов по времени (день, неделя, месяц, год, всё время).
  • Получение комментариев: получайте комментарии к конкретному посту с возможностью сортировки и указания количества комментариев.

Эти операции позволяют вашим AI-агентам получать и анализировать контент Reddit в рамках автоматизированных воркфлоу.

Инструкции по использованию

Интегрируйте Reddit into workflows. Read posts, comments, и search content. Submit posts, vote, reply, edit, manage messages, и access user и subreddit info.

Инструменты

reddit_get_posts

Получить посты from a subreddit с different сортировка options

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to Получить посты from (e.g., "technology", "news")
sortstringНетSort method for posts (e.g., "hot", "new", "top", "rising", "controversial"). Default: "hot"
limitnumberНетMaximum number of posts to return (e.g., 25). Default: 10, max: 100
timestringНетTime filter for "top" sorted posts: "day", "week", "month", "year", or "all" (default: "all")
afterstringНетFullname of a thing to fetch items after (for постраничная выборка)
beforestringНетFullname of a thing to fetch items before (for постраничная выборка)
countnumberНетA count of items already seen in the listing (used for numbering)
showstringНетShow items that would normally be filtered (e.g., "all")
sr_detailbooleanНетExpand subreddit details in the response
gstringНетGeo filter for posts (e.g., "GLOBAL", "US", "AR", etc.)

Выходные данные

ПараметрТипОписание
subredditstringName of the subreddit where posts were fetched from
postsarrayМассив posts with title, author, URL, score, comments count, and metadata
idstringPost ID
namestringThing fullname (t3_xxxxx)
titlestringPost title
authorstringAuthor username
urlstringPost URL
permalinkstringReddit permalink
scorenumberPost score (upvotes - downvotes)
num_commentsnumberNumber of comments
created_utcnumberCreation timestamp (UTC)
is_selfbooleanПроизошла ли эта is a text post
selftextstringText content for self posts
thumbnailstringThumbnail URL
subredditstringSubreddit name
afterstringFullname of the last item for forward постраничная выборка
beforestringFullname of the first item for backward постраничная выборка

reddit_get_comments

Fetch comments from a specific Reddit post

Входные параметры

ПараметрТипОбязательныйОписание
postIdstringДаThe ID of the Reddit post to fetch comments from (e.g., "abc123")
subredditstringДаThe subreddit where the post is located (e.g., "technology", "programming")
sortstringНетSort method for comments: "confidence", "top", "new", "controversial", "old", "random", "qa" (default: "confidence")
limitnumberНетMaximum number of comments to return (e.g., 25). Default: 50, max: 100
depthnumberНетMaximum depth of subtrees in the thread (controls nested comment levels)
contextnumberНетNumber of parent comments to include
showeditsbooleanНетShow edit information for comments
showmorebooleanНетInclude "load more comments" elements in the response
threadedbooleanНетReturn comments in threaded/nested format
truncatenumberНетInteger to truncate comment depth
commentstringНетID36 of a comment to focus on (returns that comment thread)

Выходные данные

ПараметрТипОписание
postobjectPost information including ID, title, author, content, and metadata
idstringPost ID
namestringThing fullname (t3_xxxxx)
titlestringPost title
authorstringPost author
selftextstringPost text content
scorenumberPost score
created_utcnumberCreation timestamp
permalinkstringReddit permalink
commentsarrayNested comments with author, body, score, timestamps, and replies
idstringComment ID
namestringThing fullname (t1_xxxxx)
authorstringComment author
bodystringComment text
scorenumberComment score
created_utcnumberCreation timestamp
permalinkstringComment permalink
repliesarrayNested reply comments

reddit_get_controversial

Fetch controversial posts from a subreddit

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to Получить посты from (e.g., "technology", "news")
timestringНетTime filter for controversial posts: "hour", "day", "week", "month", "year", or "all" (default: "all")
limitnumberНетMaximum number of posts to return (e.g., 25). Default: 10, max: 100
afterstringНетFullname of a thing to fetch items after (for постраничная выборка)
beforestringНетFullname of a thing to fetch items before (for постраничная выборка)
countnumberНетA count of items already seen in the listing (used for numbering)
showstringНетShow items that would normally be filtered (e.g., "all")
sr_detailbooleanНетExpand subreddit details in the response

Выходные данные

ПараметрТипОписание
subredditstringName of the subreddit where posts were fetched from
postsarrayМассив controversial posts with title, author, URL, score, comments count, and metadata
idstringPost ID
namestringThing fullname (t3_xxxxx)
titlestringPost title
authorstringAuthor username
urlstringPost URL
permalinkstringReddit permalink
scorenumberPost score (upvotes - downvotes)
num_commentsnumberNumber of comments
created_utcnumberCreation timestamp (UTC)
is_selfbooleanПроизошла ли эта is a text post
selftextstringText content for self posts
thumbnailstringThumbnail URL
subredditstringSubreddit name
afterstringFullname of the last item for forward постраничная выборка
beforestringFullname of the first item for backward постраничная выборка

Поиск posts within a subreddit

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to search in (e.g., "technology", "programming")
querystringДаSearch query text (e.g., "artificial intelligence", "machine learning tutorial")
sortstringНетSort method for search results (e.g., "relevance", "hot", "top", "new", "comments"). Default: "relevance"
timestringНетTime filter for search results: "hour", "day", "week", "month", "year", or "all" (default: "all")
limitnumberНетMaximum number of posts to return (e.g., 25). Default: 10, max: 100
restrict_srbooleanНетRestrict search to the specified subreddit only (default: true)
afterstringНетFullname of a thing to fetch items after (for постраничная выборка)
beforestringНетFullname of a thing to fetch items before (for постраничная выборка)
countnumberНетA count of items already seen in the listing (used for numbering)
showstringНетShow items that would normally be filtered (e.g., "all")
typestringНетType of search results: "link" (posts), "sr" (subreddits), or "user" (users). Default: "link"
sr_detailbooleanНетExpand subreddit details in the response

Выходные данные

ПараметрТипОписание
subredditstringName of the subreddit where search was performed
postsarrayМассив search result posts with title, author, URL, score, comments count, and metadata
idstringPost ID
namestringThing fullname (t3_xxxxx)
titlestringPost title
authorstringAuthor username
urlstringPost URL
permalinkstringReddit permalink
scorenumberPost score (upvotes - downvotes)
num_commentsnumberNumber of comments
created_utcnumberCreation timestamp (UTC)
is_selfbooleanПроизошла ли эта is a text post
selftextstringText content for self posts
thumbnailstringThumbnail URL
subredditstringSubreddit name
afterstringFullname of the last item for forward постраничная выборка
beforestringFullname of the first item for backward постраничная выборка

reddit_submit_post

Submit a new post to a subreddit (text или link)

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to post to (e.g., "technology", "programming")
titlestringДаTitle of the submission (e.g., "Check out this new AI tool"). Max 300 characters
textstringНетText content for a self post in markdown format (e.g., "This is the body of my post")
urlstringНетURL for a link post (cannot be used with text)
nsfwbooleanНетMark post as NSFW
spoilerbooleanНетMark post as spoiler
send_repliesbooleanНетSend reply notifications to inbox (default: true)
flair_idstringНетFlair template UUID for the post (max 36 characters)
flair_textstringНетFlair text to display on the post (max 64 characters)
collection_idstringНетCollection UUID to add the post to

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли post was submitted successfully
messagestringSuccess or error message
dataobjectPost data including ID, name, URL, and permalink
idstringNew post ID
namestringThing fullname (t3_xxxxx)
urlstringPost URL from API response
permalinkstringFull Reddit permalink

reddit_vote

Upvote, downvote, или unvote a Reddit post или comment

Входные параметры

ПараметрТипОбязательныйОписание
idstringДаThing fullname to vote on (e.g., "t3_abc123" for post, "t1_def456" for comment)
dirnumberДаVote direction: 1 (upvote), 0 (unvote), or -1 (downvote)

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли vote was successful
messagestringSuccess or error message

reddit_save

Save a Reddit post или comment to your saved items

Входные параметры

ПараметрТипОбязательныйОписание
idstringДаThing fullname to save (e.g., "t3_abc123" for post, "t1_def456" for comment)
categorystringНетCategory to save under (Reddit Gold feature)

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли save was successful
messagestringSuccess or error message

reddit_unsave

Входные параметры

ПараметрТипОбязательныйОписание

Выходные данные

ПараметрТипОписание
subredditstringSubreddit name
postsjsonPosts data
postjsonSingle post data
commentsjsonComments data
successbooleanOperation success status
messagestringResult message
datajsonResponse data
afterstringPagination cursor (next page)
beforestringPagination cursor (previous page)
idstringEntity ID
namestringEntity fullname
messagesjsonMessages data
display_namestringSubreddit display name
subscribersnumberSubscriber count
descriptionstringDescription text
link_karmanumberLink karma
comment_karmanumberComment karma
total_karmanumberTotal karma
icon_imgstringIcon image URL

reddit_reply

Добавить комментарий reply to a Reddit post или comment

Входные параметры

ПараметрТипОбязательныйОписание
parent_idstringДаThing fullname to reply to (e.g., "t3_abc123" for post, "t1_def456" for comment)
textstringДаComment text in markdown format (e.g., "Great post! Here is my reply")
return_rtjsonbooleanНетReturn response in Rich Text JSON format

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли reply was posted successfully
messagestringSuccess or error message
dataobjectComment data including ID, name, permalink, and body
idstringNew comment ID
namestringThing fullname (t1_xxxxx)
permalinkstringComment permalink
bodystringComment body text

reddit_edit

Edit the text of your own Reddit post или comment

Входные параметры

ПараметрТипОбязательныйОписание
thing_idstringДаThing fullname to edit (e.g., "t3_abc123" for post, "t1_def456" for comment)
textstringДаNew text content in markdown format (e.g., "Updated content here")

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли edit was successful
messagestringSuccess or error message
dataobjectUpdated content data
idstringEdited thing ID
bodystringUpdated comment body (for comments)
selftextstringUpdated post text (for self posts)

reddit_delete

Удалить your own Reddit post или comment

Входные параметры

ПараметрТипОбязательныйОписание
idstringДаThing fullname to delete (e.g., "t3_abc123" for post, "t1_def456" for comment)

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли deletion was successful
messagestringSuccess or error message

reddit_subscribe

Subscribe или unsubscribe from a subreddit

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to subscribe to or unsubscribe from (e.g., "technology", "programming")
actionstringДаAction to perform: "sub" to subscribe or "unsub" to unsubscribe

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли subscription action was successful
messagestringSuccess or error message

reddit_get_me

Получить информацию о the authenticated Reddit user

Входные параметры

ПараметрТипОбязательныйОписание

Выходные данные

ПараметрТипОписание
idstringUser ID
namestringUsername
created_utcnumberAccount creation time in UTC epoch seconds
link_karmanumberTotal link karma
comment_karmanumberTotal comment karma
total_karmanumberCombined total karma
is_goldbooleanWhether user has Reddit Premium
is_modbooleanWhether user is a moderator
has_verified_emailbooleanWhether email is verified
icon_imgstringUser avatar/icon URL

reddit_get_user

Получить public profile information about any Reddit user by username

Входные параметры

ПараметрТипОбязательныйОписание
usernamestringДаReddit username to look up (e.g., "spez", "example_user")

Выходные данные

ПараметрТипОписание
idstringUser ID
namestringUsername
created_utcnumberAccount creation time in UTC epoch seconds
link_karmanumberTotal link karma
comment_karmanumberTotal comment karma
total_karmanumberCombined total karma
is_goldbooleanWhether user has Reddit Premium
is_modbooleanWhether user is a moderator
has_verified_emailbooleanWhether email is verified
icon_imgstringUser avatar/icon URL

reddit_send_message

Отправить a private message to a Reddit user

Входные параметры

ПараметрТипОбязательныйОписание
tostringДаRecipient username (e.g., "example_user") or subreddit (e.g., "/r/subreddit")
subjectstringДаMessage subject (max 100 characters)
textstringДаMessage body in markdown format
from_srstringНетSubreddit name to send the message from (requires moderator mail permission)

Выходные данные

ПараметрТипОписание
successbooleanПроизошла ли message was sent successfully
messagestringSuccess or error message

reddit_get_messages

Получить private messages from your Reddit inbox

Входные параметры

ПараметрТипОбязательныйОписание
wherestringНетMessage folder to retrieve: "inbox" (all), "unread", "sent", "messages" (direct messages only), "comments" (comment replies), "selfreply" (self-post replies), or "mentions" (username mentions). Default: "inbox"
limitnumberНетMaximum number of messages to return (e.g., 25). Default: 25, max: 100
afterstringНетFullname of a thing to fetch items after (for постраничная выборка)
beforestringНетFullname of a thing to fetch items before (for постраничная выборка)
markbooleanНетWhether to mark fetched messages as read
countnumberНетA count of items already seen in the listing (used for numbering)
showstringНетShow items that would normally be filtered (e.g., "all")

Выходные данные

ПараметрТипОписание
messagesarrayМассив messages with sender, recipient, subject, body, and metadata
idstringMessage ID
namestringThing fullname (t4_xxxxx)
authorstringSender username
deststringRecipient username
subjectstringMessage subject
bodystringMessage body text
created_utcnumberCreation time in UTC epoch seconds
newbooleanПроизошла ли message is unread
was_commentbooleanПроизошла ли message is a comment reply
contextstringContext URL for comment replies
distinguishedstringDistinction: null/"moderator"/"admin"
afterstringFullname of the last item for forward постраничная выборка
beforestringFullname of the first item for backward постраничная выборка

reddit_get_subreddit_info

Получить metadata и information about a subreddit

Входные параметры

ПараметрТипОбязательныйОписание
subredditstringДаThe subreddit to get info about (e.g., "technology", "programming", "news")

Выходные данные

ПараметрТипОписание
idstringSubreddit ID
namestringSubreddit fullname (t5_xxxxx)
display_namestringSubreddit name without prefix
titlestringSubreddit title
descriptionstringFull subreddit description (markdown)
public_descriptionstringShort public description
subscribersnumberNumber of subscribers
accounts_activenumberNumber of currently active users
created_utcnumberCreation time in UTC epoch seconds
over18booleanПроизошла ли subreddit is NSFW
langstringPrimary language of the subreddit
subreddit_typestringSubreddit type: public, private, restricted, etc.
urlstringSubreddit URL path (e.g., /r/technology/)
icon_imgstringSubreddit icon URL
banner_imgstringSubreddit banner URL

On this page

Начните создавать сегодня
Нам доверяют более 100 000 разработчиков.
SaaS-платформа для создания AI-агентов и управления агентным workforce.
Начать