海贼王集换式卡牌游戏卡牌数据库 API

API ID 16019

全面的海贼王集换式卡牌游戏卡牌数据库,包含筛选、卡组和统计数据(每周更新)

API 文档

端点

请求
返回卡牌列表 可选参数:page per_page sort_by sort_dir q(自由文本搜索)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 返回数据和元信息
Endpoint ID: 45332
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45332/get+card+list
输入参数

获取卡片列表 — 端点功能

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

剩余免费测试请求:3 / 3。


输入参数

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 示例响应
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"
}
获取卡片列表 — 代码片段

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' 


    
请求
按编号返回特定卡牌的所有变体。响应包含卡牌数组和元信息
Endpoint ID: 45333
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45333/get+specific+card
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
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
    }
}
获取指定卡片 — 代码片段

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' 


    
请求
返回卡片的一个特定变体。如果未找到该变体,则返回 404 错误。仅返回翻译后的文本。不要添加句号或逗号。如果翻译有误,则仅返回“error”
Endpoint ID: 45334
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45334/get+specific+variant
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
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": []
            }
        ]
    }
}
获取特定变体 — 代码片段

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' 


    
请求
返回包含代码名称和卡牌数量的系列列表
Endpoint ID: 45335
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45335/get+a+list+of+sets
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
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"
}
获取集合列表 — 代码片段

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' 


    
请求
返回颜色、卡牌类型、稀有度、特征、系列代码和系列名称的数量。
Endpoint ID: 45336
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45336/get+facets
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
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"
}
获取分面 — 代码片段

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


    
请求
返回汇总统计:卡牌总数、独特编号、拥有多个变体的编号、套装总数,以及按类型、颜色和稀有度划分的分布
Endpoint ID: 45337
GET https://zylalabs.com/api/16019/one+piece+tcg+card+database+api/45337/get+stats
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
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
        }
    }
}
获取统计信息 — 代码片段

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 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 海贼王集换式卡牌游戏卡牌数据库 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

全面的海贼王 TCG 卡牌数据库,包含筛选、卡包和统计数据(每周更新)

海贼王集换式卡牌游戏卡牌数据库 API FAQs

卡牌记录包含卡号和变体等身份字段,以及名称 分类 属性 效果文本和系列信息 当属性不适用时可以为 null 例如领袖的费用或角色的生命值

使用 `q` 进行自由文本搜索,或组合使用 `type`、`rarity`、`set_code`、`cost_min` 和 `power_max` 等筛选条件。`color` 和 `trait` 筛选条件接受以逗号分隔的值。可通过 `page`、`per_page`、`sort_by` 和 `sort_dir` 进行分页和排序

使用指定卡牌接口并提供卡牌编号以获取其版本。要获取某个印刷版本,请使用指定版本接口。如果版本不存在,会返回 404;如果发生这种情况,请检查卡牌编号和版本标识符

`number` 标识卡牌,而 `variant_code` 在存在时用于区分不同印刷版本。`card_uid` 将卡牌身份与版本结合成唯一标识符。`image_fingerprint` 提供关联的图像文件名或指纹。

它会返回包含代码、名称和卡牌数量的套装或系列条目。某些条目的代码可能为空,因此代码不可用时请使用套装名称

分面提供颜色、卡牌类型、稀有度、特征、系列代码和系列名称的可选值及其数量。使用这些值填充筛选控件;数量表示符合各分面值的卡牌数量

Stats 端点汇总数据库信息 包括卡牌记录总数 唯一卡牌编号数 存在多个变体的编号数以及系列数量 它还提供按卡牌类型 颜色和稀有度划分的分布 这些是整个数据库的总数 而不是筛选后的卡牌列表请求的计数

`null` 属性表示该字段不适用于该卡牌,而不是表示数值为零。例如,领袖可能没有费用,而角色可能没有生命值。计算时使用属性前,请先检查卡牌类型

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API