TCGplayer
TCGplayer Trending Searches API
What shoppers are searching on TCGplayer right now, overall or for Pokemon, Magic or Yu-Gi-Oh!: up to 10 search terms with a popularity score. Useful for spotting demand around a new set release. Costs 1 credit per request.
POST/api/v1/tcgplayer/trending
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsongamestringall (default), pokemon, magic or yugioh.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
for game in ("pokemon", "magic", "yugioh"):
terms = client.tcgplayer.trending(game=game)["data"]["terms"]
print(game, [t["term"] for t in terms[:3]])Response
"game": "pokemon",
"count": 10,
},
"response_time": 1666
}