---
title: Daten
project: Total API
version: 2026
section: reference
language: de
license: 
url: https://totaljs.es/docs/de/total-api/2026/reference/data/
updated: 2026-11-20T06:51:47.968Z
---

# Daten

> Finde den Ort von IP-Adressen und schlag Wechselkurse, USt-IdNrn. und das Wetter nach.

Jeder Dienst ist eine `POST`-Anfrage mit deinem Token. Mehr dazu unter [Total API aus Total.js aufrufen](../../guides/call-from-totaljs/) und [Total API über HTTP aufrufen](../../guides/call-over-http/).

## API

### POST https://api.totaljs.com/geoip/

Type: `rest`

Findet den Ort einer IP-Adresse.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `value` | `String` | yes |  | Die IP-Adresse. |

Returns: `Object` Land, Region, Stadt, Koordinaten, Anbieter und Zeitzone der Adresse.

Example: Total.js
```js
var place = await API('TAPI', 'geoip', '78.98.116.204').promise();
```

Example: REST
```bash
curl -X POST https://api.totaljs.com/geoip/ \
	-H "Content-Type: application/json" \
	-H "X-Token: YOUR_TOKEN" \
	-d '{ "value": "78.98.116.204" }'
```

Example: Antwort
```json
{
	"ip": "78.98.116.204",
	"isp": "Slovak Telekom, a.s.",
	"country": "Slovakia",
	"country_code": "SK",
	"region": "Banska Bystrica",
	"region_code": "BC",
	"city": "Banská Bystrica",
	"zip": "974 01",
	"continent": "Europe",
	"continent_code": "EU",
	"lat": 48.804,
	"lng": 19.1363,
	"timezone": "Europe/Bratislava"
}
```

### POST https://api.totaljs.com/exchangerates/

Type: `rest`

Liest die Wechselkurse einer Währung an einem Tag.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `currency` | `String` | no | `EUR` | Die Basiswährung. |
| `date` | `String` | no | `today` | Der Tag, zum Beispiel `2026-11-19`. |

Returns: `Object` Ein Objekt mit einem Kurs für jede Währung.

Die Antwort enthält mehr Währungen, als dieses Beispiel zeigt.

Example: Total.js
```js
var rates = await API('TAPI', 'exchangerates', { currency: 'EUR', date: '2026-11-19' }).promise();
console.log(rates.USD);
```

Example: REST
```bash
curl -X POST https://api.totaljs.com/exchangerates/ \
	-H "Content-Type: application/json" \
	-H "X-Token: YOUR_TOKEN" \
	-d '{ "currency": "EUR", "date": "2026-11-19" }'
```

Example: Antwort
```json
{
	"USD": 1.2109,
	"GBP": 0.9,
	"CHF": 1.0764,
	"CZK": 26.239,
	"PLN": 4.4246,
	"JPY": 126.05
}
```

### POST https://api.totaljs.com/checkvat/

Type: `rest`

Prüft, ob eine Firma in der Europäischen Union umsatzsteuerpflichtig ist.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `value` | `String` | yes |  | Die USt-IdNr., zum Beispiel `SK2120417167`. |

Returns: `Object` Ob die Firma Umsatzsteuer zahlt, den Umsatzsteuersatz ihres Landes, ihren Namen und ihre Adresse.

Der Dienst funktioniert nur mit USt-IdNrn. aus der Europäischen Union. `is` sagt, ob die Firma umsatzsteuerpflichtig ist, und `vat` ist der Umsatzsteuersatz ihres Landes.

Example: Total.js
```js
var company = await API('TAPI', 'checkvat', 'SK2120417167').promise();
```

Example: REST
```bash
curl -X POST https://api.totaljs.com/checkvat/ \
	-H "Content-Type: application/json" \
	-H "X-Token: YOUR_TOKEN" \
	-d '{ "value": "SK2120417167" }'
```

Example: Antwort
```json
{
	"is": true,
	"vat": 20,
	"name": "Total Avengers s. r. o.",
	"address": "Viestova 6784/28\n97401 Banská Bystrica\nSlovensko"
}
```

### POST https://api.totaljs.com/weather/

Type: `rest`

Liest das aktuelle Wetter an einem Ort.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `value` | `String` | yes |  | Der Ort, zum Beispiel `Bratislava`. |

Returns: `Object` Temperatur, Wind, Luftfeuchtigkeit, Luftdruck, Bewölkung, UV-Index und Himmel.

Example: Total.js
```js
var weather = await API('TAPI', 'weather', 'Bratislava').promise();
```

Example: REST
```bash
curl -X POST https://api.totaljs.com/weather/ \
	-H "Content-Type: application/json" \
	-H "X-Token: YOUR_TOKEN" \
	-d '{ "value": "Bratislava" }'
```

Example: Antwort
```json
{
	"name": "Bratislava",
	"temperature": 22,
	"wind": 20.2,
	"humidity": 65,
	"pressure": 1018,
	"cloud": 25,
	"uv": 6,
	"sky": "Partly cloudy"
}
```
