Data APIs · Reddit
Reddit data APIs for AI agents
morigraph has 12 Reddit data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including profile, search, post and user posts. You need no Reddit developer account or API key, only one morigraph connection. Calls cost from 0.006 credits, about $0.60 for 1,000 calls, paid from one balance.
- APIs
- 12
- Price
- 0.006 to 0.024 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Reddit account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Reddit Profile.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Reddit Profile data API with {"username":"spez"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"reddit.profile","input":{"username":"spez"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"reddit.profile","input":{"username":"spez"}}'12 Reddit data APIs
| API | Id | Price |
|---|---|---|
| Reddit Profile | reddit.profile | 0.016 credits a call |
| Reddit Search | reddit.search | 0.006 credits a call |
| Reddit Post | reddit.post | 0.009 credits a call |
| Reddit User Posts | reddit.user_posts | 0.007 credits a call |
| Reddit Avatar | reddit.avatar | 0.007 credits a call |
| Reddit Post Comments | reddit.post_comments | 0.011 credits a call |
| Reddit Post Transcript | reddit.post_transcript | 0.024 credits a call |
| Reddit Subreddit Details | reddit.subreddit_details | 0.006 credits a call |
| Reddit Subreddit Posts | reddit.subreddit_posts | 0.007 credits a call |
| Reddit Subreddit Search | reddit.subreddit_search | 0.006 credits a call |
| Reddit Trending Posts | reddit.trending_posts | 0.006 credits a call |
| Reddit User Comments | reddit.user_comments | 0.012 credits a call |
Reddit Profile
Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.
| Argument | Type | Required | What it is |
|---|---|---|---|
username | string | yes | Reddit username, without the u/ prefix. Example: "spez". |
Returns avatarUrl bio commentKarma comments createdUtc displayName employee followers id karma nsfw postKarma posts profileUrl trophies username verified
The call
data_api({"api":"reddit.profile","input":{"username":"spez"}})Reddit Search
Search Reddit posts across all subreddits by query.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of results. Include `nextCursor` in requireFields on the first request to make sure a source that supports pagination… |
query | string | yes | Free-text search across all of Reddit. The words are searched exactly as given: Reddit's default spelling correction is not applied. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, au… |
sort | relevance | hot | top | new | comments | no | Result sort order. |
timeframe | hour | day | week | month | year | all | no | Time window for results. |
Returns author authorId createdUtc id isArchived isLocked media nextCursor nsfw numComments permalink posts score selftext subreddit title url
The call
data_api({"api":"reddit.search","input":{"query":"mechanical keyboard"}})Reddit Post
Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms… |
Returns author authorId body createdUtc domain editedUtc id image isArchived isLocked isNsfw numComments permalink score subreddit title upvoteRatio url
The call
data_api({"api":"reddit.post","input":{"url":"https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"}})Reddit User Posts
List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page. |
sort | new | top | hot | controversial | no | Sort order for the user's posts. Defaults to new (most recent first). |
username | string | yes | Reddit username without the leading u/ prefix (e.g. "spez"). |
Returns author authorId createdUtc id isArchived isLocked media nextCursor nsfw numComments permalink posts score selftext subreddit title upvoteRatio url
The call
data_api({"api":"reddit.user_posts","input":{"username":"spez"}})Reddit Avatar
Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
| Argument | Type | Required | What it is |
|---|---|---|---|
username | string | yes | Reddit username, without the u/ prefix. Example: "spez". |
Returns avatarUrl commentKarma createdUtc id karma postKarma profileUrl username
The call
data_api({"api":"reddit.avatar","input":{"username":"spez"}})Reddit Post Comments
List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Cursor from a previous response for more comments. |
url | string | yes | Full Reddit post URL on reddit.com. A gallery link (https://www.reddit.com/gallery/<id>) is read as the post it belongs to, and a relative permalink (/r/<subreddit>/comments/<id>/...) as the same path on https://www.reddit.com. |
Returns author body comments createdUtc id media nextCursor parentId score type url
The call
data_api({"api":"reddit.post_comments","input":{"url":"https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"}})Reddit Post Transcript
Extract the spoken transcript from a Reddit video post by URL.
| Argument | Type | Required | What it is |
|---|---|---|---|
language | string | no | Optional two-letter language code (defaults to en). |
url | string | yes | Reddit post URL or direct v.redd.it video URL to transcribe. |
Returns language postId transcript transcriptNotAvailable url
The call
data_api({"api":"reddit.post_transcript","input":{"url":"https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/"}})Reddit Subreddit Details
Fetch a subreddit's metadata (weekly active users, description, and category).
| Argument | Type | Required | What it is |
|---|---|---|---|
subreddit | string | yes | Subreddit name without the r/ prefix. Case-sensitive (e.g. "AskReddit", not "askreddit"). |
Returns advertiserCategory createdUtc description iconUrl id name weeklyActiveUsers
The call
data_api({"api":"reddit.subreddit_details","input":{"subreddit":"programming"}})Reddit Subreddit Posts
Fetch posts from a subreddit listing (hot, new, or top).
| Argument | Type | Required | What it is |
|---|---|---|---|
after | string | no | Legacy pagination alias. Prefer `cursor`; omit both fields for the first page. |
cursor | string | no | Opaque pagination cursor from a previous response's `nextCursor`; omit for the first page. |
limit | integer | no | Page size to ask for (up to 100). Some sources honor it; others always return their whole page of about 25 posts. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this response ended. Default 100. |
sort | hot | new | top | no | Listing sort order. Default "hot". |
subreddit | string | yes | Subreddit name without the leading r/ (e.g. "golang"). |
timeframe | all | year | month | week | day | hour | no | Time window, applied when sort is "top" (e.g. "year" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top. |
Returns author authorId createdUtc id isArchived isLocked nextCursor nsfw numComments permalink posts score selftext subreddit title upvoteRatio url
The call
data_api({"api":"reddit.subreddit_posts","input":{"subreddit":"programming"}})Reddit Subreddit Search
Search posts within a single subreddit by query, sort, and timeframe.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Optional pagination token from a previous response. Include `nextCursor` in requireFields on the first request to make sure a source that supports pagination serves it. |
query | string | no | Optional search query to match posts (e.g. 'push ups'). |
sort | relevance | hot | top | new | comments | no | Optional sort order: relevance, hot, top, new, comments. |
subreddit | string | yes | Subreddit name without the r/ prefix (e.g. 'Fitness'). |
timeframe | all | year | month | week | day | hour | no | Optional time filter: all, year, month, week, day, hour. |
Returns author authorId createdUtc id isArchived isLocked nextCursor nsfw numComments permalink posts score selftext subreddit title url
The call
data_api({"api":"reddit.subreddit_search","input":{"query":"push ups","subreddit":"Fitness"}})Reddit Trending Posts
Get currently trending Reddit posts across all subreddits with stable cursor pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
after | string | no | Pagination cursor from a previous response's nextCursor. Omit for the first page. |
limit | integer | no | Maximum number of trending posts to return (1-100, default 100). |
Returns author authorId createdUtc domain id isArchived isLocked nextCursor nsfw numComments permalink posts score selftext subreddit title upvoteRatio url
The call
data_api({"api":"reddit.trending_posts","input":{}})Reddit User Comments
List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page. |
limit | integer | no | Page size to ask for (up to 100, default 100). Some sources honor it; others always return their whole page of about 25 comments. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this re… |
sort | new | top | hot | controversial | no | Sort order for the user's comments. Defaults to new (most recent first). |
username | string | yes | Reddit username, without the u/ prefix. Example: "spez". |
Returns author bodyPreview comments createdUtc id nextCursor postId postTitle score subreddit
The call
data_api({"api":"reddit.user_comments","input":{"username":"spez"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Reddit data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Reddit API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 12 APIs on this page.
What does Reddit data cost through morigraph?
Between 0.006 and 0.024 credits a call depending on the API, where a credit is about 10 cents. That is from about $0.60 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Reddit data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Reddit data APIs are available?
Reddit Profile, Reddit Search, Reddit Post, Reddit User Posts, Reddit Avatar, Reddit Post Comments, Reddit Post Transcript, Reddit Subreddit Details, Reddit Subreddit Posts and Reddit Subreddit Search, and 2 more listed on this page.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.