GraphQL & Auth Endpoints

The Niftory API is built in GraphQL.

POST https://graphql.api.staging.niftory.com/

Perform any GraphQL commands and actions.

Headers

Name
Type
Description

X-Niftory-API-Key*

String

Application's API Key

Authorization*

String

Bearer token containing the user's JWT. See

.

{
  "data": {
    "wallet": {
      "id": "14",
      "address": "0xf253fc2ca37c078436d07fb75e5a76a649892172",
      "state": "UNVERIFIED",
      "verificationCode": "xyz789",
      "nfts": [NFT],
    }
  }
}

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.

Staging (targets blockchain testnet)

https://graphql.api.staging.niftory.com

Production (targets blockchain prod)

https://graphql.api.niftory.com

Auth Service Endpoints

Production

NIFTORY_AUTH_SERVICE=https://auth.niftory.com

Staging

NIFTORY_AUTH_SERVICE=https://auth.staging.niftory.com

Last updated