---
updatedAt: 2026-08-24T17:21:03.000Z
agentTools:
  projectIndex: https://dropleads.readme.io/llms.txt
---

# Get Credit Balance

Get the current credit balance from the unified V2 credits table.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Prime-DB V2 & Company V1 API",
    "version": "2.0.0",
    "description": "DropLeads Prime-DB API: search, filter, and enrich B2B contacts and companies. V2 uses a unified credits table, email verification before charging, and no daily limits.",
    "contact": {
      "email": "support@dropleads.io",
      "url": "https://dropleads.io"
    }
  },
  "servers": [
    {
      "url": "https://prime.dropleads.io",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/api/v2/prime-db/credits/balance": {
      "get": {
        "summary": "Get Credit Balance",
        "description": "Get the current credit balance from the unified V2 credits table.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "credits": {
                      "type": "object",
                      "properties": {
                        "availableCredits": {
                          "type": "number",
                          "example": 4999
                        },
                        "paygCredits": {
                          "type": "number",
                          "example": 0
                        },
                        "totalCredits": {
                          "type": "number",
                          "example": 5000
                        },
                        "usePayg": {
                          "type": "boolean"
                        },
                        "totalAvailable": {
                          "type": "number",
                          "example": 4999
                        },
                        "creditRate": {
                          "type": "number",
                          "example": 0.2,
                          "description": "Credits deducted per verified lead."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your Prime-DB API key. Alternatively, send `Authorization: Bearer <token>`."
      }
    }
  }
}
```