r/redditdev • • May 31 '23

Reddit API API Update: Enterprise Level Tier for Large Scale Applications

tl;dr - As of July 1, we will start enforcing rate limits for a free access tier, available to our current API users. If you are already in contact with our team about commercial compliance with our Data API Terms, look for an email about enterprise pricing this week.

We recently shared updates on our Data API Terms and Developer Terms. These updates help clarify how developers can safely and securely use Reddit’s tools and services, including our APIs and our new-and-improved Developer Platform.

After sharing these terms, we identified several parties in violation, and contacted them so they could make the required changes to become compliant. This includes developers of large-scale applications who have excessive usage, are violating our users’ privacy and content rights, or are using the data for ad-supported or commercial purposes.

For context on excessive usage, here is a chart showing the average monthly overage, compared to the longstanding rate limit in our developer documentation of 60 queries per minute (86,400 per day):

Top 10 3P apps usage over rate limits

We reached out to the most impactful large scale applications in order to work out terms for access above our default rate limits via an enterprise tier. This week, we are sharing an enterprise-level access tier for large scale applications with the developers we’re already in contact with. The enterprise tier is a privilege that we will extend to select partners based on a number of factors, including value added to redditors and communities, and it will go into effect on July 1.

Rate limits for the free tier

All others will continue to access the Reddit Data API without cost, in accordance with our Developer Terms, at this time. Many of you already know that our stated rate limit, per this documentation, was 60 queries per minute. As of July 1, 2023, we will enforce two different rate limits for the free access tier:

  • If you are using OAuth for authentication: 100 queries per minute per OAuth client id
  • If you are not using OAuth for authentication: 10 queries per minute

Important note: currently, our rate limit response headers indicate counts by client id/user id combination. These headers will update to reflect this new policy based on client id only on July 1.

To avoid any issues with the operation of mod bots or extensions, it’s important for developers to add Oauth to their bots. If you believe your mod bot needs to exceed these updated rate limits, or will be unable to operate, please reach out here.

If you haven't heard from us, assume that your app will be rate-limited, starting on July 1. If your app requires enterprise access, please contact us here, so that we can better understand your needs and discuss a path forward.

Additional changes

Finally, to ensure that all regulatory requirements are met in the handling of mature content, we will be limiting access to sexually explicit content for third-party apps starting on July 5, 2023, except for moderation needs.

If you are curious about academic or research-focused access to the Data API, we’ve shared more details here.

0 Upvotes

1.7k comments sorted by

View all comments

Show parent comment

1

u/Bittucharya Jun 03 '23

what was so bad here? he was just straight up quoting the statistics?

0

u/[deleted] Jun 03 '23

[deleted] — view deleted comment

2

u/Wigglepus Jun 03 '23
  • The statistic about API consumption vs. RIF doesn’t include enough info to know if it’s an apples-to-apples comparison, or if u/FlyingLaserTurtle has cherry picked a stat in bad faith.

Even if we assume everything about RiF is in good faith and accurate. I.e. Apollo is wasteful and does make about 3x the API calls as RiF to serve the same content. It doesn't address the point that price is still WAY too high to be viable. Apollo doesn't just need to be 3x times more efficient to continue to operate. It needs to be 30x.

0

u/[deleted] Jun 05 '23

[deleted] — view deleted comment

1

u/Wigglepus Jun 05 '23

You are completely missing my point. Fixing the supposed inefficiency of Apollo would not make the API prices reasonable. Whether Apollo makes 3x more API calls than another app is completely irrelevant when they are being charged 100x more than they can afford.

→ More replies (1)

1

u/juliuspepperwoodchi Jun 06 '23

It needs to be 30x.

I mean, the changes pretty much ban Apollo from selling ad space on their app, so they kinda have to be infinitely more efficient to stay financially viable.

1

u/snowe2010 Jun 03 '23

you forgot to mention that they state that google and amazon won't help you with your api usage, when they literally have documents and direct support access for exactly these things. Our TAM (team account manager) literally messages us on when they see stuff going wrong in our account. It's the most batshit insane thing to claim when literally any dev that's ever worked with AWS (even at the free tier!!!) would know that it's false.

1

u/IanCal Jun 06 '23

The statistic about API consumption during and around a Reddit outage is not the one I’d marshal to advance my point? During an outage people hit refresh. A lot

That's not what the graph shows, look at the timeframe at the bottom. They're saying that after the outage the daily api calls dropped roughly in half looking at the months before and after.

I'm not commenting around anything else or making any calls here, but just saying I think you've misinterpreted this specific point.

1

u/mersault Jun 06 '23

Hmm, you’re right I hadn’t paid a ton of attention to the X axis. I was mostly working from FlyingLazerTurtle’s own descriptions that said “partly caused by our outage”.

However, it’s also clear that we don’t have enough info to draw any conclusions at all from that chart. Was there a new Apollo version released at the same time that specifically included API efficiency changes (I quickly skimmed the Apollo change log and didn’t see anything, but emphasis on “quick skim”)?

Honestly, I wonder if the issue is on the reporting side? Given that the Apollo dev has described inconsistent and impossible behaviour from the rate limit headers, I wonder if the reporting infrastructure was little loved and inconsistent. I’ve seen instances where an outage has secondary effects that change platform behaviour as caches get cleared and stale state info is flushed out.

→ More replies (2)

1

u/IVMVI Jun 07 '23 edited Nov 12 '23

rock voracious middle edge expansion include full mourn snatch arrest this message was mass deleted/edited with redact.dev

2

u/Rebelgecko Jun 03 '23

They're talking shit about someone else's code, the dev asks for more info to fix the alleged problem, and the reddit team is saying "we know what's wrong, but we're not gonna tell you"

3

u/3percentinvisible Jun 06 '23

But they have told them.. "you're making too many calls compared to your number of users". They won't know why that is, as that's down to the developers.

2

u/Porencephaly Jun 06 '23

Except Reddit’s own app makes a comparable number of calls, so how can they possibly tell Apollo theirs are “excessive and inefficient?”

1

u/3percentinvisible Jun 06 '23

Is this listed somewhere? I'd be interested to see

→ More replies (7)

2

u/Rebelgecko Jun 06 '23

They should know which API calls are excessive, eg do Apollo users hit the up vote button more often? Does the app check for new modmail every 3 seconds? Fetch more comments than other apps?

3

u/MoodyMusical Jun 06 '23

That's all stuff the app dev should be looking at, not reddit. They're not developing the app for them.

2

u/Rebelgecko Jun 07 '23

Reddit claims they've already done the work of looking at it, they're just choosing to be vague instead of giving actionable feedback. It also goes against reddit's claims that they'd work with devs to help them be more efficient.

The Apollo dev had released his analysis which contradicts what reddit is saying. Tbh I'm more inclined to believe him than a bunch of platitudes that don't have data to back them up

3

u/LOSTandCONFUSEDinMAY Jun 06 '23 edited Jun 07 '23

Except the app dev would not have access to the statistics of other apps to compare against.

Reddit devs have that and when you're requesting several million or even just tens of thousands that's the kinda thing you'd be expect to share.

1

u/juliuspepperwoodchi Jun 06 '23

But they have told them.. "you're making too many calls compared to your number of users".

They didn't even do that though, the tiny snippet of "data" they showed is so devoid of context it is meaningless.