We're thrilled to announce the release of our new API, version 1. This api has enhanced features for application builder, to leverage our ecosystem. Please read this article, regarding the updates.
Getting started
First of all, you need to request an API key. Please visit Auth & Rate Limit
We have built the playground, you can easily play with our APIs.
Basics Flow
Please use following path: https://api.myty.space/v1
In order to load specific avatars into your applications, please follow the steps.
/nfts Get supported NFT Collections to know collectionAddress
/assets/collections Get the avatarColectionId and metadataAssetUri of specific collection
/assets/ Get the avatar assetUri
Prerequisites
Do not forget to get your API Key by contacting us
MYTY Rest API utilizes Pageable, please read this doc to have comprehensive understanding.
Please refer entity pages for further information of domains and entities.
Supported NFT Collections
Various types of avatar are provided in Avatar Registry. Request following API to get the complete list of supported NFT Collections, which is connected to the avatars. (Contact us at Auth & Rate Limit to get your API Key)
With the above API call, you will be able to identify:
NFT Collection supported in MYTY Avatar Registry
collectionAddress from .content[.address]
Get the information of avatar collection from specific NFT collection
NFT(nftCollectionAddress) and Avatar Collection is 1:n relationship. For example, if you hold a cryptopunk, you may access to different shape, version of avatars.
You need to identify the number of avatar assets connected to the specific NFT Collection