Site-uri web
GET https://statistice.com/api/websites/
curl --request GET \
--url 'https://statistice.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://statistice.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Număr întreg | Numărul paginii de la care dorești rezultatele. Implicit este 1. |
| results_per_page | Opțional Număr întreg | Câte rezultate dorești pe pagină. Valorile permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este setat la 25. |
{
"data": [
{
"id": 1,
"pixel_key": "1234567890123456",
"name": "Localhost",
"scheme": "https://",
"host": "example.com",
"path": "/",
"tracking_type": "normal",
"excluded_ips": "",
"events_children_is_enabled": false,
"sessions_replays_is_enabled": false,
"email_reports_is_enabled": false,
"email_reports_last_date": "2020-06-23 19:01:22",
"bot_exclusion_is_enabled": true,
"query_parameters_tracking_is_enabled": true,
"ip_storage_is_enabled": false,
"public_statistics_is_enabled": false,
"public_statistics_password": false,
"is_enabled": true,
"datetime": "2025-12-07 04:24:26"
"last_datetime": null
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://statistice.com/api/websites?&page=1",
"last": "https://statistice.com/api/websites?&page=1",
"next": null,
"prev": null,
"self": "https://statistice.com/api/websites?&page=1"
}
}
GET https://statistice.com/api/websites/{website_id}
curl --request GET \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"pixel_key": "1234567890123456",
"name": "Localhost",
"scheme": "https://",
"host": "example.com",
"path": "/",
"tracking_type": "normal",
"excluded_ips": "",
"events_children_is_enabled": false,
"sessions_replays_is_enabled": false,
"email_reports_is_enabled": false,
"email_reports_last_date": "2020-06-23 19:01:22",
"bot_exclusion_is_enabled": true,
"query_parameters_tracking_is_enabled": true,
"ip_storage_is_enabled": false,
"public_statistics_is_enabled": false,
"public_statistics_password": false,
"is_enabled": true,
"datetime": "2025-12-07 04:24:26"
"last_datetime": null
}
}
POST https://statistice.com/api/websites
| Parametri | Detalii | Descriere |
|---|---|---|
| name | Necesar Șir | - |
| scheme | Opțional Șir | Valori permise: http://, https:// |
| host | Necesar Șir | Exemplu: exemplu.com/calea. |
| tracking_type | Opțional Șir | Valori permise: lightweight, normal |
| excluded_ips | Opțional Șir | Exclude IP-uri din urmărire. Introduceți valorile separate prin virgulă. |
| events_children_is_enabled | Opțional Boolean | Urmăriți evenimentele vizitatorilor (clicuri de mouse, redimensionări, derulări, trimiterea formularelor). Valorile permise sunt: 0 sau 1. Disponibil doar pentru tipul de urmărire normal. |
| sessions_replays_is_enabled | Opțional Boolean | Reînregistrări de sesiune. Valorile permise sunt: 0 sau 1. Disponibil doar pentru tipul de urmărire normal. |
| email_reports_is_enabled | Opțional Boolean | Rapoarte prin email. Valorile permise sunt: 0 sau 1. |
| ip_storage_is_enabled | Opțional Boolean | Disponibil când: tracking_type = normal |
| query_parameters_tracking_is_enabled | Opțional Boolean | - |
| bot_exclusion_is_enabled | Opțional Boolean | - |
| public_statistics_is_enabled | Opțional Boolean | - |
| public_statistics_password | Opțional Șir | - |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://statistice.com/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
--url 'https://statistice.com/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
{
"data": {
"id": 1
}
}
POST https://statistice.com/api/websites/{website_id}
| Parametri | Detalii | Descriere |
|---|---|---|
| name | Opțional Șir | - |
| scheme | Opțional Șir | Valori permise: http://, https:// |
| host | Opțional Șir | Exemplu: exemplu.com/calea. |
| excluded_ips | Opțional Șir | Exclude IP-uri din urmărire. Introduceți valorile separate prin virgulă. |
| events_children_is_enabled | Opțional Boolean | Urmăriți evenimentele vizitatorilor (clicuri de mouse, redimensionări, derulări, trimiterea formularelor). Valorile permise sunt: 0 sau 1. Disponibil doar pentru tipul de urmărire normal. |
| sessions_replays_is_enabled | Opțional Boolean | Reînregistrări de sesiune. Valorile permise sunt: 0 sau 1. Disponibil doar pentru tipul de urmărire normal. |
| email_reports_is_enabled | Opțional Boolean | Rapoarte prin email. Valorile permise sunt: 0 sau 1. |
| ip_storage_is_enabled | Opțional Boolean | Disponibil când: tracking_type = normal |
| query_parameters_tracking_is_enabled | Opțional Boolean | - |
| bot_exclusion_is_enabled | Opțional Boolean | - |
| public_statistics_is_enabled | Opțional Boolean | - |
| public_statistics_password | Opțional Șir | - |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'is_enabled=0' \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://statistice.com/api/websites/{website_id}
curl --request DELETE \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://statistice.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \