APIs and prices
The APIs this site covers, from the PrimaryAPI catalog. Prices are in credits and update with the catalog. You only pay when data comes back.
- PostOne Reddit post by URL: title, body, author, subreddit, score, upvote ratio, comment count and flags.2 credits / call
- Post CommentsComments of a Reddit post by URL, flattened depth-first with parent ids, scores and timestamps, cursor paged.2 credits / call
- SearchSearch Reddit posts across all subreddits by query, with sort order and time window, cursor paged.2 credits / call
- Subreddit DetailsMetadata of one subreddit.2 credits / call
- Subreddit PostsPosts of one subreddit listing, cursor paged.2 credits / call
- Subreddit SearchSearch posts inside one subreddit by query, sort order and time window, cursor paged.2 credits / call
- Trending PostsCurrently popular posts across Reddit, cursor paged.2 credits / call
- User PostsPosts submitted by one Reddit user, sorted by new, top, hot or controversial, cursor paged.2 credits / call
Each row opens the API’s page on primaryapi.com, with its input, output fields and an example.
Try our pick on your own data.
Create a PrimaryAPI account, copy your key and make your first call from the docs. You only pay when data comes back.