Skip to main content

API Reference

TCG Available

For now it is only available for:

  • Pokémon
  • One Piece
  • Dragon Ball Fusion
  • Digimon
  • Magic The Gathering
  • Union arena
  • Star Wars (Coming soon)
  • Mitos y leyendas (Coming soon)

How to use

To consume this API, you must use the following URL:

  • One Piece, https://apitcg.com/api/one-piece/cards
  • Pokémon, https://apitcg.com/api/pokemon/cards
  • Dragon Ball Fusion, https://apitcg.com/api/dragon-ball-fusion/cards
  • Digimon, https://apitcg.com/api/digimon/cards
  • Magic, https://apitcg.com/api/magic/cards
  • Union Arena, https://apitcg.com/api/union-arena/cards

This API receives two parameters, property and value, where property is the property you want to filter and value, the value you want to search.

One Piece

Example request

https://apitcg.com/api/one-piece/cards?property=name&value=luffy

Example response

{
"data": [
{
"id": "OP01-003",
"code": "OP01-003",
"rarity": "L",
"type": "LEADER",
"name": "Monkey.D.Luffy",
"images": {
"small": "https://en.onepiece-cardgame.com/images/cardlist/card/OP01-003.png",
"large": "https://en.onepiece-cardgame.com/images/cardlist/card/OP01-003.png"
},
"cost": 4,
"attribute": {
"name": "Strike",
"image": "https://en.onepiece-cardgame.com/images/cardlist/attribute/ico_type01.png"
},
"power": 5000,
"counter": "-",
"color": "Red/Green",
"family": "Supernovas/Straw Hat Crew",
"ability": "[Activate: Main] [Once Per Turn] ➃ (You may rest the specified number of DON!! cards in your cost area.): Set up to 1 of your {Supernovas} or {Straw Hat Crew} type Character cards with a cost of 5 or less as active. It gains +1000 power during this turn.",
"trigger": "",
"set": {
"name": "-ROMANCE DAWN- [OP01]"
},
"notes": [
{
"name": "Errata Card",
"url": "https://en.onepiece-cardgame.com//rules/errata_card/#errata_05"
}
]
},
...
],
"totalCount": 39
}

Available properties

These are the properties you can use to filter the available cards:

  • id
  • code
  • rarity
  • type
  • name
  • cost
  • power
  • counter
  • color
  • family
  • ability
  • trigger

Pokémon

Example request

https://apitcg.com/api/pokemon/cards?property=name&value=charizard

Example response

{
"data": [
{
"id": "base1-4",
"name": "Charizard",
"supertype": "Pokémon",
"subtypes": [
"Stage 2"
],
"level": "76",
"hp": "120",
"types": [
"Fire"
],
"evolvesFrom": "Charmeleon",
"abilities": [
{
"name": "Energy Burn",
"text": "As often as you like during your turn (before your attack), you may turn all Energy attached to Charizard into Fire Energy for the rest of the turn. This power can't be used if Charizard is Asleep, Confused, or Paralyzed.",
"type": "Pokémon Power"
}
],
"attacks": [
{
"name": "Fire Spin",
"cost": [
"Fire",
"Fire",
"Fire",
"Fire"
],
"convertedEnergyCost": 4,
"damage": "100",
"text": "Discard 2 Energy cards attached to Charizard in order to use this attack."
}
],
"weaknesses": [
{
"type": "Water",
"value": "×2"
}
],
"resistances": [
{
"type": "Fighting",
"value": "-30"
}
],
"retreatCost": [
"Colorless",
"Colorless",
"Colorless"
],
"convertedRetreatCost": 3,
"number": "4",
"artist": "Mitsuhiro Arita",
"rarity": "Rare Holo",
"flavorText": "Spits fire that is hot enough to melt boulders. Known to unintentionally cause forest fires.",
"nationalPokedexNumbers": [
6
],
"legalities": {
"unlimited": "Legal"
},
"images": {
"small": "https://images.pokemontcg.io/base1/4.png",
"large": "https://images.pokemontcg.io/base1/4_hires.png"
}
},
...
],
"totalCount": 99
}

Available properties

These are the properties you can use to filter the available cards:

  • id
  • name

