{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-apikey-response-schema.json",
  "title": "APIKeyResponse",
  "description": "Response after creating an API key (only time full key is shown).\n\nCarries the SAME limits block as APIKeyInfo (built by\nsrc.services.tier_copy.key_limits_block). Until 2026-08-26 this returned the\nkey and nothing else: a caller minting from outside the website — which is\noverwhelmingly an AI agent via the MCP tool — learned neither the 100/day cap\nit had just landed on nor that confirming the address lifts it, until a 429\ntold it. All fields below are additive with defaults, so an existing consumer\nparsing this model is unaffected.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-authentication-api-openapi.yml#/components/schemas/APIKeyResponse",
  "properties": {
    "api_key": {
      "type": "string",
      "title": "Api Key"
    },
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "default": "Save this API key securely. It will not be shown again."
    },
    "daily_limit": {
      "title": "Daily Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "per_minute_limit": {
      "title": "Per Minute Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "rate_limit_scope": {
      "title": "Rate Limit Scope",
      "type": [
        "string",
        "null"
      ]
    },
    "email_verified": {
      "type": "boolean",
      "title": "Email Verified",
      "default": false
    },
    "verified_daily_limit": {
      "title": "Verified Daily Limit",
      "type": [
        "integer",
        "null"
      ]
    },
    "next_step": {
      "title": "Next Step",
      "type": [
        "string",
        "null"
      ]
    },
    "upgrade": {
      "title": "Upgrade",
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ]
    },
    "next_calls": {
      "title": "Next Calls",
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object",
  "required": [
    "api_key",
    "key_prefix",
    "email",
    "tier",
    "created_at"
  ]
}