TICKERMINT

To get Pokemon card prices in Python, call GET https://api.tickermint.cards/products/search?q=charizard%20ex%20199/165 with requests: it returns JSON with each match's product_id, set and latest TCGplayer market price (for example, 322.37 for Charizard ex 199/165), and /products/{id}/prices gives the daily history (30 days with no key, back to February 2024 on any plan). No key needed to try it (25 lookups a day per IP, personal use); a key comes with a plan, and every plan starts with a 7-day free trial. The official client wraps every endpoint: pip install https://tickermint.cards/sdk/tickermint-0.2.1-py3-none-any.whl.

FOR DEVELOPERS · COPY AND PASTE · 25 LOOKUPS A DAY WITHOUT A KEY · EVERY PLAN STARTS WITH 7 DAYS FREE

Pokemon card price API in Python

INSTALL THE OFFICIAL CLIENT

The tickermint package: standard library only, typed, Python 3.9 or later.

pip install https://tickermint.cards/sdk/tickermint-0.2.1-py3-none-any.whl

QUICKSTART

Find a card, read its daily prices, print the link back. Every plan asks for a visible link to the TickerMint card page the price came from, https://tickermint.cards/card/{product_id} (tickermint_url on every product the API returns). card_url(id) builds it; attribution_html(id) gives the ready-made Prices: TickerMint link.

from tickermint import TickerMint, card_url
tm = TickerMint()  # no key needed to try it; TickerMint(api_key=...) for more
card = tm.search("charizard ex 199/165", game="pokemon")[0]
history = tm.prices(card["product_id"])  # {"Holofoil": [{"snapshot_date", "low", "market"}, ...]}, 30 days with no key
print(card["name"], card["market"], card_url(card["product_id"]))

METHODS · TICKERMINT FOR PYTHON

search(q, game=...)find cards and sealed product: product_id, set, number, latest market
product(id) · card("swsh7-215")one product's identity, or the products for a pokemontcg.io id
prices(id)daily market and low price per printing since February 2024
ath(id) · printings(id)all-time high and low per printing; every printing priced today
sets(game=...) · set(group_id)every set with its value; one set's cards with today's prices
movers(game=..., days=..., min_market=...)biggest gainers and losers over 1 to 365 days
highs() · lows() · sealed() · top()new all-time highs, all-time lows, sealed product, most valuable
product_csv(id) · set_csv(group_id)the CSV endpoints as text
iter_bulk_day(game=...) · bulk_history(ids)a whole day of prices, or full history for 50 products (paid key)
card_url(id) · attribution_html(id)the card page link the terms ask for, plain or as an HTML link

Standard library only, typed (TypedDict responses, py.typed), Python 3.9+. Errors raise TickerMintError with the status, the API's message and retry_after on 429. Prices are decimal strings ("322.37", use Decimal) or None; the bulk endpoints return numbers. MIT licensed.

NO LIBRARY, NO KEY

The same calls with requests. Use requests or httpx: Python's built-in urllib with its default User-Agent is refused by the API's firewall.

import requests

API = "https://api.tickermint.cards"

# 1. Find the card. No key, no sign-up.
hits = requests.get(f"{API}/products/search",
                    params={"q": "charizard ex 199/165", "game": "pokemon"},
                    timeout=10).json()
card = hits[0]
print(card["product_id"], card["name"], card["set_name"], card["market"])

# 2. Its daily market price per printing: the last 30 days with no key,
#    back to February 2024 with a key (any plan)
pid = card["product_id"]
history = requests.get(f"{API}/products/{pid}/prices", timeout=10).json()
for printing, days in history.items():
    print(printing, "latest", days[-1]["snapshot_date"], days[-1]["market"])

WITH A KEY

Get a key at tickermint.cards/developers and send it as the X-API-Key header (or ?key=). Try it without a key (25 lookups a day per IP, 30 days of history, 120 a minute). A key comes with a plan, and every plan starts with a 7-day free trial, card required: the Developer plan ($19 a month) gives 50,000 lookups a month, the full history, CSV, 600 a minute and the bulk endpoints.

import os
import requests

API = "https://api.tickermint.cards"
session = requests.Session()
session.headers["X-API-Key"] = os.environ["TICKERMINT_KEY"]  # from tickermint.cards/developers

r = session.get(f"{API}/products/search", params={"q": "umbreon vmax 215"}, timeout=10)
r.raise_for_status()
card = r.json()[0]
print(card["product_id"], card["name"], card["market"])

A WHOLE SET INTO PANDAS

The CSV endpoints return one row per card with the same price the card page shows; they need a key (any plan) and each row counts as one lookup. Fetch with requests and hand the text to pandas (pd.read_csv on the URL uses urllib).

import io
import os

import pandas as pd
import requests

API = "https://api.tickermint.cards"

