# Retrieve Credits Status API

**Endpoint:** <mark style="color:yellow;">GET</mark> [**https://irbis.espysys.com/api/request-monitor/credit-stat**](https://irbis.espysys.com/api/request-monitor/credit-stat)

**Purpose:** Retrieve the API usage details for all requests.

**Parameters:**

* **key** (string, required, query): Your unique API key.

**Usage Example:**

```curl
curlCopy codecurl -X 'GET' \
  'https://irbis.espysys.com/api/request-monitor/credit-stat?key=YOUR_API_KEY' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json'
```

**Expected Response**

A successful response provides a JSON object with the following fields:

* **balance**: Remaining balance in decimal format.
* **currency**: Currency symbol for the balance.
* **credits**: Available credit count.
* **expiratioDate**: Expiration date of the credits (ISO 8601 format).
* **status**: Current account status (e.g., "Active").

**Example Response**

```json
jsonCopy code{
  "balance": 316.8,
  "currency": "€",
  "credits": 3168,
  "expiratioDate": "2024-10-20T14:05:47.000Z",
  "status": "Active"
}
```

This endpoint provides an overview of the user’s credit status, supporting effective balance tracking and account management.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.espysys.com/retrieve-credits-status-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
