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

# Get Credit Balance

> This endpoint returns the number of credits you can currently spend with the API key used for the request. If a consumption limit is set on that key, the balance is capped by the credits remaining under the limit.



## OpenAPI

````yaml api/v2/reference/openapi.yaml GET /account/credits
openapi: 3.1.0
info:
  title: FullEnrich API Documentation
  version: 2.0.0
  description: >
    FullEnrich API enables you to enrich B2B contacts with emails and phone
    numbers using data from 20+ providers.


    We are GDPR and CCPA compliant.
servers:
  - url: https://app.fullenrich.com/api/v2
security: []
paths:
  /account/credits:
    get:
      summary: Get Current Balance
      description: >-
        This endpoint returns the number of credits you can currently spend with
        the API key used for the request. If a consumption limit is set on that
        key, the balance is capped by the credits remaining under the limit.
      operationId: getAccountCredits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                AuthorizationHeaderNotSet:
                  value:
                    code: error.authorization.not_set
                    message: Authorization headers not set
                AuthorizationHeaderNotAnBearer:
                  value:
                    code: error.authorization.not_bearer
                    message: Authorization headers do not have prefix 'bearer'
                UnknownApiKey:
                  value:
                    code: error.api.key
                    message: Unknown api key
        '404':
          description: Workspace ID not found
      security:
        - BearerAuth: []
components:
  schemas:
    Credits:
      type: object
      properties:
        balance:
          type: number
          format: double
          description: >-
            Number of credits you can currently spend with this API key. Equals
            the workspace credit balance, or the credits remaining under the
            consumption limit set on the key if that is lower. Never negative.
          examples:
            - 5000
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.