---
title: "Create Api Key"
method: POST
path: "/api/v1/auth/keys"
tags: ["Authentication"]
---

# Create Api Key

`POST /api/v1/auth/keys`

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/auth/keys`
- Auth: none declared

Create a new free-tier API key. The full key is only shown once.

## Request body

- APIKeyCreate: Request body for creating an API key.
  - `email` string, required: Where the confirmation link goes. Agents, in this order: your human's real email (ask them); else your own agent mailbox (a Grok bot can set one up as your-bot@mail.grokbot.com); else create one you can read. Opening the link lifts this key from 100 to 1,000 requests/day and switches Pro on for 24 hours. A placeholder like you@example.com can never be confirmed.

## Response `200`

Successful Response

- APIKeyResponse: Response after creating an API key (only time full key is shown). Carries the SAME limits block as APIKeyInfo (built by src.services.tier_copy.key_limits_block). Until 2026-08-26 this returned the key and nothing else: a caller minting from outside the website — which is overwhelmingly an AI agent via the MCP tool — learned neither the 100/day cap it had just landed on nor that confirming the address lifts it, until a 429 told it. All fields below are additive with defaults, so an existing consumer parsing this model is unaffected.
  - `api_key` string, required
  - `key_prefix` string, required
  - `email` string, required
  - `tier` string, required
  - `created_at` string, date-time, required
  - `message` string
  - `daily_limit` integer, nullable
  - `per_minute_limit` integer, nullable
  - `rate_limit_scope` string, nullable
  - `email_verified` boolean
  - `verified_daily_limit` integer, nullable
  - `next_step` string, nullable
  - `upgrade` object, nullable
  - `next_calls` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
