> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eventgraph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create API Key

> Generate a new API key instantly — no signup required



## OpenAPI

````yaml POST /api/v1/keys
openapi: 3.0.3
info:
  title: EventGraph API
  description: >-
    Unified prediction market data across Polymarket, Kalshi, Limitless, and
    OpinionTrade.
  version: 1.0.0
  contact:
    name: EventGraph
    url: https://eventgraph.ai
    email: info@eventgraph.ai
servers:
  - url: https://app.eventgraph.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/keys:
    post:
      tags:
        - Authentication
      summary: Create API Key
      description: >-
        Generate a new API key. The raw key is returned once — store it
        securely.
      operationId: createApiKey
      parameters:
        - name: name
          in: query
          required: true
          description: Human-readable key name (e.g. 'my-trading-bot')
          schema:
            type: string
            minLength: 1
            maxLength: 255
        - name: email
          in: query
          required: true
          description: Developer email address
          schema:
            type: string
            format: email
            minLength: 5
            maxLength: 255
        - name: tier
          in: query
          required: false
          description: API tier
          schema:
            type: string
            enum:
              - free
              - pro
              - enterprise
            default: free
      responses:
        '200':
          description: API key created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    ApiKeyResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            key:
              type: string
              description: Your API key — shown once, store securely
            key_prefix:
              type: string
            id:
              type: string
              format: uuid
            name:
              type: string
            email:
              type: string
            tier:
              type: string
              enum:
                - free
                - pro
                - enterprise
            daily_limit:
              type: integer
            monthly_limit:
              type: integer
        timestamp:
          type: string
          format: date-time
        meta:
          type: object
    Error:
      type: object
      properties:
        detail:
          type: object
          properties:
            error:
              type: string
            message:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your EventGraph API key (eg_live_...)

````