api.consumet.org icon indicating copy to clipboard operation
api.consumet.org copied to clipboard

PSA: Public API (api.consumet.org) will be very limited by September 29, 2023

Open riimuru opened this issue 1 year ago • 5 comments

The public Consumet API (api.consumet.org) will turn into a demo of this project. You should use it for testing purposes only. Abuse of the public API has become so frequent that the downtimes have increased significantly (e.g #479, #483).

To encounter this issue, the following changes will be made:

  • api.consumet.org will only serve requests after the visitor has requested access to the API. The user must visit the page at api.consumet.org and click a button to request temporary access. This will allow the user to use the API for 5 hours. After 5 hours, the user must request access again.
  • The rate limit will be reduced to 30 requests per minute after access has been granted. This will be enforced by the API. If the user exceeds this limit, the API will return a 429 error.

What should current users do in response to this change?

If possible, try to self-host the API or utilize the consumet.ts library. This will allow you to use the API without any restrictions. If you want an alternative, there is another repository/API built with the same function as Consumet. If you want custom mappings for anime, manga, and light novels as well as enhanced details for each media, we recommend using Anify as an alternative instead. Questions for that API specifically should be directed to their Discord instead rather than here as the project was developed by @Eltik. Note that it doesn’t support movies; only details about anime/manga/light novels as well as sources, skip times, pages, and detailed content about Japanese media.

riimuru avatar Sep 21 '23 23:09 riimuru

What about the npm module? Does that make request to this api? can that be another alternate to this?

syedolive avatar Oct 21 '23 22:10 syedolive

@syedolive The API makes use of the npm module, so there are no limitations if you utilize the npm module.

riimuru avatar Oct 21 '23 22:10 riimuru

Ok Cool.

syedolive avatar Oct 21 '23 23:10 syedolive

I have a problem why I will run npm module faced error like this

../../../node_modules/typescript/lib/typescript.js:139 for (let i = startIndex ?? 0; i < array.length; i++) { ^

SyntaxError: Unexpected token '?'

how can to ifx it ?

ClayArsenio26 avatar Dec 27 '23 07:12 ClayArsenio26

What about the Docker module? Does that make request to this api? can that be another alternate to this?

ClayArsenio26 avatar Dec 27 '23 07:12 ClayArsenio26