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

# Get User Credits

> Retrieve the current credit balance for your GoEnhance API account.

## Overview

The Get User Credits API allows you to check your current credit balance. Credits are used for all API operations on the GoEnhance platform, with different operations consuming varying amounts of credits based on their complexity and resource requirements.

## Response

The API returns your current credit balance in the `data.count` field. This balance represents the number of credits available for use with GoEnhance API services.

## Usage Examples

This endpoint is useful for:

* Checking available credits before performing operations
* Monitoring credit usage in your application
* Implementing credit-based limits or notifications
* Automating credit management workflows

For information about credit consumption rates for specific operations, please refer to our [API Pricing](https://app.goenhance.ai/open-api/billing) page.


## OpenAPI

````yaml GET /api/v1/user/tokens
openapi: 3.1.0
info:
  title: GoEnhance API
  description: ''
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security:
  - bearerAuth: []
tags:
  - name: Basic
  - name: Video2Video
paths:
  /api/v1/user/tokens:
    get:
      tags:
        - Basic
      summary: Get User Tokens
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer xxx
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      count:
                        type: integer
                    required:
                      - count
                    x-apifox-orders:
                      - count
                    x-apifox-ignore-properties: []
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
                x-apifox-ignore-properties: []
              example:
                code: 0
                msg: success
                data:
                  count: 4207
          headers: {}
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 401
                msg: Token is required
          headers: {}
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 500
                msg: ''
          headers: {}
      deprecated: false
      security: []
components: {}

````