競
YGOPRODeck API
8 endpointsSports & GamingGlobalsocial:read8 real examples
Returns Yu-Gi-Oh! cards by name, id, archetype or set with text and stats, plus the list of archetype names.
View as Markdown| GET | /ygoprodeck/card | One card by its exact English name, with its text and stats. |
| GET | /ygoprodeck/search | Cards whose name contains a text, up to a limit. |
| GET | /ygoprodeck/cardById | One card by its YGOPRODeck id, with its text and stats. |
| GET | /ygoprodeck/archetypeCards | Cards of one archetype, such as Blue-Eyes, paged. |
| GET | /ygoprodeck/setCards | Cards of one set, by its exact set name, paged. |
| GET | /ygoprodeck/archetypes | The archetype names of the card database, paged in alphabetical order of the database. |
| GET | /ygoprodeck/cardSets | The booster sets and products of the card database, with their codes and release dates, paged. |
| GET | /ygoprodeck/databaseVersion | The version of the card database and when it was last updated. |
card
GET
/v1/ygoprodeck/cardOne card by its exact English name, with its text and stats.
scope social:read1 unitcached 24 h
Parameters
namestring required | Exact card name, such as Dark Magician. e.g. Dark Magician |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archetype | string |
attack | integer (int64) |
attribute | string |
defense | integer (int64) |
description | string |
frameType | string |
id | string |
image | string |
level | integer (int64) |
name | string |
race | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/ygoprodeck/card?name=Dark+Magician" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/card?name=Dark+Magician", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/card?name=Dark+Magician", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "archetype": "Dark Magician", "attack": 2500, "attribute": "DARK", "defense": 2100, "description": "''The ultimate wizard in terms of attack and defense.''", "frameType": "normal", "id": "46986414", "image": "https://images.ygoprodeck.com/images/cards/46986414.jpg", "level": 7, "name": "Dark Magician", "race": "Spellcaster", "type": "Normal Monster", "url": "https://ygoprodeck.com/card/dark-magician-4003" }, "meta": { "cached": false, "endpoint": "card", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/ygoprodeck/searchCards whose name contains a text, up to a limit.
scope social:read1 unitcached 6 hpaginated
Parameters
namestring required | Text the card name contains, such as dark magi. e.g. dark magi |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archetype | string |
attack | integer (int64) |
attribute | string |
defense | integer (int64) |
description | string |
frameType | string |
id | string |
image | string |
level | integer (int64) |
name | string |
race | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/ygoprodeck/search?name=dark+magi" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/search?name=dark+magi", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/search?name=dark+magi", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archetype": "", "attack": 1600, "attribute": "DARK", "defense": 1000, "description": "If this card is Normal Summoned: Place 2 Spell Counters on it. If this card is Pendulum Summoned: Place 3 Spell Counters on it. Gains 400 AT…", "frameType": "effect", "id": "22923081", "image": "https://images.ygoprodeck.com/images/cards/22923081.jpg", "level": 6, "name": "Breaker the Dark Magical Warrior", "race": "Spellcaster", "type": "Effect Monster", "url": "https://ygoprodeck.com/card/breaker-the-dark-magical-warrior-1973" }, { "archetype": "Dark Magician", "attack": 0, "attribute": "", "defense": 0, "description": "If you control \"Dark Magician\": Destroy all Spells and Traps your opponent controls.", "frameType": "spell", "id": "2314238", "image": "https://images.ygoprodeck.com/images/cards/2314238.jpg", "level": 0, "name": "Dark Magic Attack", "race": "Normal", "type": "Spell Card", "url": "https://ygoprodeck.com/card/dark-magic-attack-205" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
cardById
GET
/v1/ygoprodeck/cardByIdOne card by its YGOPRODeck id, with its text and stats.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Card id, such as 46986414 for Dark Magician. e.g. 46986414 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archetype | string |
attack | integer (int64) |
attribute | string |
defense | integer (int64) |
description | string |
frameType | string |
id | string |
image | string |
level | integer (int64) |
name | string |
race | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/ygoprodeck/cardById?id=46986414" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/cardById?id=46986414", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/cardById?id=46986414", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "archetype": "Dark Magician", "attack": 2500, "attribute": "DARK", "defense": 2100, "description": "''The ultimate wizard in terms of attack and defense.''", "frameType": "normal", "id": "46986414", "image": "https://images.ygoprodeck.com/images/cards/46986414.jpg", "level": 7, "name": "Dark Magician", "race": "Spellcaster", "type": "Normal Monster", "url": "https://ygoprodeck.com/card/dark-magician-4003" }, "meta": { "cached": false, "endpoint": "cardById", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
archetypeCards
GET
/v1/ygoprodeck/archetypeCardsCards of one archetype, such as Blue-Eyes, paged.
scope social:read1 unitcached 24 hpaginated
Parameters
archetypestring required | Archetype name as YGOPRODeck writes it, such as Blue-Eyes. e.g. Blue-Eyes |
limitinteger | Cards per page, from 1 to 100. default 20e.g. 2 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archetype | string |
attack | integer (int64) |
attribute | string |
defense | integer (int64) |
description | string |
frameType | string |
id | string |
image | string |
level | integer (int64) |
name | string |
race | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/ygoprodeck/archetypeCards?archetype=Blue-Eyes&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/archetypeCards?archetype=Blue-Eyes&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/archetypeCards?archetype=Blue-Eyes&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archetype": "Blue-Eyes", "attack": 0, "attribute": "", "defense": 0, "description": "If you do not control another \"Beacon of White\", and you have 3 or more \"Blue-Eyes\" monsters in your GY: Target 1 of them; Special Summon it…", "frameType": "spell", "id": "50371210", "image": "https://images.ygoprodeck.com/images/cards/50371210.jpg", "level": 0, "name": "Beacon of White", "race": "Equip", "type": "Spell Card", "url": "https://ygoprodeck.com/card/beacon-of-white-4291" }, { "archetype": "Blue-Eyes", "attack": 0, "attribute": "", "defense": 0, "description": "Reveal 3 cards from your Deck that each meets at least 1 of the criteria listed below, your opponent randomly picks 1 for you to add to your…", "frameType": "spell", "id": "93437091", "image": "https://images.ygoprodeck.com/images/cards/93437091.jpg", "level": 0, "name": "Bingo Machine, Go!!!", "race": "Normal", "type": "Spell Card", "url": "https://ygoprodeck.com/card/bingo-machine-go-9534" } ], "meta": { "cached": false, "endpoint": "archetypeCards", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
setCards
GET
/v1/ygoprodeck/setCardsCards of one set, by its exact set name, paged.
scope social:read1 unitcached 24 hpaginated
Parameters
setstring required | Exact set name, such as Legend of Blue Eyes White Dragon. e.g. Legend of Blue Eyes White Dragon |
limitinteger | Cards per page, from 1 to 100. default 20e.g. 2 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archetype | string |
attack | integer (int64) |
attribute | string |
defense | integer (int64) |
description | string |
frameType | string |
id | string |
image | string |
level | integer (int64) |
name | string |
race | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/ygoprodeck/setCards?set=Legend+of+Blue+Eyes+White+Dragon&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/setCards?set=Legend+of+Blue+Eyes+White+Dragon&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/setCards?set=Legend+of+Blue+Eyes+White+Dragon&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archetype": "Madoor", "attack": 1200, "attribute": "WATER", "defense": 2000, "description": "A wizard of the waters that conjures a liquid wall to crush any enemies that oppose him.", "frameType": "normal", "id": "85639257", "image": "https://images.ygoprodeck.com/images/cards/85639257.jpg", "level": 4, "name": "Aqua Madoor", "race": "Spellcaster", "type": "Normal Monster", "url": "https://ygoprodeck.com/card/aqua-madoor-7176" }, { "archetype": "", "attack": 700, "attribute": "EARTH", "defense": 1300, "description": "A strange warrior who manipulates three deadly blades with both hands and his tail.", "frameType": "normal", "id": "53153481", "image": "https://images.ygoprodeck.com/images/cards/53153481.jpg", "level": 3, "name": "Armaill", "race": "Warrior", "type": "Normal Monster", "url": "https://ygoprodeck.com/card/armaill-4528" } ], "meta": { "cached": false, "endpoint": "setCards", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
archetypes
GET
/v1/ygoprodeck/archetypesThe archetype names of the card database, paged in alphabetical order of the database.
scope social:read1 unitcached 24 hpaginated
Parameters
limitinteger | Archetypes per page, from 1 to 500. default 100e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
name | string |
curl "https://api.hoshime.com/v1/ygoprodeck/archetypes?limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/archetypes?limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/archetypes?limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "name": "-Eyes Dragon" }, { "name": "\"C\"" } ], "meta": { "cached": false, "endpoint": "archetypes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
cardSets
GET
/v1/ygoprodeck/cardSetsThe booster sets and products of the card database, with their codes and release dates, paged.
scope social:read1 unitcached 24 hpaginated
Parameters
limitinteger | Sets per page, from 1 to 500. default 50e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
cardCount | integer (int64) |
code | string |
image | string |
name | string |
releaseDate | string |
curl "https://api.hoshime.com/v1/ygoprodeck/cardSets?limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/cardSets?limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/cardSets?limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "cardCount": 42, "code": "YS15", "image": "https://images.ygoprodeck.com/images/sets/YS15.jpg", "name": "2-Player Starter Deck: Yuya & Declan", "releaseDate": "2015-05-28" }, { "cardCount": 88, "code": "STAS", "image": "", "name": "2-Player Starter Set", "releaseDate": "2024-01-26" } ], "meta": { "cached": false, "endpoint": "cardSets", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }
databaseVersion
GET
/v1/ygoprodeck/databaseVersionThe version of the card database and when it was last updated.
scope social:read1 unitcached 10 min
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
lastUpdate | string |
version | string |
curl "https://api.hoshime.com/v1/ygoprodeck/databaseVersion" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/ygoprodeck/databaseVersion", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/ygoprodeck/databaseVersion", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "lastUpdate": "2026-11-04 16:00:24", "version": "147.67" }, "meta": { "cached": false, "endpoint": "databaseVersion", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "ygoprodeck", "requestId": "req_2Xb9kQ…", "units": 1 } }