One Piece TCG Card Database API

API ID 16019

Comprehensive One Piece TCG card database with filtering, sets and stats (updated weekly).

API Documentation

Endpoints

Request
Returns a list of cards. Optional parameters: page, per_page, sort_by, sort_dir, q (free‑text search), uid, number, variant, type, rarity, color (CSV), trait (CSV), set_code, set_name, cost_min, cost_max, power_min, power_max, counter_min, counter_max, life_min, life_max. Returns data and meta.
Endpoint ID: 45332
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45332/get+card+list
INPUT PARAMETERS

Get Card List — Endpoint Features

Object Description
cost_min Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
life_max Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
life_min Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
counter_max Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
counter_min Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
power_max Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
power_min Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
cost_max Optional Optional numeric filter. Omit when unused; zero is an active filter, not no filter.
q Optional Search term for name, number, effect, trigger, trait, set, color, rarity, or card type.
set_name Optional Partial set name such as Romance Dawn.
set_code Optional Set code such as OP-01, EB-01, or PRB-02.
trait Optional Card trait such as Straw Hat Crew or Supernovas.
color Optional One or more colors, comma-separated, for example Red or Red,Green.
rarity Optional Card rarity such as C, UC, R, SR, SEC, or L.
type Optional Card type such as LEADER, CHARACTER, EVENT, or STAGE.
variant Optional Variant code such as base, p1, alt1, or r1.
number Optional Exact card number such as OP01-001.
uid Optional Exact card UID such as onepiece OP01-001 base.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

