/v1/search
Search & filter cards
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/lorcana-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lorcana-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lorcana-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/lorcana-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"cards": [
{
"cost": 2,
"lore": 1,
"name": "Elsa - Trusted Sister",
"type": "Character",
"color": "Amethyst",
"image": "https://lorcana-api.com/images/elsa/trusted_sister/elsa-trusted_sister-large.png",
"artist": "Amber Kommavongsa",
"rarity": "Common",
"inkable": true,
"set_num": 7,
"card_num": 55,
"set_name": "Archazia's Island",
"strength": 2,
"body_text": "WHAT DO WE DO NOW? Whenever this character quests, if you have a character named Anna in play, gain 1 lore.",
"franchise": "Frozen",
"unique_id": "ARI-055",
"willpower": 3,
"flavor_text": "\"Fear is what can't be trusted.\"",
"classifications": [
"Storyborn",
"Hero",
"Queen",
"Sorcerer"
]
},
{
"cost": 7,
"lore": 2,
"name": "Elsa - Ice Maker",
"type": "Character",
"color": "Amethyst, Sapphire",
"image": "https://lorcana-api.com/images/elsa/ice_maker/elsa-ice_maker-large.png",
"artist": "lan MacDonald",
"rarity": "Super Rare",
"inkable": false,
"set_num": 7,
"card_num": 69,
"set_name": "Archazia's Island",
"strength": 5,
"abilities": "Shift 4",
"body_text": "Shift 4 (You may pay 4 to play this on top of one of\nyour characters named Elsa.)\nWINTER WALL: Whenever this character quests, you may exert chosen character. If you do and you have a character named Anna in play, the chosen character can't ready at the start of their next turn.",
"franchise": "Frozen",
"unique_id": "ARI-069",
"willpower": 5,
"classifications": [
"Floodborn",
"Hero",
"Queen",
"Sorcerer"
]
},
{
"cost": 8,
"lore": 3,
"name": "Elsa - Spirit of Winter",
"type": "Character",
"color": "Amethyst",
"image": "https://api.lorcana.ravensburger.com/images/en/set9/43_2de43d81f0ad5fd3956dab9c711af9d3e51dcea2.jpg",
"artist": "Matthew Robert Davies",
"rarity": "Legendary",
"inkable": false,
"set_num": 9,
"card_num": 43,
"set_name": "Fabled",
"strength": 4,
"body_text": "Shift 6 {i} (You may pay 6 {i} to play this on top of one of\nyour characters na
…