# a whole set, one row per card (set id = the number in tickermint.cards/set/23237)
# CSV needs a key (any plan): sent as X-API-Key
csv_text = requests.get(f"{API}/sets/23237.csv", timeout=30,
                        headers={"X-API-Key": os.environ["TICKERMINT_KEY"]}).text
df = pd.read_csv(io.StringIO(csv_text), dtype={"number": str})
print(df.nlargest(5, "market_price_usd")[["name", "number", "market_price_usd"]])

25 lookups a day without a key, to try the API in personal and non-commercial projects with a link back. A key comes with a plan, and every plan starts with a 7-day free trial (card required). Inside a commercial app, site or tool, use API Pro ($49 a month). Never mirror or resell the data. Plans →

EXAMPLE OUTPUT

Output of the requests snippet (example)
517045 Charizard ex - 199/165 SV: Scarlet & Violet 151 322.37
Holofoil latest YYYY-MM-DD 322.37
GET /sets/23237.csv, first rows
date,product_id,name,set,number,printing,market_price_usd,url
YYYY-MM-DD,502552,Bulbasaur - 001/165,SV: Scarlet & Violet 151,001/165,Reverse Holofoil,0.32,https://tickermint.cards/card/502552
YYYY-MM-DD,502553,Ivysaur - 002/165,SV: Scarlet & Violet 151,002/165,Reverse Holofoil,0.53,https://tickermint.cards/card/502553
YYYY-MM-DD,502554,Venusaur ex - 003/165,SV: Scarlet & Violet 151,003/165,Holofoil,1.07,https://tickermint.cards/card/502554
... one row for every card and sealed product in the set

CSV COLUMNS · /products/{id}.csv AND /sets/{id}.csv

  • date: the day of the price (prices update once a day)
  • product_id: TickerMint's id, the number in the card page URL
  • name: card or product name as TCGplayer lists it
  • set: set name
  • number: collector number, empty for sealed product
  • printing: the printing the price is for (Holofoil, Reverse Holofoil, Normal...)
  • market_price_usd: TCGplayer market price in US dollars, the same number the card page shows
  • url: the TickerMint card page (the link back our terms ask for)

Prices are TCGplayer market prices for the card's main printing, the same number its TickerMint page shows. Full endpoint list and OpenAPI on /developers.

Next step: start a plan with 7 days free. Developer plan: $0 today, then $19 a month from day 8 until you cancel. Cancel online anytime. We email you before the first charge. A key gives you CSV and Google Sheets, 600 requests a minute and the bulk endpoints.
START 7 DAYS FREE →
WITHOUT A KEY
25 lookups a day to try the API, personal use, link back.
PLANS
a key comes with a plan; every plan starts with a 7-day free trial, card required.
COMMERCIAL USE
API Pro and above.
NEVER
mirror or resell our data.
GRADED PRICES
a separate add-on with its own source credit.

The details: API terms.

QUESTIONS

Is there a free Pokemon card price API for Python?

+

You can try it with no key: https://api.tickermint.cards answers 25 lookups a day per IP. /products/search to find a card, /products/{id}/prices for its daily TCGplayer market price per printing (30 days with no key, since February 2024 on any plan), /sets/{id} for a whole set. It covers Pokemon, One Piece, Lorcana, Riftbound, Gundam, Yu-Gi-Oh and Dragon Ball Super Fusion World: add game=one-piece (or lorcana, riftbound, gundam, yugioh, fusion-world) to stay in one game. Without a key you get 25 lookups a day to try it, for personal projects with a link back to the TickerMint page the price came from. A key comes with a plan, and every plan starts with a 7-day free trial (card required): Developer ($19 a month) for personal and non-commercial use, API Pro ($49 a month) for showing the prices inside a commercial app, site or tool. Never mirror or resell the data.

Is there an official TickerMint Python library?

+

Yes, the tickermint package: pip install https://tickermint.cards/sdk/tickermint-0.2.1-py3-none-any.whl. It covers search, product details, price history, all-time highs, sets, movers, sealed product, the CSV endpoints and the paid bulk endpoints, raises TickerMintError on API errors and builds the card page link the terms ask for. Standard library only, MIT licensed.

What are the rate limits?

+

Try it without a key (25 lookups a day per IP, 30 days of history, 120 a minute). A key comes with a plan, and every plan starts with a 7-day free trial, card required: the Developer plan ($19 a month) gives 50,000 lookups a month, the full history, CSV, 600 a minute and the bulk endpoints. Plans get 10% grace above the monthly quota. Answers are cached for up to an hour and prices change once a day, so cache on your side too.

Why do I get 403 from Python but not from my browser?

+

Python's built-in urllib sends a default User-Agent the firewall in front of the API refuses (so do libraries that use it, like pandas.read_csv on a URL). The official client, requests, httpx, aiohttp and curl work.

Same data, other tools: Google Sheets · Excel · JavaScript · API, MCP server and embeds · Download all history (CSV)