qlaffont / fortnite-api

Fortnite API, Get Stats, News And Status
https://twitter.com/qlaffont
MIT License
354 stars 86 forks source link

API Rate Limit? #34

Closed Emyrk closed 6 years ago

Emyrk commented 6 years ago

Do you know what the api limit is before Epic stops letting you query?

qlaffont commented 6 years ago

Nop, i didn't have an issue of API Rate Limit !

qlaffont commented 6 years ago

If you have a quota to give me, share it ;). I will add it to the ReadME.

nholms commented 6 years ago

@qlaffont Any idea on what the token expiration is when you use this method?

qlaffont commented 6 years ago

You can check on index.js (CheckToken Method)

Fyb3roptik commented 5 years ago

That is not the resolution. They are currently rate limiting based on IP address and account

Fyb3roptik commented 5 years ago
2019/02/07 16:54:03 unsuccessful response returned: 429 {
  "errorCode" : "errors.com.epicgames.common.throttled",
  "errorMessage" : "Operation access is limited by throttling policy, please try again in 5588 second(s).",
  "messageVars" : [ "5588" ],
  "numericErrorCode" : 1041,
  "originatingService" : "com.epicgames.account.public",
  "intent" : "prod"
}
maybeanerd commented 5 years ago
2019/02/07 16:54:03 unsuccessful response returned: 429 {
  "errorCode" : "errors.com.epicgames.common.throttled",
  "errorMessage" : "Operation access is limited by throttling policy, please try again in 5588 second(s).",
  "messageVars" : [ "5588" ],
  "numericErrorCode" : 1041,
  "originatingService" : "com.epicgames.account.public",
  "intent" : "prod"
}

Do you know what the ratelimit is? (as it obviously has changed since march 2018)

We're thinking about using this instead of third party APIs, but we will need very high ratelimits for potentially hundreds of thousand users we want to pull data about

Fyb3roptik commented 5 years ago

It isnt high enough for that many users. What will you be using it for?

maybeanerd commented 5 years ago

We're building a web platform for gamers (flint.gg). Users are able to connect games to their profile, and we pull stats automatically. Currently we're doing this for Fortnite over a third-party API (fortniteapi.com), which has pretty high ratelimits >30,000 r / h We would rather use a first-party API though, so when I found this I was wondering if we could switch. It seems the API we currently use uses this as source (as probably all do since there is no official public FN API ? ), so either they have a set of many accounts they rotate through using, or the ratelimit of this API is actually sufficient to supply millions of requests on new and already pulled data (which fortniteapi.com has)

Fyb3roptik commented 5 years ago

Well, I got rate limited because I do the call every minute. We run real money contests using it. I think you will be fine and yes I rotate with 10 accounts, to combat it