• DeutschEnglish

ipInfo

Key

Format

CND

Beschreibung

ipAddress

string

M

IP-Adresse

country

object

M

Land der IP-Herkunft

state

string

C

Bundesstaaten und Provinzen (das ist die erste Ebene der administrativen Gliederung) in allen Ländern, wo es sie gibt

city

string

M

Stadt in lokaler Schreibweise

longitude

string

M

Geographische Länge des ermittelten Ortes als Gleitkommazahl im Bereich von -180 to 180, wobei positive Zahlen Osten und negative Zahlen West bedeuten

latitude

string

M

Geographische Breite des ermittelten Ortes als Gleitkommazahl im Bereich von -90 to 90, wobei positive Zahlen Norden und negative Zahlen Süden bedeiten. Breite und Länge werden von der Stadt oder der Postleitzahl ausgehend ermittelt.

Schema

BASEURL= https://www.computop-paygate.com/schemas

1
{
2
"$schema": "http://json-schema.org/draft-07/schema#",
3
"$id": "BASEURL/ipInfo.json",
4
"title": "ipInfo",
5
"description": "IP Information",
6
"type": "object",
7
"properties": {
8
"ipAddress": {
9
"type": "string",
10
"oneOf": [{"format": "ipv4"},{"format": "ipv6"}]
11
},
12
"country": {
13
"type": "object",
14
"properties": {
15
"countryName": {
16
"type": "string"
17
},
18
"countryA2": {
19
"type": "string",
20
"minLength": 2,
21
"maxLength": 2
22
},
23
"countryA3": {
24
"type": "string",
25
"minLength": 3,
26
"maxLength": 3
27
},
28
"countryNumber": {
29
"type": "string",
30
"minLength": 3,
31
"maxLength": 3
32
}
33
},
34
"required": ["countryName", "countryA2", "countryA3", "countryNumber"],
35
"additionalproperties": false
36
},
37
"state": {
38
"type": "string"
39
},
40
"city": {
41
"type": "string"
42
},
43
"longitude": {
44
"type": "string"
45
},
46
"latitude": {
47
"type": "string"
48
}
49
},
50
"required": ["ipAddress", "country", "city", "longitude", "latitude"],
51
"additionalproperties": false
52
}

Beispiel

1
{
2
"ipAddress": "178.37.173.82",
3
"country": {
4
"countryName": "poland",
5
"countryA2": "pl",
6
"countryA3": "pol",
7
"countryNumber": "616"
8
},
9
"state": "wielkopolskie",
10
"city": "poznan",
11
"longitude": "16.83739",
12
"latitude": "52.4136"
13
}

Paygate

Documentation (EN)

Dokumentation (DE)

Paygate Status