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

# Get account credits

> Get the current credit balance for the authenticated user account.



## OpenAPI

````yaml /api-reference/openapi.json get /api/public/v2/account/credits
openapi: 3.1.0
info:
  version: 2.0.0
  title: TitanX API
  description: |-
    # TitanX API Documentation

    Welcome to the TitanX API!

    ## Base URL

    ```
    https://app.titanx.io/api/public/v2
    ```

    ## Authentication

    All endpoints require Bearer token authentication:

    ```http
    Authorization: Bearer YOUR_API_KEY
    ```

    ## Response Format

    All endpoints return responses in this consistent format:

    ```json
    {
      "data": { /* Your requested data */ },
      "credits": {
        "creditsCharged": 5,
        "creditsRemaining": 995,
        "costPerPhone": 0.05,
        "phoneCount": 100
      },
      "error": null
    }
    ```
servers:
  - url: https://app.titanx.io
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: v2
    description: ✅ Version 2 API (Current)
    externalDocs:
      description: V2 API Guide
      url: https://docs.titanx.io/api/v2
  - name: v2-contacts
    description: V2 Contact operations - scoring and enrichment with credit tracking
  - name: v2-jobs
    description: V2 Job operations - job management and contact retrieval
  - name: v2-account
    description: V2 Account operations - credits and billing information
  - name: v2-webhooks
    description: >-
      V2 Webhook operations - manage webhook subscriptions for real-time contact
      event notifications
paths:
  /api/public/v2/account/credits:
    get:
      tags:
        - v2
        - v2-account
      summary: Get account credits
      description: Get the current credit balance for the authenticated user account.
      responses:
        '200':
          description: Successful response with account credit information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2AccountCreditsResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    V2AccountCreditsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/AccountCreditsResponse'
      required:
        - data
    AccountCreditsResponse:
      type: object
      properties:
        credits:
          type: integer
          minimum: 0
      required:
        - credits
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````