cost_min
life_max
life_min
counter_max
counter_min
power_max
power_min
cost_max
q
set_name
set_code
trait
color
rarity
type
variant
number
uid
API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": [
        {
            "identity": {
                "card_uid": "onepiece:EB01-001:p2",
                "number": "EB01-001",
                "variant_code": "p2",
                "image_fingerprint": "EB01-001_p2.png"
            },
            "name": "Kouzuki Oden",
            "classification": {
                "card_type": "LEADER",
                "rarity": "L",
                "colors": [
                    "Red",
                    "Green"
                ],
                "attributes": [
                    "Slash"
                ],
                "traits": [
                    "Land of Wano",
                    "Kouzuki Clan"
                ]
            },
            "stats": {
                "cost": null,
                "life": 4,
                "power": 5000,
                "counter": null,
                "block_icon": 2
            },
            "text": {
                "effect": "All of your {Land of Wano} type Character cards without a Counter have a +1000 Counter, according to the rules.\n[DON!! x1] [When Attacking] If you have a {Land of Wano} type Character with a cost of 5 or more, this Leader gains +1000 power until the start of your next turn.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-Anime 25th Collection-",
                    "code": "EB-02"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB01-001_p2.png?261124",
                    "path": "/images/cardlist/card/EB01-001_p2.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB01-001_p2",
                    "series_id": "569202",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        },
        {
            "identity": {
                "card_uid": "onepiece:EB01-001:base",
                "number": "EB01-001",
                "variant_code": null,
                "image_fingerprint": "EB01-001.png"
            },
            "name": "Kouzuki Oden",
            "classification": {
                "card_type": "LEADER",
                "rarity": "L",
                "colors": [
                    "Red",
                    "Green"
                ],
                "attributes": [
                    "Slash"
                ],
                "traits": [
                    "Land of Wano",
                    "Kouzuki Clan"
                ]
            },
            "stats": {
                "cost": null,
                "life": 4,
                "power": 5000,
                "counter": null,
                "block_icon": 2
            },
            "text": {
                "effect": "All of your {Land of Wano} type Character cards without a Counter have a +1000 Counter, according to the rules.\n[DON!! x1] [When Attacking] If you have a {Land of Wano} type Character with a cost of 5 or more, this Leader gains +1000 power until the start of your next turn.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-Memorial Collection-",
                    "code": "EB-01"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB01-001.png?261124",
                    "path": "/images/cardlist/card/EB01-001.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB01-001",
                    "series_id": "569201",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        },
        {
            "identity": {
                "card_uid": "onepiece:EB01-001:p1",
                "number": "EB01-001",
                "variant_code": "p1",
                "image_fingerprint": "EB01-001_p1.png"
            },
            "name": "Kouzuki Oden",
            "classification": {
                "card_type": "LEADER",
                "rarity": "L",
                "colors": [
                    "Red",
                    "Green"
                ],
                "attributes": [
                    "Slash"
                ],
                "traits": [
                    "Land of Wano",
                    "Kouzuki Clan"
                ]
            },
            "stats": {
                "cost": null,
                "life": 4,
                "power": 5000,
                "counter": null,
                "block_icon": 2
            },
            "text": {
                "effect": "All of your {Land of Wano} type Character cards without a Counter have a +1000 Counter, according to the rules.\n[DON!! x1] [When Attacking] If you have a {Land of Wano} type Character with a cost of 5 or more, this Leader gains +1000 power until the start of your next turn.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-Memorial Collection-",
                    "code": "EB-01"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB01-001_p1.png?261124",
                    "path": "/images/cardlist/card/EB01-001_p1.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB01-001_p1",
                    "series_id": "569201",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        },
        {
            "identity": {
                "card_uid": "onepiece:EB01-002:base",
                "number": "EB01-002",
                "variant_code": null,
                "image_fingerprint": "EB01-002.png"
            },
            "name": "Izo",
            "classification": {
                "card_type": "CHARACTER",
                "rarity": "R",
                "colors": [
                    "Red"
                ],
                "attributes": [
                    "Ranged"
                ],
                "traits": [
                    "Land of Wano",
                    "Whitebeard Pirates"
                ]
            },
            "stats": {
                "cost": 5,
                "life": null,
                "power": 7000,
                "counter": null,
                "block_icon": 2
            },
            "text": {
                "effect": "[On Play] Give up to 1 rested DON!! card to your Leader or 1 of your Characters.[On Your Opponent's Attack] [Once Per Turn] You may trash 1 card from your hand: If your Leader has the {Land of Wano} or {Whitebeard Pirates} type, give up to 1 of your opponent's Leader or Character cards −2000 power during this turn.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-Memorial Collection-",
                    "code": "EB-01"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB01-002.png?261124",
                    "path": "/images/cardlist/card/EB01-002.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB01-002",
                    "series_id": "569201",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        },
        {
            "identity": {
                "card_uid": "onepiece:EB01-003:base",
                "number": "EB01-003",
                "variant_code": null,
                "image_fingerprint": "EB01-003.png"
            },
            "name": "Kid & Killer",
            "classification": {
                "card_type": "CHARACTER",
                "rarity": "R",
                "colors": [
                    "Red"
                ],
                "attributes": [
                    "Slash",
                    "Special"
                ],
                "traits": [
                    "Supernovas",
                    "Kid Pirates"
                ]
            },
            "stats": {
                "cost": 4,
                "life": null,
                "power": 5000,
                "counter": null,
                "block_icon": 2
            },
            "text": {
                "effect": "[Rush] (This card can attack on the turn in which it is played.)[When Attacking] If your opponent has 2 or less Life cards, this Character gains +2000 power during this turn.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-Memorial Collection-",
                    "code": "EB-01"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB01-003.png?261124"
                }
            ]
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Get Card List — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45332/get+card+list' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns all variants of a specific card by number. Response includes an array of cards and meta information.
Endpoint ID: 45333
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45333/get+specific+card
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": [
        {
            "identity": {
                "card_uid": "onepiece:EB04-012:base",
                "number": "EB04-012",
                "variant_code": null,
                "image_fingerprint": "EB04-012.png"
            },
            "name": "Kikunojo",
            "classification": {
                "card_type": "CHARACTER",
                "rarity": "SR",
                "colors": [
                    "Green"
                ],
                "attributes": [
                    "Slash"
                ],
                "traits": [
                    "Land of Wano",
                    "The Akazaya Nine"
                ]
            },
            "stats": {
                "cost": 7,
                "life": null,
                "power": 8000,
                "counter": null,
                "block_icon": 4
            },
            "text": {
                "effect": "[Activate: Main] [Once Per Turn] If this Character was played on this turn, set your {Land of Wano} type Leader as active.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-THE AZURE SEA’S SEVEN-",
                    "code": "OP14-EB04"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB04-012.png?261124",
                    "path": "/images/cardlist/card/EB04-012.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB04-012",
                    "series_id": "569114",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        },
        {
            "identity": {
                "card_uid": "onepiece:EB04-012:p1",
                "number": "EB04-012",
                "variant_code": "p1",
                "image_fingerprint": "EB04-012_p1.png"
            },
            "name": "Kikunojo",
            "classification": {
                "card_type": "CHARACTER",
                "rarity": "SR",
                "colors": [
                    "Green"
                ],
                "attributes": [
                    "Slash"
                ],
                "traits": [
                    "Land of Wano",
                    "The Akazaya Nine"
                ]
            },
            "stats": {
                "cost": 7,
                "life": null,
                "power": 8000,
                "counter": null,
                "block_icon": 4
            },
            "text": {
                "effect": "[Activate: Main] [Once Per Turn] If this Character was played on this turn, set your {Land of Wano} type Leader as active.",
                "trigger": null
            },
            "sets": [
                {
                    "name": "-THE AZURE SEA’S SEVEN-",
                    "code": "OP14-EB04"
                }
            ],
            "images": [
                {
                    "role": "card",
                    "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB04-012_p1.png?261124",
                    "path": "/images/cardlist/card/EB04-012_p1.png"
                }
            ],
            "sources": [
                {
                    "record_id": "EB04-012_p1",
                    "series_id": "569114",
                    "locale": "en",
                    "set_id": null,
                    "notes": []
                }
            ]
        }
    ],
    "meta": {
        "number": "EB04-012",
        "total_variants": 2
    }
}
Get Specific Card — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45333/get+specific+card&number=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns one specific variant of a card. Returns a 404 error if the variant is not found.
Endpoint ID: 45334
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45334/get+specific+variant
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": {
        "identity": {
            "card_uid": "onepiece:EB04-012:base",
            "number": "EB04-012",
            "variant_code": null,
            "image_fingerprint": "EB04-012.png"
        },
        "name": "Kikunojo",
        "classification": {
            "card_type": "CHARACTER",
            "rarity": "SR",
            "colors": [
                "Green"
            ],
            "attributes": [
                "Slash"
            ],
            "traits": [
                "Land of Wano",
                "The Akazaya Nine"
            ]
        },
        "stats": {
            "cost": 7,
            "life": null,
            "power": 8000,
            "counter": null,
            "block_icon": 4
        },
        "text": {
            "effect": "[Activate: Main] [Once Per Turn] If this Character was played on this turn, set your {Land of Wano} type Leader as active.",
            "trigger": null
        },
        "sets": [
            {
                "name": "-THE AZURE SEA’S SEVEN-",
                "code": "OP14-EB04"
            }
        ],
        "images": [
            {
                "role": "card",
                "url": "https://en.onepiece-cardgame.com/images/cardlist/card/EB04-012.png?261124",
                "path": "/images/cardlist/card/EB04-012.png"
            }
        ],
        "sources": [
            {
                "record_id": "EB04-012",
                "series_id": "569114",
                "locale": "en",
                "set_id": null,
                "notes": []
            }
        ]
    }
}
Get Specific Variant — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45334/get+specific+variant&number=Required&/variants/=Required&variant=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns a list of sets/series with code, name and card count.
Endpoint ID: 45335
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45335/get+a+list+of+sets
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": [
        {
            "code": null,
            "name": "2025 NEW YEAR EVENT",
            "card_count": 2
        },
        {
            "code": null,
            "name": "3rd Anniversary Event",
            "card_count": 6
        },
        {
            "code": null,
            "name": "4th Anniversary Event",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Anime Expo 2023",
            "card_count": 1
        },
        {
            "code": null,
            "name": "BANDAI CARD GAMES Fest 25-26",
            "card_count": 1
        },
        {
            "code": null,
            "name": "CS 25-26 Celebration Pack",
            "card_count": 12
        },
        {
            "code": null,
            "name": "CS 25-26 Event Pack",
            "card_count": 8
        },
        {
            "code": null,
            "name": "CS 25-26 Event Pack Finalist Ver.",
            "card_count": 8
        },
        {
            "code": null,
            "name": "CS 25-26 Finalist Card Set 1",
            "card_count": 6
        },
        {
            "code": null,
            "name": "CS 25-26 Finalist Card Set 2",
            "card_count": 5
        },
        {
            "code": null,
            "name": "CS 25-26 Top Player Pack",
            "card_count": 6
        },
        {
            "code": null,
            "name": "CS 25-26 Top Player Pack 2",
            "card_count": 5
        },
        {
            "code": null,
            "name": "CS 25-26 Winner Card Set 2",
            "card_count": 5
        },
        {
            "code": null,
            "name": "Championship 25-26 Finals Season 1",
            "card_count": 3
        },
        {
            "code": null,
            "name": "Championship 25-26 Offline Regionals Season 2",
            "card_count": 3
        },
        {
            "code": null,
            "name": "DODGERS ONE PIECE NIGHT",
            "card_count": 1
        },
        {
            "code": null,
            "name": "Dreamhack Dallas 2024",
            "card_count": 1
        },
        {
            "code": "EB-01",
            "name": "-Memorial Collection-",
            "card_count": 80
        },
        {
            "code": "EB-02",
            "name": "-Anime 25th Collection-",
            "card_count": 105
        },
        {
            "code": "EB-03",
            "name": "-ONE PIECE HEROINES EDITION-",
            "card_count": 90
        },
        {
            "code": "EB-05",
            "name": "EXTRA BOOSTER -ONE PIECE HEROINES EDITION vol.2-",
            "card_count": 96
        },
        {
            "code": null,
            "name": "English Version 1st Anniversary Set",
            "card_count": 10
        },
        {
            "code": null,
            "name": "Event Pack Vol. 8",
            "card_count": 4
        },
        {
            "code": null,
            "name": "Event Pack Vol.3",
            "card_count": 4
        },
        {
            "code": null,
            "name": "Event Pack Vol.5",
            "card_count": 4
        },
        {
            "code": null,
            "name": "Event Pack Vol.6",
            "card_count": 4
        },
        {
            "code": null,
            "name": "Event Pack vol.7",
            "card_count": 4
        },
        {
            "code": null,
            "name": "Extra Grand Battle for Stores 2026 May",
            "card_count": 2
        },
        {
            "code": "GC-01",
            "name": "GIFT COLLECTION 2023",
            "card_count": 13
        },
        {
            "code": "GC-2026",
            "name": "Gift Collection -ONE PIECE Heroines-",
            "card_count": 10
        },
        {
            "code": null,
            "name": "Heroines Battle Pack",
            "card_count": 3
        },
        {
            "code": null,
            "name": "Heroines Battle Winner Pack",
            "card_count": 3
        },
        {
            "code": null,
            "name": "Illustration Box Vol.10",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Illustration Box Vol.5",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Illustration Box Vol.6",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Illustration Box Vol.7",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Illustration Box Vol.8",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Illustration Box Vol.9",
            "card_count": 2
        },
        {
            "code": null,
            "name": "Included in Event Pack Vol.1",
            "card_count": 5
        },
        {
            "code": null,
            "name": "Included in Event Pack Vol.2",
            "card_count": 6
        },
        {
            "code": null,
            "name": "Included in FILM RED Promotion Card Set",
            "card_count": 13
        },
        {
            "code": null,
            "name": "Included in Online Regional Participation Pack Vol.1",
            "card_count": 6
        },
        {
            "code": null,
            "name": "Included in Pirates Party Card Vol.1",
            "card_count": 1
        },
        {
            "code": null,
            "name": "Included in Pirates Party Card Vol.2",
            "card_count": 1
        },
        {
            "code": null,
            "name": "Included in Promotion Pack 2022",
            "card_count": 5
        },
        {
            "code": null,
            "name": "Japanese 1st Anniversary Set",
            "card_count": 3
        },
        {
            "code": null,
            "name": "Japanese 2nd Anniversary Set",
            "card_count": 9
        },
        {
            "code": null,
            "name": "Japanese 3rd ANNIVERSARY SET",
            "card_count": 10
        },
        {
            "code": null,
            "name": "Learn Together Deck Set",
            "card_count": 3
        },
        {
            "code": null,
            "name": "ONE PIECE CARD GAME and Football Team DORTMUND collaboration event",
            "card_count": 1
        },
        {
            "code": null,
            "name": "ONE PIECE DAY Dallas -Card Game Celebration-",
            "card_count": 2
        },
        {
            "code": null,
            "name": "ONE PIECE HEROINES CAMPAIGN Dash Pack",
            "card_count": 4
        },
        {
            "code": "OP-07",
            "name": "-500 YEARS IN THE FUTURE-",
            "card_count": 151
        },
        {
            "code": "OP-08",
            "name": "-TWO LEGENDS-",
            "card_count": 151
        },
        {
            "code": "OP-09",
            "name": "-EMPERORS IN THE NEW WORLD-",
            "card_count": 159
        },
        {
            "code": "OP-10",
            "name": "-ROYAL BLOOD-",
            "card_count": 151
        },
        {
            "code": "OP-11",
            "name": "-A FIST OF DIVINE SPEED-",
            "card_count": 156
        },
        {
            "code": null,
            "name": "OP-11 Release Event",
            "card_count": 2
        },
        {
            "code": "OP-12",
            "name": "-LEGACY OF THE MASTER-",
            "card_count": 155
        },
        {
            "code": null,
            "name": "OP-12 Release Event",
            "card_count": 2
        },
        {
            "code": "OP-13",
            "name": "-CARRYING ON HIS WILL-",
            "card_count": 175
        },
        {
            "code": "OP-16",
            "name": "-THE TIME OF BATTLE-",
            "card_count": 155
        },
        {
            "code": null,
            "name": "OP-16 Release Event",
            "card_count": 2
        },
        {
            "code": "OP-17",
            "name": "BOOSTER PACK -THE WORLD’S STRONGEST WARRIORS-",
            "card_count": 169
        },
        {
            "code": "OP-18",
            "name": "BOOSTER PACK -THE DOMINANCE OF GOD-",
            "card_count": 159
        },
        {
            "code": "OP01",
            "name": "-ROMANCE DAWN-",
            "card_count": 154
        },
        {
            "code": "OP02",
            "name": "-PARAMOUNT WAR-",
            "card_count": 154
        },
        {
            "code": "OP03",
            "name": "-PILLARS OF STRENGTH-",
            "card_count": 154
        },
        {
            "code": "OP04",
            "name": "-KINGDOMS OF INTRIGUE-",
            "card_count": 149
        },
        {
            "code": "OP05",
            "name": "-AWAKENING OF THE NEW ERA-",
            "card_count": 154
        },
        {
            "code": "OP06",
            "name": "-WINGS OF THE CAPTAIN-",
            "card_count": 151
        },
        {
            "code": "OP14-EB04",
            "name": "-THE AZURE SEA’S SEVEN-",
            "card_count": 199
        },
        {
            "code": null,
            "name": "OP14-EB04 Dash Pack Campaign",
            "card_count": 6
        },
        {
            "code": null,
            "name": "OP14-EB04 Release Event",
            "card_count": 2
        },
        {
            "code": "OP15-EB04"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Get a List of Sets — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45335/get+a+list+of+sets' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns counts of colours, card types, rarities, traits, set codes and set names.
Endpoint ID: 45336
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45336/get+facets
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": {
        "colors": {
            "Black": 764,
            "Blue": 822,
            "Green": 819,
            "Purple": 786,
            "Red": 900,
            "Yellow": 785
        },
        "card_types": {
            "CHARACTER": 3710,
            "EVENT": 583,
            "LEADER": 347,
            "STAGE": 66
        },
        "rarities": {
            "C": 1498,
            "L": 343,
            "P": 208,
            "R": 991,
            "SEC": 126,
            "SP CARD": 146,
            "SR": 661,
            "TR": 13,
            "UC": 720
        },
        "traits": {
            "?": 2,
            "Accino Family": 1,
            "Admiral": 11,
            "Alabasta": 92,
            "Alchemi": 1,
            "Alvida Pirates": 3,
            "Amazon Lily": 18,
            "Animal": 144,
            "Animal Kingdom Pirates": 179,
            "Arlong Pirates": 18,
            "Asuka Island": 1,
            "Baroque Works": 110,
            "Barto Club": 21,
            "Baterilla": 1,
            "Beautiful Pirates": 16,
            "Bellamy Pirates": 2,
            "Big Mom Pirates": 198,
            "Biological Weapon": 8,
            "Black Cat Pirates": 13,
            "Blackbeard Pirates": 74,
            "Blackbeard Pirates Allies": 1,
            "Bluejam Pirates": 2,
            "Bonney Pirates": 53,
            "Botanist": 2,
            "Bowin Island": 1,
            "Brownbeard Pirates": 1,
            "Buggy Pirates": 25,
            "Buggy's Delivery": 6,
            "CP0": 33,
            "CP6": 2,
            "CP7": 2,
            "CP8": 1,
            "CP9": 59,
            "Caribou Pirates": 7,
            "Celestial Dragons": 53,
            "Cross Guild": 50,
            "Crown Island": 1,
            "Donquixote Pirates": 173,
            "Drake Pirates": 15,
            "Dressrosa": 208,
            "Drum Kingdom": 27,
            "East Blue": 166,
            "Egghead": 145,
            "Elbaph": 44,
            "Eldoraggo Crew": 1,
            "Evil Black Drum Kingdom": 1,
            "FILM": 203,
            "Fake Straw Hat Crew": 1,
            "Fallen Monk Pirates": 14,
            "Firetank Pirates": 22,
            "Fish-Man": 132,
            "Fish-Man Island": 60,
            "Five Elders": 21,
            "Flevance": 1,
            "Flying Pirates": 2,
            "Foolshout Island": 2,
            "Former Arlong Pirates": 3,
            "Former Baroque Works": 35,
            "Former Big Mom Pirates": 2,
            "Former CP9": 3,
            "Former Navy": 14,
            "Former Rocks Pirates": 7,
            "Former Roger Pirates": 23,
            "Former Rolling Pirates": 1,
            "Former Rumbar Pirates": 2,
            "Former Whitebeard Pirates": 12,
            "Foxy Pirates": 27,
            "Frost Moon Village": 7,
            "GERMA 66": 51,
            "Galley-La Company": 19,
            "Gasparde Pirates": 1,
            "Giant": 56,
            "Giant Pirates": 4,
            "Goa Kingdom": 18,
            "Golden Lion Pirates": 9,
            "Grantesoro": 11,
            "Gyro Pirates": 1,
            "Happosui Army": 6,
            "Hawkins Pirates": 13,
            "Heart Pirates": 100,
            "Holy Knights of God": 22,
            "Homies": 16,
            "Hot Springs Island": 1,
            "Impel Down": 142,
            "Jailer Beast": 6,
            "Jaya": 14,
            "Jellyfish Pirates": 1,
            "Journalist": 2,
            "Kid Pirates": 66,
            "King of the Pirates": 13,
            "Kingdom of GERMA": 21,
            "Kingdom of Prodence": 1,
            "Kouzuki Clan": 56,
            "Krieg Pirates": 17,
            "Kuja Pirates": 69,
            "Kurozumi Clan": 6,
            "Land of Wano": 248,
            "Long Ring Long Land": 1,
            "Lulucia Kingdom": 4,
            "Lunarian": 4,
            "MONSTERS": 1,
            "Mary Geoise": 4,
            "Mecha Island": 1,
            "Merfolk": 59,
            "Minks": 77,
            "Mogaro Kingdom": 2,
            "Monkey Mountain Alliance": 2,
            "Mountain Bandits": 13,
            "Muggy Kingdom": 23,
            "Mugiwara Chase": 1,
            "Music": 23,
            "Navy": 389,
            "Neo Navy": 11,
            "Neptunian": 10,
            "New Fish-Man Pirates": 14,
            "New Giant Pirates": 11,
            "ODYSSEY": 54,
            "Ohara": 15,
            "Omatsuri Island": 2,
            "On-Air Pirates": 19,
            "Peachbeard Pirates": 1,
            "Plague": 1,
            "Punk Hazard": 58,
            "Red-Haired Pirates": 105,
            "Red-Haired Pirates Allies": 2,
            "Revolutionary Army": 201,
            "Rocks Pirates": 35,
            "Roger Pirates": 32,
            "Rolling Pirates": 2,
            "Rumbar Pirates": 2,
            "SMILE": 25,
            "SWORD": 34,
            "Sabaody Archipelago": 3,
            "Scientist": 39,
            "Senor Pink's Wife": 1,
            "Seraphim": 8,
            "Shandian Warrior": 33,
            "Shipbuilding Town": 2,
            "Sky Island": 135,
            "Smile": 2,
            "Sniper Island": 5,
            "Space Pirates": 1,
            "Spade Pirates": 4,
            "Sprite": 1,
            "Straw Hat Crew": 848,
            "Supernovas": 317,
            "The Akazaya Nine": 54,
            "The Flying Fish Riders": 5,
            "The Four Emperors": 258,
            "The Franky Family": 13,
            "The House of Lambs": 1,
            "The Moon": 2,
            "The Owner of Cindry's Shadow": 1,
            "The Pirates Fest": 8,
            "The Seven Warlords of the Sea": 266,
            "The Sun Pirates": 48,
            "The Tontattas": 9,
            "The Victims' Club": 1,
            "The Vinsmoke Family": 78,
            "Thriller Bark Pirates": 98,
            "Treasure Pirates": 1,
            "Trump Pirates": 1,
            "Vassals": 14,
            "Vice Admiral": 5,
            "Water Seven": 75,
            "Weevil's Mother": 1,
            "Whitebeard Pirates": 233,
            "Whitebeard Pirates Allies": 24,
            "Whole Cake Island": 1,
            "Windmill Village": 12,
            "World Government": 5,
            "World Pirates": 1,
            "Yonta Maria Fleet": 2,
            "音楽": 1
        },
        "set_codes": {
            "EB-01": 80,
            "EB-02": 105,
            "EB-03": 90,
            "EB-05": 96,
            "GC-01": 13,
            "GC-2026": 10,
            "OP-07": 151,
            "OP-08": 151,
            "OP-09": 159,
            "OP-10": 151,
            "OP-11": 156,
            "OP-12": 155,
            "OP-13": 175,
            "OP-16": 155,
            "OP-17": 169,
            "OP-18": 159,
            "OP01": 154,
            "OP02": 154,
            "OP03": 154,
            "OP04": 149,
            "OP05": 154,
            "OP06": 151,
            "OP14-EB04": 199,
            "OP15-EB04": 196,
            "PRB-01": 316,
            "PRB-02": 311,
            "SD-01": 2,
            "ST-01": 17,
            "ST-02": 17,
            "ST-03": 17,
            "ST-04": 17,
            "ST-05": 17,
            "ST-06": 17,
            "ST-07": 17,
            "ST-08": 15,
            "ST-09": 15,
            "ST-10": 19,
            "ST-11": 15,
            "ST-12": 17,
            "ST-14": 17,
            "ST-15": 15,
            "ST-16": 15,
            "ST-17": 15,
            "ST-18": 15,
            "ST-19": 15,
            "ST-20": 15,
            "ST-21": 32,
            "ST-22": 31,
            "ST-23": 15,
            "ST-24": 15,
            "ST-25": 15,
            "ST-26": 15,
            "ST-27": 15,
            "ST-28": 15,
            "ST-29": 31,
            "ST-30": 34,
            "ST-31": 15,
            "ST-32": 15,
            "ST-33": 15,
            "ST-34": 15,
            "ST-35": 15,
            "ST-36": 15,
            "ST13": 35
        },
        "set_names": {
            "-3D2Y-": 17,
            "-500 YEARS IN THE FUTURE-": 151,
            "-A FIST OF DIVINE SPEED-": 156,
            "-ADVENTURE ON KAMI'S ISLAND-": 196,
            "-AWAKENING OF THE NEW ERA-": 154,
            "-Absolute Justice-": 17,
            "-Ace & Newgate-": 31,
            "-Animal Kingdom Pirates-": 17,
            "-Anime 25th Collection-": 105,
            "-BLACK Marshall.D.Teach-": 15,
            "-BLUE Buggy-": 15,
            "-Black Smoker-": 15,
            "-Blue Donquixote Doflamingo-": 15,
            "-CARRYING ON HIS WILL-": 175,
            "-EMPERORS IN THE NEW WORLD-": 159,
            "-Egghead-": 31,
            "-GEAR5-": 32,
            "-GREEN Jewelry Bonney-": 15,
            "-GREEN/YELLOW Yamato-": 15,
            "-Green Uta-": 15,
            "-KINGDOMS OF INTRIGUE-": 149,
            "-LEGACY OF THE MASTER-": 155,
            "-Luffy & Ace-": 34,
            "-Memorial Collection-": 80,
            "-Monkey D. Luffy-": 15,
            "-ONE PIECE CARD THE BEST vol.2-": 311,
            "-ONE PIECE CARD THE BEST-": 316,
            "-ONE PIECE HEROINES EDITION-": 90,
            "-PARAMOUNT WAR-": 154,
            "-PILLARS OF STRENGTH-": 154,
            "-PURPLE/BLACK Monkey.D.Luffy-": 14,
            "-Purple Monkey.D.Luffy-": 15,
            "-RED Shanks-": 15,
            "-ROMANCE DAWN-": 154,
            "-ROYAL BLOOD-": 151,
            "-Red Edward.Newgate-": 15
        }
    },
    "_note": "Response truncated for documentation purposes"
}
Get Facets — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45336/get+facets' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns aggregate stats: total cards, unique numbers, numbers with multiple variants, total sets, and distributions by type, colour and rarity.
Endpoint ID: 45337
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45337/get+stats
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{
    "ok": true,
    "data": {
        "total_cards": 4706,
        "unique_numbers": 2969,
        "numbers_with_multiple_variants": 1055,
        "sets": 199,
        "by_type": {
            "CHARACTER": 3710,
            "EVENT": 583,
            "LEADER": 347,
            "STAGE": 66
        },
        "by_color": {
            "Black": 764,
            "Blue": 822,
            "Green": 819,
            "Purple": 786,
            "Red": 900,
            "Yellow": 785
        },
        "by_rarity": {
            "C": 1498,
            "L": 343,
            "P": 208,
            "R": 991,
            "SEC": 126,
            "SP CARD": 146,
            "SR": 661,
            "TR": 13,
            "UC": 720
        }
    }
}
Get Stats — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45337/get+stats' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the One Piece TCG Card Database API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Comprehensive One Piece TCG card database with filtering, sets and stats (updated weekly).

