ADNUNTIUS
Search…
/location
The locations endpoint will deliver you all the locations that are available in the system.

GET

A GET request can always be filtered by the get parameters defined in the introduction section of the api documentation.
Example GET request:
1
GET https://api.adnuntius.com/api/v1/location?q=Stockholm
Copied!
Example response
1
{
2
"totalHits": 12,
3
"pageStart": 1,
4
"pageEnd": 12,
5
"searchResults": [
6
{
7
"id": 29161987,
8
"type": "CITY",
9
"name": "Stockholm",
10
"context": "South Dakota, United States, North America"
11
},
12
{
13
"id": 2169603,
14
"type": "CITY",
15
"name": "Stockholm",
16
"context": "Wisconsin, United States, North America"
17
},
18
{
19
"id": 1946115,
20
"type": "CITY",
21
"name": "Stockholm",
22
"context": "Maine, United States, North America"
23
},
24
{
25
"id": 23042,
26
"type": "REGION",
27
"name": "Stockholm",
28
"context": "Sweden, Europe"
29
},
30
{
31
"id": 29133315,
32
"type": "CITY",
33
"name": "Stockholm",
34
"context": "Saskatchewan, Canada, North America"
35
},
36
{
37
"id": 1382915,
38
"type": "CITY",
39
"name": "Stockholm",
40
"context": "Minnesota, United States, North America"
41
},
42
{
43
"id": 78595,
44
"type": "CITY",
45
"name": "Stockholm",
46
"context": "Stockholm, Sweden, Europe"
47
},
48
{
49
"id": 34283267,
50
"type": "CITY",
51
"name": "Stockholm",
52
"context": "Skåne, Sweden, Europe"
53
},
54
{
55
"id": 10012419,
56
"type": "CITY",
57
"name": "Stockholm-Bromma",
58
"context": "Stockholm, Sweden, Europe"
59
},
60
{
61
"id": 35823619,
62
"type": "CITY",
63
"name": "Stockholm-Arlanda",
64
"context": "Stockholm, Sweden, Europe"
65
},
66
{
67
"id": 10168067,
68
"type": "CITY",
69
"name": "Stockholm Municipality",
70
"context": "Stockholm, Sweden, Europe"
71
},
72
{
73
"id": 27345923,
74
"type": "CITY",
75
"name": "Stockholm-arlanda",
76
"context": "Stockholm, Sweden, Europe"
77
}
78
],
79
"aggregations": {
80
"types": {
81
"buckets": {
82
"CITY": {
83
"name": "CITY",
84
"filter": "CITY",
85
"count": 11
86
},
87
"REGION": {
88
"name": "REGION",
89
"filter": "REGION",
90
"count": 1
91
}
92
}
93
},
94
"exclusionLabels": {
95
"buckets": {}
96
},
97
"objectState": {
98
"buckets": {}
99
},
100
"lastModifiedIn": {
101
"buckets": {
102
"last24Hours": {
103
"name": "last24Hours",
104
"filter": "last24Hours",
105
"count": 0
106
},
107
"last7Days": {
108
"name": "last7Days",
109
"filter": "last7Days",
110
"count": 0
111
},
112
"last30Days": {
113
"name": "last30Days",
114
"filter": "last30Days",
115
"count": 0
116
}
117
}
118
},
119
"lastModifiedBy": {
120
"buckets": {}
121
},
122
"matchingLabels": {
123
"buckets": {}
124
},
125
"labels": {
126
"buckets": {}
127
}
128
}
Copied!
Last modified 6mo ago
Copy link
Contents
GET