Statistiken

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Erhalten Sie Ihren API-Schlüssel.
anzeigen

API endpoint:

GET
https://4or.de/api/v1/stats/{id}

Beispiel anfordern:

curl --location --request GET 'https://4or.de/api/v1/stats/{id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Beschreibung
name
erforderlich string
Der Name der Statistik. Mögliche Werte sind: browser, cities, clicks, clicks_hour, country, device, language, platform, referrer.
from
erforderlich string
Das Anfangsdatum im Format Y-m-d.
to
erforderlich string
Das Enddatum im Format Y-m-d.
search
optional string
Die Suchanfrage.
search_by
optional string
Suche nach. Mögliche Werte sind: value for Value. Standardwert: url
sort_by
optional string
Sortieren nach. Mögliche Werte sind: count for Count, value for Value. Standardwert: count
sort
optional string
Sortieren. Mögliche Werte sind: desc for Absteigend, asc for Aufsteigend. Standardwert: desc
per_page
optional integer
Ergebnisse pro Seite. Mögliche Werte sind: 10, 25, 50, 100. Standardwert: 100