
Rate limiting also helps third-party developers by encouraging them to build their integrations to make economical use of API requests. Since each request made to the API incurs a computational cost, it’s in the best interest of both Magic: The Gathering API and its developer partners that these costs be minimized to the greatest degree possible. As this API continues to age, the rate limits may be updated to provide better performance to users RationaleĪs previously mentioned, the primary goal is to provide a responsive interface for developers and users to use when accessing the MTG data.

Third-party applications are currently throttled to 5000 requests per hour. This document is an overview of the rate limits themselves, as well as how they are enforced and best practices for handling the errors returned when a rate limit is reached. Rate limits are enforced for all third-party applications and services. To see how to install and use them, refer to the links below: There are multiple developer SDKs available. To chat with other developers and discuss the API and SDKs, check out the Discord Server! There are multiple SDKs available to make it even easier to consume the API.

To use the API endpoints, the format is as follows:

All API access is performed over HTTPS and accessed from the domain. Welcome to the Magic: The Gathering API! You can use the API to access Magic: The Gathering API endpoints, which can get information on cards and sets.