One Piece TCG Card Database API FAQs

Card records include identity fields such as card number and variant, plus the name, classification, stats, effect text, and set information. Stats can be null when they do not apply, such as a Leader’s cost or a Character’s life.

Use `q` for free-text search or combine filters such as `type`, `rarity`, `set_code`, `cost_min`, and `power_max`. The `color` and `trait` filters accept comma-separated values. Pagination and sorting are available through `page`, `per_page`, `sort_by`, and `sort_dir`.

Use the specific-card endpoint with a card number to get its variants. To fetch one printing, use the specific-variant endpoint. A missing variant returns a 404; check the card number and variant identifier if that occurs.

`number` identifies the card, while `variant_code` distinguishes a printing when present. `card_uid` combines the card identity and variant into a unique identifier. `image_fingerprint` provides the associated image filename or fingerprint.

It returns set or series entries with a code, name, and card count. Some entries may have a null code, so use the set name when a code is unavailable.

Facets provide available values and their counts for colors, card types, rarities, traits, set codes, and set names. Use these values to populate filter controls; counts indicate how many cards match each facet value.

The stats endpoint summarizes the database with total card records, unique card numbers, numbers with multiple variants, and set count. It also provides distributions by card type, color, and rarity; these are database-wide totals, not counts for a filtered card-list request.

A `null` stat means the field does not apply to that card, rather than indicating a zero value. For example, Leaders may have no cost, while Characters may have no life. Check the card type before using a stat in calculations.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs