Magic: The Gathering API

The Magic: The Gathering API offers developers access to a complete database of MTG cards, sets, and game elements. It provides endpoints for retrieving card details, sets, and booster packs, allowing developers to create applications displaying card info, generating random packs, and exploring card attributes. With filtering options by name, set, type, or rarity, it’s perfect for building MTG apps, tools, or collector platforms.

1

Endpoints

0

Views

Aug 19, 2025

Last Checked

NaN

Rate Limit

API Endpoints

Search Magic: The Gathering cards

Full URL

https://api.magicthegathering.io/v1/v1/cards

Code Examples

curl -X GET 'https://api.magicthegathering.io/v1/v1/cards'

Parameters

{
  "name": "black lotus"
}

Example Response

{
  "cards": [
    {
      "name": "Black Lotus",
      "manaCost": "{0}"
    }
  ]
}

Version

v1

Rate Limit

Unlimited
Tags
cardsgamingmtg
Technical Details
Authentication
None
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

None specified

Supported Languages
Any
Use Cases
MTG cards
gaming apps
card data

Related APIs

Discover similar APIs that might interest you

APIopen source

PokeAPI

PokeAPI is a free, open-source API that ...

Category
Gaming
Endpoints
1
entertainmentgamingpokemon
APIfree

Deck of Cards API

The Deck of Cards API allows developers ...

Category
Gaming
Endpoints
1
cardsentertainmentgaming
APIopen source

Dungeons & Dragons API

The Dungeons & Dragons API delivers comp...

Category
Gaming
Endpoints
2
gamesrpg