Next Queries

Created by Lara Menéndez · last update July 26, 2019

Request

To retrieve data from this report, define the request using all the available params and filters detailed in the box. First, ensure you get your token.

GET https://api.empathybroker.com/stats/v2/analysis/{Instance_ID}/NextQueries

Query Parameters

PARAMETER TYPE
start_date Int (ISO 8601 format)
end_date Int (ISO 8601 format)
filters list[str]
min_sessions int
Format parameters str

Bearer Token Get your token

Example Request https://api.empathybroker.com/stats/v2/analysis/{Instance_ID}/NextQueries?start_date=2019-07-10&end_date=2019-07-13


Response

Once the request is performed, the following KPIs are retrieved shaped in json format by default:

  • Ocurrences of each pair of queries in same session.
  • Count of users containing that pair of queries in all their queries history.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310

{
    "data": [
        {
            "query": "zapato",
            "query_next": "sandalia",
            "session_count": 135,
            "user_count": 131
        },
        {
            "query": "bañador",
            "query_next": "bikini",
            "session_count": 123,
            "user_count": 120
        },
        {
            "query": "sandalia",
            "query_next": "zapato",
            "session_count": 111,
            "user_count": 108
        },
        {
            "query": "bikini",
            "query_next": "bañador",
            "session_count": 96,
            "user_count": 90
        },
        {
            "query": "vestido",
            "query_next": "mono",
            "session_count": 77,
            "user_count": 73
        },
        {
            "query": "terlik",
            "query_next": "sandaletler",
            "session_count": 69,
            "user_count": 68
        },
        {
            "query": "обувь",
            "query_next": "сандалии",
            "session_count": 67,
            "user_count": 61
        },
        {
            "query": "deporte",
            "query_next": "leggings",
            "session_count": 64,
            "user_count": 60
        },
        {
            "query": "bañador",
            "query_next": "bañador moldeador",
            "session_count": 57,
            "user_count": 56
        },
        {
            "query": "calzado",
            "query_next": "sandalia",
            "session_count": 55,
            "user_count": 55
        },
        {
            "query": "bolso",
            "query_next": "bolso playa",
            "session_count": 53,
            "user_count": 52
        },
        {
            "query": "sandalia",
            "query_next": "sandalia plana",
            "session_count": 49,
            "user_count": 47
        },
        {
            "query": "bolso",
            "query_next": "bolsa",
            "session_count": 49,
            "user_count": 49
        },
        {
            "query": "sandalia",
            "query_next": "sandalia cuña",
            "session_count": 44,
            "user_count": 42
        },
        {
            "query": "sandalia",
            "query_next": "calzado",
            "session_count": 44,
            "user_count": 44
        },
        {
            "query": "zapato",
            "query_next": "zapato cuña cuña",
            "session_count": 43,
            "user_count": 42
        },
        {
            "query": "bra",
            "query_next": "bralette",
            "session_count": 43,
            "user_count": 36
        },
        {
            "query": "le",
            "query_next": "leggings",
            "session_count": 42,
            "user_count": 41
        },
        {
            "query": "water",
            "query_next": "watersports",
            "session_count": 41,
            "user_count": 41
        },
        {
            "query": "bikini",
            "query_next": "bikini sujetador",
            "session_count": 41,
            "user_count": 39
        },
        {
            "query": "mayo",
            "query_next": "bikini",
            "session_count": 40,
            "user_count": 40
        },
        {
            "query": "zapato",
            "query_next": "zapatilla",
            "session_count": 40,
            "user_count": 40
        },
        {
            "query": "leggings",
            "query_next": "deporte",
            "session_count": 40,
            "user_count": 36
        },
        {
            "query": "buty",
            "query_next": "klapki",
            "session_count": 38,
            "user_count": 36
        },
        {
            "query": "ba",
            "query_next": "bañador",
            "session_count": 38,
            "user_count": 36
        },
        {
            "query": "short",
            "query_next": "shorts",
            "session_count": 38,
            "user_count": 37
        },
        {
            "query": "bolso",
            "query_next": "bolso rafia",
            "session_count": 37,
            "user_count": 36
        },
        {
            "query": "pantalone",
            "query_next": "pantalon largo",
            "session_count": 36,
            "user_count": 32
        },
        {
            "query": "mater",
            "query_next": "maternity",
            "session_count": 34,
            "user_count": 32
        },
        {
            "query": "pijama",
            "query_next": "pijama corto",
            "session_count": 32,
            "user_count": 28
        },
        {
            "query": "elbise",
            "query_next": "tulum",
            "session_count": 32,
            "user_count": 30
        },
        {
            "query": "calzado",
            "query_next": "calzado cuña",
            "session_count": 32,
            "user_count": 32
        },
        {
            "query": "vestido",
            "query_next": "zapato",
            "session_count": 31,
            "user_count": 31
        },
        {
            "query": "обувь",
            "query_next": "кроссовки",
            "session_count": 31,
            "user_count": 31
        },
        {
            "query": "брюки",
            "query_next": "штаны",
            "session_count": 30,
            "user_count": 28
        },
        {
            "query": "bañador",
            "query_next": "bañador deportivo",
            "session_count": 30,
            "user_count": 29
        },
        {
            "query": "sandalia",
            "query_next": "sandalia cuña",
            "session_count": 30,
            "user_count": 30
        },
        {
            "query": "leggings",
            "query_next": "sujetador deportivo",
            "session_count": 29,
            "user_count": 27
        },
        {
            "query": "sandalia",
            "query_next": "sandalia tacon",
            "session_count": 28,
            "user_count": 27
        },
        {
            "query": "deporte",
            "query_next": "deporte leggings",
            "session_count": 28,
            "user_count": 26
        },
        {
            "query": "bikini",
            "query_next": "mayo",
            "session_count": 27,
            "user_count": 26
        },
        {
            "query": "bañador moldeador",
            "query_next": "bañador",
            "session_count": 27,
            "user_count": 27
        },
        {
            "query": "scarpe",
            "query_next": "sandali",
            "session_count": 27,
            "user_count": 25
        },
        {
            "query": "сандалии",
            "query_next": "обувь",
            "session_count": 27,
            "user_count": 26
        },
        {
            "query": "платье",
            "query_next": "платья",
            "session_count": 26,
            "user_count": 23
        },
        {
            "query": "elbise",
            "query_next": "pantolon",
            "session_count": 26,
            "user_count": 26
        },
        {
            "query": "chancleta",
            "query_next": "sandalia",
            "session_count": 25,
            "user_count": 25
        },
        {
            "query": "body",
            "query_next": "bañador",
            "session_count": 25,
            "user_count": 23
        },
        {
            "query": "elbise",
            "query_next": "etek",
            "session_count": 25,
            "user_count": 25
        }
    ],
    "params": {
        "site_id": "ebdemo",
        "start_date": 1562716800000,
        "end_date": 1562976000000,
        "filters": [],
        "offset": 0,
        "rows": 50,
        "evol": false,
        "min_sessions": 1
    }
}