Webseiten

Notes
Expertenebene
Der API-Schlüssel sollte als Bearer-Token im Authorization-Header der Anfrage gesendet werden. API-Schlüssel anfordern.
List

API-Endpunkt:

GET
https://www.webtracking.org/api/v1/websites

Beispiel für eine Anfrage:

curl --location --request GET 'https://www.webtracking.org/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Beschreibung
search
optional string
Search query.
search_by
optional string
Suche nach. Mögliche Werte sind: domain for Domain. Standardmäßig ist: domain.
favorite
optional boolean
Filter by favorite.
sort_by
optional string
Sortieren nach. Mögliche Werte sind: id for Erstellt am, domain for Domain. Standardmäßig ist: id.
sort
optional string
Sort. Mögliche Werte sind: desc for Descending, asc for Ascending. Standardmäßig ist: desc.
per_page
optional integer
Ergebnisse pro Seite. Mögliche Werte sind: 10, 25, 50, 100. Standardmäßig ist: 10.
Show

API-Endpunkt:

GET
https://www.webtracking.org/api/v1/websites/{id}

Beispiel für eine Anfrage:

curl --location --request GET 'https://www.webtracking.org/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API-Endpunkt:

POST
https://www.webtracking.org/api/v1/websites

Beispiel für eine Anfrage:

curl --location --request POST 'https://www.webtracking.org/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'domain={domain}'
Parameter
Type
Beschreibung
domain
required string
Domain name
privacy
optional integer
Datenschutz. Mögliche Werte sind: 0 for Öffentlich, 1 for Privat, 2 for Passwort. Standardmäßig ist: 0.
password
optional string
Passwort. Only works with privacy field set to 2.
email
optional integer
Regelmäßige E-Mail-Berichte. Mögliche Werte sind: 0 for Disabled, 1 for Enabled. Standardmäßig ist: 0.
exclude_bots
optional integer
Gemeinsame Bots von der Verfolgung ausschließen. Mögliche Werte sind: 0 for Disabled, 1 for Enabled. Standardmäßig ist: 1.
exclude_params
optional string
Exclude URL query parameters from being tracked. Eine pro Zeile.
exclude_ips
optional string
IPs vom Tracking ausschließen. Eine pro Zeile..
Update

API-Endpunkt:

PUT PATCH
https://www.webtracking.org/api/v1/websites/{id}

Beispiel für eine Anfrage:

curl --location --request PUT 'https://www.webtracking.org/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Beschreibung
privacy
optional integer
Datenschutz. Mögliche Werte sind: 0 for Öffentlich, 1 for Privat, 2 for Passwort.
password
optional string
Passwort. Only works with privacy field set to 2.
email
optional integer
Regelmäßige E-Mail-Berichte. Mögliche Werte sind: 0 for Disabled, 1 for Enabled.
exclude_bots
optional integer
Gemeinsame Bots von der Verfolgung ausschließen. Mögliche Werte sind: 0 for Disabled, 1 for Enabled.
exclude_params
optional string
Exclude URL query parameters from being tracked. Eine pro Zeile.
exclude_ips
optional string
IPs vom Tracking ausschließen. Eine pro Zeile..
favorite
optional boolean
Favoriten.
Löschen

API-Endpunkt:

DELETE
https://www.webtracking.org/api/v1/websites/{id}

Beispiel für eine Anfrage:

curl --location --request DELETE 'https://www.webtracking.org/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'