> For the complete documentation index, see [llms.txt](https://docs.searchagora.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.searchagora.com/basics/credits.md).

# Credits

GET `/credits`

This endpoint lets you get the available credits on your account.

**Headers**

| Header          | Type   | Description   |
| --------------- | ------ | ------------- |
| `Authorization` | string | Bearer token. |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "status": "success",
    "credits": 2.95,
    "email": "helloworld@gmail.com"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "status": "error",
  "message": "User not found"
}
```

{% endtab %}

{% tab title="500" %}

```json
{
  "status": "error",
  "message": "Failed to fetch credits"
}
```

{% endtab %}
{% endtabs %}
