Search Magic: The Gathering cards by name (substring), set code, rarity, type, or format legality. Returns a paginated list with prices and basic metadata. Use this for catalog lookups; for a specific printing prefer get_card with set+number.
輸入參數qpagetypelimitformatraritysetCodelegality
Look up a specific card printing by set code and collector number. Returns full card detail including current prices, rarity, type, and flavor name. For broader catalog search use search_cards.
輸入參數setCode必填setNumber必填
Get current normal and foil prices for a specific card printing.
輸入參數setCode必填setNumber必填
Get the 30-day price history for a card printing (normal + foil). Older data is retained on a weekly/monthly cadence beyond 30 days.
輸入參數setCode必填setNumber必填
List every printing of the card at this set code and collector number, most valuable first. Use this to compare what the same card costs across sets, or to find a cheaper printing. Prefer it over search_cards for that: search_cards matches names by substring, so it also returns unrelated cards whose names merely contain the term. The addressed printing is included in the results.
輸入參數pagelimitsetCode必填setNumber必填
List Magic: The Gathering sets, optionally paginated. Returns set code, name, release date, type, and aggregate prices.
輸入參數pagelimit
Get detail for a single set by code (e.g. 'lea', 'mh3').
輸入參數code必填
List all cards in a set, paginated. Supports the same filters as search_cards (rarity, type, format, legality).
輸入參數code必填pagetypelimitformatraritylegality
List sealed products (booster boxes, bundles, commander decks, etc.) for a set. Each entry includes a TCGPlayer purchase URL.
輸入參數code必填
Get detail for a single sealed product by its UUID, including current pricing and a TCGPlayer purchase URL. List a set's sealed products with get_sealed_products.
輸入參數uuid必填
Get the price history for a whole set by set code - the set's aggregate value over time. Optionally limit the window with days. For a single card's history use get_card_price_history.
輸入參數code必填days
Get current buylist (sell-to-vendor) offers for a card printing, by set code and collector number. Returns offers grouped by finish (normal/foil/etched), best first, with the highest offer per finish marked. NM condition only. Use get_card_prices for retail (buy) prices instead.
輸入參數setCode必填setNumber必填
Market sell value of the authenticated user's whole inventory: matches every owned card against current buylist offers, picks the best offer per item (capped by the vendor's buy quantity), groups by vendor, and totals it. Returns vendor groups with per-item payouts plus overall totals. Requires IWMM_API_KEY.
無需輸入參數。
Cash vs. store-credit recommendation for the authenticated user. Compares taking the buylist cash payout for their inventory against taking store credit (worth a bonus %) and spending it on their buy list. Returns the recommendation, the credit advantage, out-of-pocket each way, and the priced buy-list lines. Requires IWMM_API_KEY.
輸入參數bonus
List the authenticated user's buy-list (want-list): the cards they want to acquire, with quantities, finish, and current prices. Requires IWMM_API_KEY.
無需輸入參數。
Add a card to the authenticated user's buy-list, incrementing the quantity (creates the row if absent). This is a real write. Use update_buy_list to set an absolute quantity or remove_buy_list to delete a row. Requires IWMM_API_KEY.
輸入參數cardId必填isFoilquantity
Set the absolute quantity for a buy-list card+finish (not a delta). A quantity of 0 removes the row. Use add_buy_list to increment instead. Requires IWMM_API_KEY.
輸入參數cardId必填isFoilquantity必填
Remove a card+finish row from the authenticated user's buy-list entirely. Requires IWMM_API_KEY.
輸入參數cardId必填isFoil
Bulk-add cards to the authenticated user's buy-list from pasted CSV text. Native format header: name,set_code,number[,quantity][,foil]. External exports (Moxfield, Archidekt, Deckbox, TCGPlayer) are auto-detected. Returns counts and per-row errors. Requires IWMM_API_KEY.
輸入參數text必填
List the authenticated user's card inventory, paginated. Returns cards with quantities, prices, and metadata. Requires IWMM_API_KEY.
輸入參數pagelimit
Batch lookup: given a list of card UUIDs, return how many of each (normal + foil) the user owns. Useful before recommending adds. Requires IWMM_API_KEY.
輸入參數cardIds必填
Add one or more cards to the authenticated user's inventory. Accepts a batch - pass a single-item array for one card. This is a real write. Use update_inventory to change quantities, remove_inventory to delete a row. Requires IWMM_API_KEY.
輸入參數items必填
Update quantities for one or more existing inventory rows. Accepts a batch. Use remove_inventory to delete a row entirely. Requires IWMM_API_KEY.
輸入參數items必填
Remove a card+finish row from the authenticated user's inventory. Requires IWMM_API_KEY.
輸入參數cardId必填isFoil必填
Bulk-import cards into the authenticated user's inventory from pasted CSV text. Native header: name,set_code,number[,quantity][,foil]; Moxfield, Archidekt, Deckbox, and TCGPlayer exports are auto-detected. Returns counts of saved/deleted/skipped rows and per-row errors. Requires IWMM_API_KEY.
輸入參數text必填
Export the authenticated user's full card inventory as CSV (columns: id, name, set_code, number, quantity, foil). Reimport-compatible with import_inventory_cards. Requires IWMM_API_KEY.
無需輸入參數。
List the authenticated user's sealed-product inventory (booster boxes, bundles, precons), paginated, with quantities and prices. For loose cards use list_inventory. Requires IWMM_API_KEY.
輸入參數pagelimit
Add or update a sealed product in the authenticated user's inventory by setting its absolute quantity (upserts the row for that product). This is a real write and is Premium-gated. Use remove_sealed_inventory to delete a row. Requires IWMM_API_KEY.
輸入參數quantity必填sealedProductUuid必填
Remove a sealed product from the authenticated user's inventory entirely. Premium-gated. Requires IWMM_API_KEY.
輸入參數sealedProductUuid必填
List the authenticated user's transactions, paginated. Supports sort/filter query params. Free tier sees the last 30 days only; Premium gets full history. Requires IWMM_API_KEY.
輸入參數pagesorttypelimitascend
Record a buy or sell transaction. By default this also adjusts inventory (BUY adds, SELL subtracts). This is a real write. Requires IWMM_API_KEY.
輸入參數date必填feestype必填notescardId必填isFoil必填sourcequantity必填pricePerUnit必填skipInventorySync
Update an existing transaction by ID. Only the fields supplied are changed. Card identity and type (BUY/SELL) cannot be changed via this endpoint - delete and re-create instead. Requires IWMM_API_KEY.
輸入參數id必填datefeesnotessourcequantitypricePerUnit
Delete a transaction by ID. Requires IWMM_API_KEY.
輸入參數id必填
Get FIFO cost basis for a specific card+finish for the authenticated user. Pass either cardId or (setCode, setNumber). Requires IWMM_API_KEY.
輸入參數cardIdisFoilsetCodesetNumber
Get the authenticated user's portfolio summary - current value, total invested, unrealized P&L, ROI, card/unit counts. Free tier sees current value + total invested only; Premium gets the full P&L set. Requires IWMM_API_KEY.
無需輸入參數。
Get portfolio value history. Premium-gated - free tier receives 403. Requires IWMM_API_KEY.
輸入參數days
Get the user's best- or worst-performing cards by P&L. Default: best, top 10. Premium-gated. Requires IWMM_API_KEY.
輸入參數typelimit
Get the user's cash flow (money in vs money out from BUY/SELL transactions). Premium-gated. Requires IWMM_API_KEY.
無需輸入參數。
Get the user's realized gains from SELL transactions using FIFO cost basis. Premium-gated. Requires IWMM_API_KEY.
無需輸入參數。
Get the user's collection value broken down by a dimension into slices (each with value, count, and share). Premium-gated. Use get_portfolio_breakdown_cards to drill into one slice. Requires IWMM_API_KEY.
輸入參數by必填colors
get_portfolio_breakdown_cards
Get the cards inside one slice of a portfolio breakdown (the drill-down for get_portfolio_breakdown). Premium-gated. Requires IWMM_API_KEY.
輸入參數by必填key必填colors
Recalculate the user's portfolio P&L. Use after recording a batch of transactions if you want immediate fresh numbers. Requires IWMM_API_KEY.
無需輸入參數。
List the authenticated user's decks (summaries: id, name, format, card counts). Requires IWMM_API_KEY.
無需輸入參數。
Get one deck with its cards (mainboard + sideboard). Requires IWMM_API_KEY.
輸入參數deckId必填
Create a new empty deck. This is a real write. Use add_deck_card to fill it, or import_deck to create from pasted text instead. Requires IWMM_API_KEY.
輸入參數name必填format
Create a deck from pasted decklist text, one entry per line (e.g. "4 Lightning Bolt"). Returns the new deck id plus any lines that could not be resolved to a card. Requires IWMM_API_KEY.
輸入參數name必填text必填format
Rename a deck or change its format. Omitting format clears it. Requires IWMM_API_KEY.
輸入參數name必填deckId必填format
Delete a deck and all of its cards. This is permanent. Requires IWMM_API_KEY.
輸入參數deckId必填
Add a card to a deck, incrementing its quantity (creates the row if absent). Use set_deck_card_quantity to set an absolute quantity or remove_deck_card to delete a row. Requires IWMM_API_KEY.
輸入參數cardId必填deckId必填quantityisSideboard
Set the absolute quantity for a card + board in a deck (not a delta). A quantity of 0 removes the row. Use add_deck_card to increment instead. Requires IWMM_API_KEY.
輸入參數cardId必填deckId必填quantity必填isSideboard必填
Remove a card + board row from a deck entirely. Requires IWMM_API_KEY.
輸入參數cardId必填deckId必填isSideboard必填
Add the deck's missing cards (the shortfall vs. the user's inventory) to their buy-list. Returns the count of distinct cards added. This is a real write to the buy-list. Requires IWMM_API_KEY.
輸入參數deckId必填
List the authenticated user's price alerts. Free tier is capped at 5 active alerts and a single threshold direction per alert; Premium removes both limits. Requires IWMM_API_KEY.
無需輸入參數。
Create a price alert for a card. Supply increasePct, decreasePct, or both (Premium). At least one threshold is required. Requires IWMM_API_KEY.
輸入參數cardId必填decreasePctincreasePct
Update an existing price alert. Pass null for a threshold to clear it (Premium only - free users must keep exactly one direction). isActive toggles enable/disable without deleting. Requires IWMM_API_KEY.
輸入參數id必填isActivedecreasePctincreasePct
Delete a price alert by ID. Requires IWMM_API_KEY.
輸入參數id必填
List the authenticated user's price alert notifications, newest first. Includes both read and unread. Requires IWMM_API_KEY.
無需輸入參數。
get_unread_notification_count
Get the count of unread notifications for the authenticated user. Requires IWMM_API_KEY.
無需輸入參數。
Mark a single notification as read. Requires IWMM_API_KEY.
輸入參數id必填
mark_all_notifications_read
Mark every notification for the authenticated user as read. Requires IWMM_API_KEY.
無需輸入參數。