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

# Credit Balance

> Retrieve the current credit balance for the authenticated user



## OpenAPI

````yaml api-reference/openapi.yaml get /credits
openapi: 3.0.3
info:
  title: OmniVerifier Public API
  description: Public API for email verification and credit management
  version: 1.0.0
  contact:
    name: OmniVerifier Support
    email: support@omniverifier.com
servers:
  - url: https://api.omniverifier.com/v1/validate
    description: API Server
security:
  - ApiKeyAuth: []
paths:
  /credits:
    get:
      tags:
        - Credits
      summary: Get user credits
      description: Retrieve the current credit balance for the authenticated user
      operationId: getCredits
      responses:
        '200':
          description: Successfully retrieved credits
          content:
            application/json:
              schema:
                type: object
                properties:
                  credits:
                    type: integer
                    description: Current credit balance
                    example: 1500
        '400':
          description: Bad request - API key missing or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
          example: Invalid API key
        code:
          type: string
          description: Error code
          example: INVALID_API_KEY
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````