Reddit

Reddit Data API for reading the user's identity and submitting posts

Active Verified

Capabilities (2)

Get Authenticated User

Get the authenticated Reddit user's identity (name, id, karma, created date).

get_me() -> {name, id, link_karma, comment_karma, created_utc}
Required scopes:
identity

Submit Post

Submit a post to a subreddit: kind "self" for a text post (uses text) or "link" for a link post (uses url). Subreddit rules (flair, karma, account age) may reject the submission; errors come back in json.errors. Requires form-encoded bodies (Core G#47).

submit_post(sr, kind, title, text?, url?, ...) -> {json: {errors, data: {url, id, name}}}
Required scopes:
submit

Authentication

  • Oauth2_authorization_code (Primary)