# getcredits: Get the Amount of Credits for Api Key

> getcredits (Get the Amount of Credits for Api Key) is a 1001fx API function in the group 1001fx account: POST https://api.1001fx.com/1001fx/getcredits, 0 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Gets the current balance of credits for your API key.

- Group: 1001fx account
- Endpoint: `POST https://api.1001fx.com/1001fx/getcredits`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: no body
- Credits: 0 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/getcredits

## Parameters

This function has no parameters.

## Example: Get credits

```bash
curl -X POST 'https://api.1001fx.com/1001fx/getcredits' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

Answer (HTTP 200):

```json
{
  "result": 1
}
```
