---
updatedAt: 2025-06-25T21:56:35.000Z
agentTools:
  projectIndex: https://docs.nftgo.io/llms.txt
---

# Generate Dealer Key

This endpoint is ONLY for dealers. Dealers can use this endpoint to generate an API key for their own customers. This API key can access our NFTGo endpoint.If you would like to become our dealer, please fill out the [form](https://byterum.feishu.cn/share/base/form/shrcnbwjP64twFL0cHPGWBmO22c).

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "dealerApi",
    "version": "0.1.0"
  },
  "paths": {
    "/api/v1/dealer/api_key": {
      "post": {
        "summary": "Generate Dealer Key",
        "description": "This endpoint is for dealer to use. Distributors can use this endpoint to generate an API key for their own customers. This API key can access our NFTGo endpoint.\n\nIf you would like to become our dealer, please fill out the [form](https://byterum.feishu.cn/share/base/form/shrcnbwjP64twFL0cHPGWBmO22c).",
        "operationId": "generate_dealer_key_api_v1_dealer_api_key_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateKeyBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GenerateKeyBody": {
        "title": "GenerateKeyBody",
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "title": "Email",
            "type": "string",
            "description": "User email"
          },
          "name": {
            "title": "Name",
            "type": "string",
            "description": "User name"
          }
        }
      },
      "HTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "ValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://data-api.nftgo.io"
    }
  ]
}
```