Niftory Docs
Niftory Web3 API
Search…
⌃K
Links

API Quickstart

Let's get you set up!

Get your API Keys

Your API keys identify and protect your app; it's how Niftory recognizes who is making requests. To get your API keys,
  1. 1.
    Log in to the Niftory Admin Portal.
  2. 2.
    Enter a name for your organization (single word).hhin
  3. 3.
    Coming Soon: Select your preferred blockchain. Currently we default to Flow.
Sign up to https://admin.niftory.com
That's it! You will be redirected to Your App page, where your API Keys are waiting for you.
These API keys target the testnet environment. We recommend you get your app working fully in testnet before switching to mainnet.

Deploy your smart contract

Next up, let's get you a smart contract and deploy it to the blockchain! Niftory has built an advanced smart contract for your use. We'll skip the details in this section, but you can read more about it here:
We'll start with deploying it to testnet; as mentioned above, you should develop against testnet until you're ready to deploy your app.
  1. 1.
    Go to Your App page in the Niftory Admin Portal.
  2. 2.
    Enter a Contract Name (this is optional, by default your contract name will be your org name).
  3. 3.
    Deploy Contract
That was easy, right? In less than 5 minutes, you've been able to get your API keys, and deploy a smart contract to the blockchain!

Set up API Playground

At this point you're fully set up to start building with Niftory. Let's get you a playground to experiment with the API quickly:
Add the values of API Key and Client secret from the previous section to these request headers:
  • X-Niftory-API-Key
  • X-Niftory-Client-Secret
If you're using Apollo Studio, copy/paste the values into the environment variables section as "apiKey" and "clientSecret"
Apollo Studio
Niftory GraphQL Playground
Niftory GraphQL Playground

Try making API calls

You can make API calls against some sample content we've already created.
The next sections walk you through some specific API calls:

Learn more about the Niftory API

Ready to create your own app?

Congratulations! You're all set up. We can't wait to see what you build with Niftory. Don't forget to join our developer community and share what you're building.
We recommend you start by cloning the Niftory Sample App to get the basics light up for free!