# Get credit status.

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /credits:
    get:
      summary: Get credit status.
      deprecated: false
      description: >-
        Check current credit usage and remaining credits for all credit types
        (latest tenders, past tenders, and proposals). This endpoint does not
        consume any credits.
      tags:
        - Credits
        - Credits
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{api-key}}
          schema:
            type: string
            default: Bearer {{api-key}}
      responses:
        '200':
          description: Successful response with credit status.
          content:
            application/json:
              schema:
                type: object
                properties:
                  latest_tenders:
                    type: object
                    description: >-
                      Monthly subscription credits for latest tenders (≤3 days
                      old).
                    properties:
                      limit:
                        type: integer
                        description: Maximum allowed latest tenders per month.
                        examples:
                          - 1000
                      used:
                        type: integer
                        description: Number of latest tenders used this month.
                        examples:
                          - 60
                      remaining:
                        type: integer
                        description: Remaining latest tender credits this month.
                        examples:
                          - 940
                    x-apidog-orders:
                      - limit
                      - used
                      - remaining
                  past_tenders:
                    type: object
                    description: One-time purchase credits for past tenders (>3 days old).
                    properties:
                      limit:
                        type: integer
                        description: Total past tender credits purchased.
                        examples:
                          - 10
                      used:
                        type: integer
                        description: Number of past tender credits used (lifetime).
                        examples:
                          - 15
                      remaining:
                        type: integer
                        description: Remaining past tender credits.
                        examples:
                          - 0
                    x-apidog-orders:
                      - limit
                      - used
                      - remaining
                  proposals:
                    type: object
                    description: One-time purchase credits for proposals.
                    properties:
                      limit:
                        type: integer
                        description: Total proposal credits purchased.
                        examples:
                          - 50
                      used:
                        type: integer
                        description: Number of proposal credits used (lifetime).
                        examples:
                          - 0
                      remaining:
                        type: integer
                        description: Remaining proposal credits.
                        examples:
                          - 50
                    x-apidog-orders:
                      - limit
                      - used
                      - remaining
                  reset_date:
                    type: string
                    format: date
                    description: Date when monthly credits reset (YYYY-MM-DD).
                    examples:
                      - '2026-04-01'
                  current_month:
                    type: string
                    description: Current month in YYYY-MM format.
                    examples:
                      - 2026-03
                x-apidog-orders:
                  - latest_tenders
                  - past_tenders
                  - proposals
                  - reset_date
                  - current_month
              example:
                latest_tenders:
                  limit: 1000
                  used: 60
                  remaining: 940
                past_tenders:
                  limit: 10
                  used: 15
                  remaining: 0
                proposals:
                  limit: 50
                  used: 0
                  remaining: 50
                reset_date: '2026-04-01'
                current_month: 2026-03
          headers: {}
          x-apidog-name: ''
        '401':
          description: Unauthorized. The API key is missing or invalid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Unauthorized
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: Credits
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/772525/apis/api-31209533-run
components:
  schemas: {}
  securitySchemes:
    Tenders Alerts:
      type: bearer
      scheme: bearer
    hmacSignature:
      type: apikey
      in: header
      name: X-Webhook-Signature
      description: >-
        HMAC SHA256 signature of the request body using your webhook secret.
        Format: sha256=<hash>
servers:
  - url: https://api.tendersalerts.com/api/integration
    description: Prod Env
security: []

```
