Welcome to Duelingbook's API

All fields are required. All keys and specified values are case sensitive. All requests use the POST method. In order to make a request, the account making the request cannot already be online. When you make a request, the account used will appear online briefly for the duration of the request.


Upload custom card / Edit custom card

https://api.duelingbook.com/upload-custom-card


Parameters:

KeyDescription
username
The username of the account uploading the card
password
A password token that belongs to the uploading account. To generate a token, login with Remember Me selected, then copy the password value from this page:

https://www.duelingbook.com/logged-in
action
The specified action being performed. The following values are acceptable:
  • Upload card
  • Edit card
id
The ID of the card being edited. Only used for Edit card
name
The card's name
effect
The card's effect
card_type
The card's category. The following values are acceptable:
  • Monster
  • Spell
  • Trap
monster_color
A Monster Card's Type. Leave blank for Spell/Traps, otherwise the following values are acceptable:
  • Normal
  • Effect
  • Ritual
  • Fusion
  • Synchro
  • Xyz
  • Link
type
The card's Type.

For Monster Cards, the following values are acceptable:
  • Aqua
  • Beast
  • Beast-Warrior
  • Celestial Warrior
  • Cyberse
  • Cyborg
  • Dinosaur
  • Divine-Beast
  • Dragon
  • Fairy
  • Fiend
  • Fish
  • Galaxy
  • High Dragon
  • Illusion
  • Insect
  • Machine
  • Magical Knight
  • Omega Psychic
  • Plant
  • Psychic
  • Pyro
  • Reptile
  • Rock
  • Sea Serpent
  • Spellcaster
  • Thunder
  • Warrior
  • Winged Beast
  • Wyrm
  • Zombie

For Spell cards, the following values are acceptable:
  • Normal
  • Continuous
  • Equip
  • Quick-Play
  • Field
  • Ritual

For Trap cards, the following values are acceptable:
  • Normal
  • Continuous
  • Counter
attribute
A Monster Card's Attribute. Leave blank for Spell/Trap cards, otherwise the following values are acceptable:
  • DARK
  • DIVINE
  • EARTH
  • FIRE
  • LIGHT
  • WATER
  • WIND
level
A Monster Card's Level. Must be a value between 0-12.
atk
A Monster Card's ATK. Can be a value between 0-9999, or
?
def
A Monster Card's DEF. Can be a value between 0-9999, or
?
flip
Indicates whether a Monster Card is a Flip monster. Use 1 if it is, use 0 if not.
ability
A Monster Card's ability. Can be blank, otherwise the following values are acceptable:
  • Gemini
  • Spirit
  • Toon
  • Tuner
  • Union
is_effect
Indicates whether the word Effect shows up next to a Monster Card's Type. Use 1 if it does, use 0 if not.
pendulum
Indicates whether a Monster Card is a Pendulum Monster. Use 1 if it is, use 0 if not.
scale
The scale of a Pendulum Monster. Must be a value between 0-13.
pendulum_effect
A Monster Card's Pendulum Effect.
arrows
A Link Monster's Link Markers. This is an 8-digit String containing values of 0 and 1. Each 1 indicates a red marker. Start from the top left, and work your way clockwise.
rush
Indicates whether a card is a Rush Card. Use 1 if it is, use 0 if not.
limit
The number of copies of this card you can use in a Deck. Must be a value between 0-3.
privacy
Indicates whether a card is public or private. Use 1 for a public card, or 2 for a private card.
image
(Optional) An image URL to update the card's artwork.