API Cheat Sheet
The Niftory API is built in GraphQL. We also plan to support REST endpoints in the future. Our GraphQL Endpoint can be found here:

Why start with GraphQL?

GraphQL has become a well-established standard for building performant web applications, giving the power of what to query and how much to query to the app developer (with strong typing!). This is consistent with our philosophy of making it as easy as possible for you to quickly launch high-performing experiences.
If you have a strong need for REST endpoints for your application, please reach out to us.

Niftory Data Model

Here are the core concepts in the Niftory data model.
For more details, see the Data Model guide​

API Endpoints

Always test your application against the Staging environment. The production endpoint will affect the blockchain for real, so that should only be used when you are ready to ship your app.
https://api.staging.niftory.com/v1/graphql
https://api.staging.niftory.com/v1/graphql
api.staging.niftory.com
Staging API Endpoint (TestNet)

Production (targets blockchain prod)

https://api.niftory.com/v1/graphql
https://api.niftory.com/v1/graphql
api.niftory.com
Prod API endpoint

Authentication

Remember to get your API keys to set up your application!
More details in the Authentication guide:

APIs at a Glance

​See Niftory API Reference here
πŸ’‘
​
​App​
​AppUser​
​Wallet​
Your application needs to registerWallet --> verifyWallet --> readyWallet for any given user in order to set up the wallet to receive NFTs. Read more here.
​NFT​
​NFTModel​
​NFTSet​
An NFTSet is a bag of NFTModels
An NFTModel is a bag ofNFTs
An NFT is the thing that a user actually owns.
Currently, the Niftory API only supports querying NFTSet and NFTModels. Use the Admin Portal to create and manage these objects for your application.
Happy Coding!
Copy link
On this page
Why start with GraphQL?
Niftory Data Model
API Endpoints
Authentication
APIs at a Glance