MangaUpdates API Comments/Suggestions/Bugs

3 years ago
Posts: 2852
If you have any comments, suggestions, or notice a bug with our new API, please report them here.
API: https://api.mangaupdates.com
Thank you!

3 years ago
Posts: 3
What rate limits are there, and are the 412 responses related to rate limits?

3 years ago
Posts: 2852
Quote from BraveDude8
What rate limits are there, and are the 412 responses related to rate limits?
Yes.
So most read-only actions (including GET and most search related POST actions) are not limited, other than our typical DDOS protection (Edit: those will give you 429 errors).
Updates are limited, and differ based on the type of update you're doing. Generally we allow 1 update per every five seconds, but some actions allow a bit more or a bit less than that. We probably could update the docs to be a bit more forthcoming with what those limits are when we get some time.

3 years ago
Posts: 3
Thanks.
3 years ago
Posts: 2
Thanks so much for this. I was wondering why my layout-based scraper broke yesterday, glad I can now replace it with something much less jank when I get a chance.

3 years ago
Posts: 52
Can you please provide an example of how to get the bearer token and send a request with it (preferably fetch
)? Are there any CORS restrictions? I want to update my browser userscripts to use API instead of inefficient HTML parsing, which often triggered DDOS protection.
3 years ago
Posts: 9
(deleted)

3 years ago
Posts: 3
Another question - will you add an easy way to migrate old IDs to new IDs? i.e. some kind of endpoint you can batch send old IDs to and get the new IDs sent back.
3 years ago
Posts: 1
With the release of the api, will it be possible to have an Android app? Why is an official app site missing on mobile?

3 years ago
Posts: 2852
Quote from Klaster_1
Can you please provide an example of how to get the bearer token and send a request with it (preferably
fetch
)? Are there any CORS restrictions? I want to update my browser userscripts to use API instead of inefficient HTML parsing, which often triggered DDOS protection.
Under the account section there is a create session token operation. You can use that to login using username and password. It will return the JWT. The JWT is the same one that serves as your browser cookie. You also only have one session, so if you logout on the API or browser it will log you out on the other.
I think there are no current CORS settings. What would you need to get your script working? Originally we designed this to be used programmatically by a backend service, not by a browser, so I need to know more about your use case.

3 years ago
Posts: 2852
Quote from Diavol90
With the release of the api, will it be possible to have an Android app? Why is an official app site missing on mobile?
It's "missing" because I'm the only developer, and I just don't have as much time as I used to. We're most likely going to ask the community for developer help next week. We think the most glaring thing that needs to happen is a new UX and UI if MU is going to stay relevant, so we're going to focus on that first now that the API is out.

3 years ago
Posts: 2852
Quote from BraveDude8
Another question - will you add an easy way to migrate old IDs to new IDs? i.e. some kind of endpoint you can batch send old IDs to and get the new IDs sent back.
We won't at this point, but you can scrape the old URLs and capture the canonical url in the head tag. The 7 character strings are just based 36 encoded versions of the new ID.

3 years ago
Posts: 167
Please don't eventually delete the old links.... Given how many database sites (for instance mado, animebytes, mangadex, people trying to be helpful by posting a MU link) use those links and how many dead yet still visited sites reference those links, removing them would break so many things...
Not to mention how many scanlators have use those links to share manga info with each other... Removing them basically destroys that message history of they are broken

3 years ago
Posts: 2852
We don't have any plans to delete them.