Search the code printed on the card, filter rarity, edition and grade, and price from sales that actually closed.
Players and sellers do not search by name, they search SDV7-050 or EX4-003, because the name is shared across a dozen printings at a dozen prices. Pass the code straight through as the query and the comp stays on that printing instead of collapsing every reprint into one meaningless average.
curl -G https://api.compsapi.com/v1/sold \
-H "Authorization: Bearer YOUR_KEY" \
--data-urlencode "q=charizard psa 10" \
--data-urlencode "days=1095" \
--data-urlencode "best_offer=1"
Secret, Ultimate, Ghost and Starlight printings of the same code are separate markets. Keep the rarity in the query and the card layer holds it, so a Secret Rare comp is not diluted by commons sharing the code. The same applies to first edition against unlimited, which is a filter rather than a hope.
A huge share of Yu-Gi-Oh listings are lots, playsets and bundles. Those are multi unit sales, and a per unit price read off a bundle is not a single card price. Sales with a known unit count are flagged, so a lot of 50 never sets the price of one card.
A reprint can take a card down 80 percent overnight and it never comes back. Pricing off 90 days of history means pricing a card as if the reprint never happened, or missing that it did. days=1095 shows the step down and where the floor settled.
100 requests a month free, every filter on, no card. Create a free account for a key, or read the API reference.
100 free requests a month · every filter on · no card
Get a free key