Skip to content

Searching for cards

Request

$card = $tcgdex->fetchCards();

See how to setup the PHP SDK

SDK currently does not support filtering

Sample Response

200 Response

The request return an array of CardBrief objects

[
{
"id": "base4-1",
"localId": "1",
"name": "Alakazam",
"image": "https://assets.tcgdex.net/en/base/base4/1"
},
// ...
{
"id": "xyp-XY99",
"localId": "XY99",
"name": "Aerodactyl Spirit Link",
"image": "https://assets.tcgdex.net/en/xy/xyp/XY99"
}
]