Cryptospells_en
  • Table of Contents
  • How to begin CryptoSpells
  • Wallet Q and A
  • FAQ
  • TCGC claim procedure
  • Game description
    • Top page
      • Menu bar
      • Burn Soul And Get OAS
    • Card
      • User's card
      • Mining
      • NFT convert collaboration
      • Replica card
      • Silver card discontinued
    • Deck edit
    • Battle
      • Battle System
      • Recommended environment
      • Player AI
      • Keyword Ability
      • Free Battle
      • Daily Rank Battle
      • Challenge Cup
      • Guild Battle
      • Coliseum
    • Market
      • Secondary market
      • Prime
    • Governance
      • Past Voting Archives 2019
      • Past Voting Archives 2020
    • Guild
  • Management policy
    • Overview and update history
    • Ecosystem
    • Parameter adjustment guideline
    • Card sale guideline
    • Terms and conditions for silver card issuance right NFT
    • Community event support program
      • Past support program cards
  • Others
    • API
    • Refferal
    • Contact us
Powered by GitBook
On this page
  • Returns a list of Token IDs of card NFTs held by the user
  • Return basic information about the player
  • Return basic card information
  • Return card token information
  • Returns basic information about the guild
  • Returns data on win rate and usage rate for each color

Was this helpful?

  1. Others

API

For engineers who are launching external services related to CryptoSpells, we will explain the details of the API that can be used with CryptoSpells.

Returns a list of Token IDs of card NFTs held by the user

/public_api/players/[:user_id]/cards.json

*Excludes items that are not in-game, listed for trade, or rented.

Return basic information about the player

/public_api/players/[:user_id].json

Return basic card information

/public_api/cards/[:card_number].json

*card_number is the number displayed in the card encyclopedia.

Return card token information

/public_api/card_tokens/[:token_id].json

*token_id is a 9-digit token ID starting from 1.

Returns basic information about the guild

/public_api/guilds/[:guild_id].json

*guild_id is 1,2,3,4,5, and corresponds to 1 = ruby, 2 = sapphire, 3 = emerald, 4 = diamond, 5 = onyx.

Returns data on win rate and usage rate for each color

/public_api/color_stats?time=[:time]&type=[:type]&.json

PreviousPast support program cardsNextRefferal

Last updated 1 year ago

Was this helpful?