API Quickstart

Get Started in 5 minutes

In this Quickstart, you'll be able to make your first calls to the Niftory API with pretty much no setup required.
1. Login to the Niftory Sample App at sample.niftory.com. This is a deployed version of our Sample App, managed by Niftory.
Apollo Studio
Niftory GraphQL Playground
3. Get the values for these headers from the sample app:
  • X-Niftory-API-Key
  • Authorization
They are printed out for your convenience.
4. Set these header values in the Playground by copy and pasting them into the environment variables section as "apiKey" and "token".
5. Start running your first queries!
Niftory GraphQL Playground
Here's an example query to try:
query NFTModelsQuery {
nftModels {
items {
This query returns the list of NFTModels that the Sample App has available for users to mint an NFT from. For more examples on queries, see Querying NFTs.
Learn more about the Niftory API:

Ready to create your own app?

To get started with your own application, let's get your Niftory API Keys!
We're currently in Developer Preview - all development teams will need to be approved to access their Niftory Dashboard. Please reach out to [email protected] to get access.
Once you've been accepted - go to the Niftory Admin Portal and follow these steps:
  1. 1.
    You should automatically be redirected to the Your App Page. If not, click on your User Profile, and select App.
  2. 2.
    Select a name for your contract and hit Deploy Smart Contract. Your smart contract will be created under a brand new blockchain address for your application. Once deployed, go to the next step.
  3. 3.
    Add in a redirect URI for your login page. If you're using the sample app (which uses next-auth), the redirect URI looks like https://domain.com/api/auth/callback/niftory.
  4. 4.
    Click Setup and Get Keys to get all of your secrets and start building. You're all set to go!
Niftory App Page
Now you're ready to build your own - we recommend you start with the Niftory Sample App to get the basics set up!


Copy link
On this page
Get Started in 5 minutes
Ready to create your own app?