Social Media

Reddit API

reddit.com

Reddit — search posts, browse subreddit feeds, fetch posts with comments, get subreddit info, search subreddits, view user profiles.

Actions
7
Category
Social Media
Login
Not required
Output
JSON

Call the Reddit API

Submit a task, then poll the job until it settles. This example runs rt_popular_subreddits.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "rt_popular_subreddits",
    "params": {
      "limit": 10,
      "after": "<after>"
    }
  }'

7 actions on reddit.com

Read

  • Reddit Popular Subreddits

    rt_popular_subredditsread1 credit / call

    Most popular subreddits by subscriber count with descriptions.

    limit
    integer
    after
    string
  • Reddit Post Details

    rt_post_detailsread1 credit / call

    Full post with comments — title, body, score, author, and comment tree.

    post_id
    string · required
    subreddit
    string
    comment_limit
    integer
  • Reddit Subreddit Info

    rt_subreddit_inforead1 credit / call

    Subreddit metadata — subscribers, description, creation date, NSFW flag, and rules.

    subreddit
    string · required
  • Reddit Subreddit Posts

    rt_subreddit_postsread1 credit / call

    Get posts from a specific subreddit — hot, new, top, or rising feeds.

    subreddit
    string · required
    sort
    string
    time
    string
    limit
    integer
    after
    string
  • Reddit User Profile

    rt_user_profileread1 credit / call

    User profile with karma, account age, and profile info.

    username
    string · required
  • Search Reddit

    rt_searchread1 credit / call

    Search Reddit posts across all subreddits with sort and time filters.

    query
    string · required
    sort
    string
    time
    string
    limit
    integer
    after
    string
  • Search Reddit Subreddits

    rt_search_subredditsread1 credit / call

    Search subreddits by name or topic. Returns subscriber count and descriptions.

    query
    string · required

Reddit API questions

Is there an API for Reddit?
Reddit does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for reddit.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Reddit data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when reddit.com changes its markup, Anakin updates the action.
Do I need a Reddit account?
No. Every Reddit action listed here runs anonymously — no account and no credentials required.
What does the Reddit API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Social Media APIs

All Social Media sites