Dragon Ball Fusion

Example request

https://apitcg.com/api/dragon-ball-fusion/cards?property=name&value=goku

Example response

{
"data": [
{
"id": "FB01-001",
"code": "FB01-001",
"rarity": "L",
"name": "Son Goku",
"color": "Red",
"images": {
"small": "https://www.dbs-cardgame.com/fw/images/cards/card/en/FB01-001_f.webp",
"large": "https://www.dbs-cardgame.com/fw/images/cards/card/en/FB01-001_f.webp"
},
"cardType": "LEADER",
"cost": "-",
"specifiedCost": "-",
"power": "15000",
"comboPower": "-",
"features": "Saiyan/Universe 7",
"effect": "[When Attacking] Draw 1 card.<br>[Awaken] When your life is at 4 or less, draw 1 card. Then, flip this card over.",
"getIt": "BOOSTER PACK -AWAKENED PULSE- [FB01]",
"set": {
"id": "fb01",
"name": "Awakened pulse"
}
},
...
],
"totalCount": 99
}

Available properties

These are the properties you can use to filter the available cards:

  • id
  • code
  • rarity
  • name
  • color
  • cardType
  • cost
  • specifiedCost
  • power
  • comboPower
  • features
  • effect
  • getIt

Digimon

Example request

https://apitcg.com/api/digimon/cards?property=name&value=gallantmon

Example response

{
"data": [
{
"id": "BT16-102",
"code": "BT16-102",
"name": "Magnamon (X Antibody)",
"level": "Lv.6",
"colors": [
"Yellow",
"Blue",
"Black"
],
"images": {
"small": "https://world.digimoncard.com/images/cardlist/card/BT16-102.png",
"large": "https://world.digimoncard.com/images/cardlist/card/BT16-102.png"
},
"cardType": "Digimon",
"form": "Mega",
"attribute": "Vaccine",
"type": "Holy Warrior/X Antibody/Royal Knight",
"dp": "12000",
"playCost": "12",
"digivolveCost1": "4 from Lv.5",
"digivolveCost2": "4 from Lv.5",
"effect": "[Digivolve] 2-color w/[Magnamon] in name: Cost 5<br><Blocker><Armor Purge> <br>[When Digivolving] If [Magnamon (X Antibody)] or an [Armor Form] trait card is in this Digimon's digivolution cards, until the end of your opponent's turn, this Digimon gets +3000 DP and isn't affected by your opponent's effects. Then, unsuspend it.<br>[All Turns] [Once Per Turn] When a card is removed from a security stack, you may activate 1 of this Digimon's [When Digivolving] effects. <br>(Rule) Trait: Has [Free] attribute.",
"inheritedEffect": "-",
"securityEffect": "-",
"notes": "<a href=\"/products/pack/ver16/\">▹BOOSTER BEGINNING OBSERVER [BT16]</a>"
},
...
],
"totalCount": 99
}

Available properties

These are the properties you can use to filter the available cards:

  • id
  • code
  • rarity
  • name

Union Arena

Example request

https://apitcg.com/api/union-arena/cards?property=name&value=gon

Example response

{
"data": [
{
"id": "HTR-1-005",
"code": "HTR-1-005",
"url": "https://www.unionarena-tcg.com/na/cardlist/./detail_iframe.php?card_no=UE02BT/HTR-1-005",
"name": "Gon Freecss",
"rarity": "C",
"ap": "1",
"type": "Character",
"bp": "1500",
"affinity": "-",
"effect": "\n Draw a card, then place one card from your hand into your sideline. ",
"trigger": "Draw a card.",
"images": {
"small": "https://www.unionarena-tcg.com/na/images/cardlist/card/UE02BT_HTR-1-005.png",
"large": "https://www.unionarena-tcg.com/na/images/cardlist/card/UE02BT_HTR-1-005.png"
},
"set": {
"name": "HUNTER X HUNTER"
},
"needEnergy": {
"value": "Blue-",
"logo": "https://www.unionarena-tcg.com/na/images/cardlist/icon/need/ico_character_energy_blue0.png"
}
},
...
],
"totalCount": 99
}

Available properties

These are the properties you can use to filter the available cards:

  • ...