Yu-Gi-Oh! API

⭐ Beginner's Pick Games & Comics / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

The Yu-Gi-Oh! API gives you access to a massive database of Yu-Gi-Oh! TCG cards, including card stats, images, prices, and ban list information. It requires no authentication, so you can start making requests immediately without signing up. This is a great choice if you want to build a card lookup tool, deck builder, or fan site.

💡

Beginner Tip

No API key is needed — just call the endpoint directly. Try searching by card name using the ?name= parameter to get detailed card info instantly.

Available Data

Use case: Integrate yu-gi-oh! tcg information data into web and mobile applications
Yu-Gi-Oh! data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "id": 1,
  "name": "Yu-Gi-Oh!",
  "data": "Yu-Gi-Oh! TCG Information",
  "source": "Yu-Gi-Oh!"
}

Field Reference

id Unique numeric identifier for the card in the YGOPRODeck database.
name Full official name of the Yu-Gi-Oh! card.
type Card type such as Normal Monster, Effect Monster, Spell Card, or Trap Card.
atk Attack points of the monster card (null for Spell/Trap cards).
def Defense points of the monster card (null for Spell/Trap cards).
card_images Array of image objects containing URLs for the card image and small thumbnail.

Implementation Example

const url = "https://db.ygoprodeck.com/api-guide/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

404 Not Found The card name does not exactly match the database entry, including punctuation.
Use the ?fname= (fuzzy name) parameter to do a partial match search instead of an exact ?name= lookup.
Empty results array Your filter parameters (type, race, attribute) returned no matching cards.
Broaden your search by removing optional filter parameters one at a time until results appear.
CORS error in browser The API CORS policy may not be configured for all origins in certain environments.
Test from a server-side script (Node.js) first. If you need browser access, proxy the request through your own backend.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 276ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Games & Comics
Difficulty Beginner
Verified: 2026-04-07

Similar APIs

View All →