# Konto und Guthaben

> AfricaProxies-API: Kontodaten, vorausbezahltes USD-Guthaben und Kontobewegungen. Parameter, Beispielantworten sowie curl-, Python- und Node.js-Code.

- URL: https://africaproxies.com/de/docs/api/account/
- Zuletzt aktualisiert: 2026-10-15
- Herausgeber: AfricaProxies (https://africaproxies.com)

Lies deine Kontoeinstellungen, dein vorausbezahltes USD-Guthaben und jede Kontobewegung (Aufladungen, Käufe, Erstattungen).

**Endpunkte auf dieser Seite**

- `GET /v1/account`: Aktuelles Konto abrufen
- `GET /v1/balance`: Aktuelles vorausbezahltes Guthaben
- `GET /v1/balance/transactions`: Kontobewegungen

Basis-URL `https://africaproxies.com/api/v1`. Authentifizierung, Fehler und Limits: siehe [API-Übersicht](/de/docs/api/).

## Aktuelles Konto abrufen

`GET /v1/account`

Authentifizierung: API Schlüssel im `Authorization: Bearer API_KEY` Header.

**Antwort** `200 OK`

```json
{
  "accountNumber": "4821773009125564",
  "createdAt": "2026-10-05T09:12:44Z",
  "email": null,
  "emailVerified": false,
  "hasPassword": false,
  "twoFactorEnabled": false,
  "lang": "en",
  "currency": "USD",
  "balance": "0.00",
  "referralCode": "K7Q2MX",
  "status": "active",
  "notifications": {
    "paymentReceipts": true,
    "lowTraffic": true,
    "expiryReminders": true,
    "productNews": false
  },
  "recoveryCodesRemaining": 0
}
```

*curl*

```bash
curl -s "https://africaproxies.com/api/v1/account" \
  -H "Authorization: Bearer $API_KEY"
```

*Python*

```python
import os
import requests

API = "https://africaproxies.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/account", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
```

*Node.js*

```javascript
// Node.js 18+ (built-in fetch), ES module
const API = 'https://africaproxies.com/api/v1';

const res = await fetch(`${API}/account`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());
```

## Aktuelles vorausbezahltes Guthaben

`GET /v1/balance`

Authentifizierung: API Schlüssel im `Authorization: Bearer API_KEY` Header.

**Antwort** `200 OK`

```json
{
  "balance": "29.00",
  "currency": "USD"
}
```

*curl*

```bash
curl -s "https://africaproxies.com/api/v1/balance" \
  -H "Authorization: Bearer $API_KEY"
```

*Python*

```python
import os
import requests

API = "https://africaproxies.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/balance", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
```

*Node.js*

```javascript
// Node.js 18+ (built-in fetch), ES module
const API = 'https://africaproxies.com/api/v1';

const res = await fetch(`${API}/balance`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());
```

## Kontobewegungen

`GET /v1/balance/transactions`

Authentifizierung: API Schlüssel im `Authorization: Bearer API_KEY` Header.

**Parameter**

| Name | In | Typ | Erforderlich | Beschreibung |
| --- | --- | --- | --- | --- |
| `page` | query | integer | Nein | ≥ 1, Standard `1` |
| `perPage` | query | integer | Nein | 1–100, Standard `20` |
| `type` | query | `top_up` · `purchase` · `refund` · `referral_payout` · `adjustment` | Nein | — |

**Antwort** `200 OK`

```json
{
  "data": [
    {
      "id": "txn_2k9d1m",
      "type": "top_up",
      "amount": "29.00",
      "balanceAfter": "29.00",
      "description": "Top-up · USDT · Tron (TRC-20)",
      "createdAt": "2026-10-05T14:03:11Z",
      "orderId": null,
      "topUpId": "top_7d2kq9x1"
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 20,
    "total": 1,
    "totalPages": 1
  }
}
```

*curl*

```bash
curl -s "https://africaproxies.com/api/v1/balance/transactions" \
  -H "Authorization: Bearer $API_KEY"
```

*Python*

```python
import os
import requests

API = "https://africaproxies.com/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['API_KEY']}"}

r = requests.get(f"{API}/balance/transactions", headers=HEADERS, timeout=30)
r.raise_for_status()
print(r.json())
```

*Node.js*

```javascript
// Node.js 18+ (built-in fetch), ES module
const API = 'https://africaproxies.com/api/v1';

const res = await fetch(`${API}/balance/transactions`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error?.message ?? `HTTP ${res.status}`);
console.log(await res.json());
```

---

AfricaProxies: AfricaProxies ist ein Anbieter von Residential Proxys für Subsahara-Afrika, mit Kryptozahlung und ohne Hochladen eines Ausweises.
