Okapi Okapi

Reddit API GET /api/recommend/sr/{id} endpoint removal

Deprecated, no dateSubscribe to Reddit APIShare

Reddit has deprecated GET /api/recommend/sr/{id} without specifying a shutdown date. The endpoint is intended to return subreddits recommended for given communities. Following this change, calls to this endpoint fail.


Calls it hits

  • GET /api/recommend/sr/{id}

What to use instead of these calls

Reddit documents no replacement for subreddit recommendations. You must drop the call or find related subreddits another way, such as GET /subreddits/search, which requires more than a direct parameter update.

Reddit documents no replacement for subreddit recommendations.

In Reddit API's words

DEPRECATED: Return subreddits recommended for the given subreddit(s).

Reddit API, Announcement

Facts

API
Reddit API oauth.reddit.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Reddit API's own pages

Questions

When does this change take effect?

Reddit API deprecated GET /api/recommend/sr/{id} without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Reddit API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Reddit API

Hear about each breaking change Reddit API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Reddit API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.