Reddit User Authored Submissions History
Retrieve public posts submitted by a Reddit username across subreddits with title, subreddit, score, comment count, and permalink.
curl -sG "https://api.agentapigate.ai/v1/reddit/user/posts" \ --data-urlencode "username=spez" \ --data-urlencode "sort=new" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Reddit User Authored Submissions History (`reddit.user.posts`) **username**: spez · **sort**: new · **count**: 10 ## posts - [1] id: t3_1xiupm0, score: 0, num_comments: 542, created_at: 2026-10-29T20:08:37.416000+0000, permalink: https://www.reddit.com/r/u_spez/comments/1xiupm0/about_that_login_screen/ - [2] id: t3_1vgbkge, score: 382, num_comments: 494, created_at: 2026-08-05T16:03:56.264000+0000, permalink: https://www.reddit.com/r/u_spez/comments/1vgbkge/modernizing_reddits_infrastructure_with_you/ - [3] id: t3_1u7hraf, score: 953, num_comments: 314, created_at: 2026-06-16T16:04:27.655000+0000, permalink: https://www.reddit.com/r/u_spez/comments/1u7hraf/21_years_of_reddit/ - [4] id: t3_1tvsa59, subreddit: redditstock, score: 110, num_comments: 31, created_at: 2026-06-03T15:11:07.122000+0000 - [5] id: t3_1tp51gf, subreddit: redditstock, score: 281, num_comments: 87, created_at: 2026-05-27T13:06:39.906000+0000 - [6] id: t3_1t4nr7v, score: 66, num_comments: 49, created_at: 2026-05-05T18:19:02.142000+0000, permalink: https://www.reddit.com/r/u_spez/comments/1t4nr7v/reddit_looked_old_the_day_it_was_born_i_joined_my/ - [7] id: t3_1t07i8q, subreddit: redditstock, score: 212, num_comments: 61, created_at: 2026-04-30T20:10:14.125000+0000 - [8] id: t3_1s3f2fe, subreddit: redditstock, score: 221, num_comments: 88, created_at: 2026-03-25T16:08:53.482000+0000 - [9] id: t3_1s3ezrc, score: 798, num_comments: 508, created_at: 2026-03-25T16:06:12.621000+0000, permalink: https://www.reddit.com/r/u_spez/comments/1s3ezrc/humans_welcome_bots_must_wear_name_tags/ - [10] id: t3_1qwxst2, subreddit: redditstock, score: 209, num_comments: 109, created_at: 2026-02-05T21:11:57.930000+0000
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:reddit.user.posts · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| username | string | required | spez | Reddit username without u/ prefix (e.g. spez) |
| sort | string | optional | new | Sort order |
| limit | number | optional | 10 | Max posts (1-25) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0015 / call | $0/mo · Balance never expires |
| Remote MCP Tool | reddit_user_posts | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1479 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 8817t → 464t (-95%) | Partner credit: eligible |
More Social & Video Real-Time APIs
Fetch TikTok account profile bio, verification badge, follower count, heart count, and video count.
List recent short videos posted by a TikTok creator with view, like, comment, and share counts.
Fetch full metadata, audio track, author details, and engagement metrics for a TikTok video URL or ID.
Fetch top comments on a TikTok video URL or ID with author handles and like counts.
Search TikTok short videos by keyword with view, like, and creator statistics.
Fetch currently trending viral TikTok videos in a target country code.
Frequently Asked Questions
How do I call Reddit User Authored Submissions History (reddit.user.posts) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/reddit/user/posts with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool reddit_user_posts on https://mcp.agentapigate.ai/mcp.
What does reddit.user.posts cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on reddit.user.posts?
Passing ?format=md transforms the response into normalized Markdown (~464 tokens vs ~8817 raw tokens, saving 95% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only social endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["reddit.user.posts"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.