{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blofin/json-schema/blofin-get-api-v1-user-query-apikey-response-schema.json",
  "title": "GetApiV1UserQueryApikeyResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blofin-user-api-openapi.yml#/components/schemas/GetApiV1UserQueryApikeyResponse",
  "type": "object",
  "properties": {
    "referralCode": {
      "type": "string",
      "description": "Referral code"
    },
    "uid": {
      "type": "string",
      "description": "UID"
    },
    "apiName": {
      "type": "string",
      "description": "API key name"
    },
    "apiKey": {
      "type": "string",
      "description": "API key"
    },
    "readOnly": {
      "type": "integer",
      "description": "0: Read and Write. 1: Read only"
    },
    "type": {
      "type": "integer",
      "description": "1: Transaction, 2: Connect to third-party"
    },
    "expireTime": {
      "type": "string",
      "description": "Expiration time, Unix timestamp format in milliseconds"
    },
    "createTime": {
      "type": "string",
      "description": "Creation time, Unix timestamp format in milliseconds"
    },
    "ips": {
      "type": "array",
      "description": "IP bound"
    },
    "parentUid": {
      "type": "string",
      "description": "If use sub account api key, it shows main account uid; if use main account api key, it shows '0'"
    }
  }
}