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

# RPS-tier usage snapshot

> Returns your tier, RPS cap, current 60-second window usage, monthly_used (informational only — no monthly cap on Dexploit), and per-feature gate flags. See [Authentication](/authentication#inspecting-your-usage) for the full payload.



## OpenAPI

````yaml /api-reference/openapi.json get /credits
openapi: 3.1.0
info:
  title: Dexploit API
  version: 1.0.0
  description: Real-time and historical Solana DEX swap and OHLCV data.
servers:
  - url: https://api.dexploit.dev
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
  - ApiKeyQuery: []
paths:
  /credits:
    get:
      tags:
        - Account
      summary: RPS-tier usage snapshot
      description: >-
        Returns your tier, RPS cap, current 60-second window usage, monthly_used
        (informational only — no monthly cap on Dexploit), and per-feature gate
        flags. See [Authentication](/authentication#inspecting-your-usage) for
        the full payload.
      operationId: getCredits
      responses:
        '200':
          description: Usage snapshot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditsResponse'
components:
  schemas:
    CreditsResponse:
      type: object
      description: RPS-tier usage snapshot for the authenticated API key.
      properties:
        tier:
          type: string
          enum:
            - free
            - developer
            - pro
            - enterprise
        rps_cap:
          type: integer
          description: Burst cap = `rps_cap × rps_window_secs` per window.
        rps_window_secs:
          type: integer
          example: 60
        current_window_used:
          type: integer
        current_window_remaining:
          type: integer
        current_window_reset_secs:
          type: integer
        monthly_used:
          type: integer
          description: >-
            Cumulative request count this calendar month. Informational only —
            no cap.
        monthly_used_note:
          type: string
          example: informational; no monthly cap on Dexploit
        tier_features:
          type: object
          properties:
            smart_money_access:
              type: boolean
            whales_access:
              type: boolean
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Preferred for swaps-api endpoints (`/swaps/*`, `/stats/*`, `/trending`,
        `/pool-events`).
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every
        other endpoint. Send `Authorization: Bearer ohlcv_live_sk_<your_key>`.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: >-
        Browser-friendly alternative to the Bearer header — accepted by every
        endpoint and required for WebSocket from the browser.

````