Spanish Total.js
Deutsch
Dokumentation Für KI-Agenten
Inhalt

Konto

Prüfe das Guthaben deines Tokens.

.md Website
Auf dieser Seite

Jeder Dienst ist eine POST-Anfrage mit deinem Token. Mehr dazu unter Total API aus Total.js aufrufen und Total API über HTTP aufrufen.

API

rest

POST https://api.totaljs.com/check/

Gibt das Guthaben zurück, das auf deinem Token übrig ist.

Rückgabe Object Ein Objekt mit dem Guthaben in credits.

Der Dienst ist kostenlos.

Total.js
var response = await API('TAPI', 'check').promise();
console.log(response.credits);
REST
curl -X POST https://api.totaljs.com/check/ \
	-H "Content-Type: application/json" \
	-H "X-Token: YOUR_TOKEN"
Antwort
{ "credits": 34.49 }
Hergestellt in Europa