Link: https://scryfall.com/
Will be searching only for mono-colored cards of each on the date the question ends to see which color has the least cards. As of Dec 2023 the database shows the following:
White - 4083 cards
Black - 4046 cards
Red - 4013 cards
Blue - 3982 cards
Green - 3975 cards
Update 2025-18-01 (PST) (AI summary of creator comment): - Advanced search was used to filter the cards.
Only paper game cards were included.
The search was conducted using the following Scryfall query: Scryfall search
@marvingardens The only ambiguous one you listed is digital-only cards. I think you can safely assume playtest cards don't count, and split/adventures/multiple-printings each only count as a single card
@Tumbles You having an assumption on some set of them doesn't make them unambiguous... I certainly didn't know what your opinions would be. I think we need a set-in-stone search string from the market creator.
"how many magic cards are there" is quite far from a well-defined question. The people who work on scryfall would be the first to tell you that.
how about "Jadzi, Oracle of Arcavios." Will that show up for both the mono-green and mono-blue searches?
@strutheo ok but what's the search string or api call. there are different ways to count the number of mono-green MTG cards
@marvingardens advanced search then check the color https://scryfall.com/search?as=grid&order=name&q=color%3DG+%28game%3Apaper%29
@strutheo Got it, thank you. So under this schema, we are looking at unique cards rather than unique printings; digital-only cards, playtest cards, and adventures are excluded; split cards are considered to be one card; MDFC are considered to be two cards.