Skip to content

reddit.com User Posts API

Returns one page (about 25) of the posts a Reddit user submitted, plus the cursor of the next page.

GEThttps://api.maviapi.com/v1/sites/reddit/list_user_posts5 credits per call

Parameters

NameRequiredExampleDescription
usernamestring in queryOptionalGallowBoobReddit username, with or without the u/ prefix
sortstring in queryOptionalnewnew, hot, top or controversial
time_filterstring in queryOptionalallperiod for sort=top and sort=controversial: hour, day, week, month, year or all
afterstring in queryOptionalNonenext_after from a previous call (or a post id like t3_fy0ah5) to get the page after it

Response fields

usernamestringe.g."GallowBoob"
sortstringe.g."new"
returnedintegere.g.25
postsobject[]18 fields
idstringe.g."t3_fgghrs"
titlestringe.g."‪Everything in balance.‬ ‪Except karma ⬆️‬⬆️⬆️"
authorstringe.g."GallowBoob"
subredditstringe.g."u_GallowBoob"
scoreintegere.g.7956
upvote_rationumbere.g.0.968772263120399
comment_countintegere.g.66
award_countnull
createdstringe.g."2020-03-10T16:27:45.010000+0000"
post_typestringe.g."image"
flairnull
domainstringe.g."i.redd.it"
urlstringe.g."https://i.redd.it/41i4qishgvl41.jpg"
permalinkstringe.g."https://www.reddit.com/user/GallowBoob/comments/fgghrs/everything_in_balance_except_karma/"
body_previewstringe.g.""
imagesstring[]
nsfwbooleane.g.false
spoilerbooleane.g.false
next_afterstringe.g."t3_zgkubx"

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/reddit/list_user_posts' \
  -H "Authorization: Bearer $MAVI_KEY"

reddit.com User Posts API questions

What you get, what it costs and how to call it.

What does the reddit.com User Posts API return?

Returns one page (about 25) of the posts a Reddit user submitted, plus the cursor of the next page. The response has username, sort, returned, posts and next_after.

Which parameters does the reddit.com User Posts API take?

Every parameter of GET /list_user_posts is optional. You can pass username, sort, time_filter and after.

How much does one reddit.com User Posts API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the reddit.com User Posts API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/reddit/list_user_posts with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the reddit.com User Posts API official?

No. It is an independent, hosted API from maviapi for the public data on reddit.com, and it is not made, endorsed or supported by reddit.com. Its parameters and response fields are documented on this page.