Niftory Docs
Niftory Web3 API
Search…
⌃K
Links

GraphQL Client Setup

The sample uses graphql-request to interact with Niftory's GraphQL endpoints.
For production use-cases, we recommend using urql or Apollo clients.
Revisit our rationale for starting with GraphQL.
post
https://api.niftory.com/v1/graphql
post
https://api.staging,niftory.com/v1/graphql
No matter what client library you use, the 3 things you need to make requests to the Niftory API are:
You can use the Niftory API in staging mode, which doesn't affect your production data, and executes blockchain transactions on testnet. The API endpoint you use -- api.staging.niftory.com vs. api.niftory.com determines the mode.
We strongly recommend you use the API's staging endpoint until you are ready to deploy your app to production.