ویب سائٹس
GET https://analytics.ipcidr.com/api/websites/
curl --request GET \
--url 'https://analytics.ipcidr.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://analytics.ipcidr.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
| پیرامیٹرز | تفصیلات | تفصیل |
|---|---|---|
| search | اختیاری سٹرنگ | تلاش سٹرنگ۔ |
| search_by | اختیاری سٹرنگ | آپ کس فیلڈ سے تلاش کر رہے ہیں۔ اجازت اقدار: name, host۔ |
| is_enabled | اختیاری عددی | |
| tracking_type | اختیاری سٹرنگ | اجازت اقدار: normal, lightweight |
| domain_id | اختیاری عددی | |
| datetime_field | اختیاری سٹرنگ | اجازت اقدار: datetime, last_datetime |
| datetime_start | اختیاری سٹرنگ | اس تاریخ سے نتائج فلٹر کریں۔ Y-m-d H:i:s فارمیٹ۔ |
| datetime_end | اختیاری سٹرنگ | اس تاریخ تک نتائج فلٹر کریں۔ Y-m-d H:i:s فارمیٹ۔ |
| order_by | اختیاری سٹرنگ | نتائج کو کس فیلڈ سے ترتیب دیں۔ اجازت اقدار: website_id, datetime, last_datetime, name, host, current_month_sessions_events۔ |
| order_type | اختیاری سٹرنگ | نتائج کی ترتیب۔ اجازت اقدار: صعودی ترتیب کے لیے ASC، اور نزولی ترتیب کے لیے DESC۔ |
| page | اختیاری عددی | صفحہ نمبر جس سے آپ نتائج چاہتے ہیں۔ ڈیفالٹ 1۔ |
| results_per_page | اختیاری عددی | فی صفحہ کتنے نتائج چاہیے۔ اجازت اقدار: 10, 25, 50, 100, 250, 500, 1000۔ ڈیفالٹ 25۔ |
{
"data": [
{
"id": 1,
"pixel_key": "1234567890123456",
"name": "Localhost",
"scheme": "https://",
"host": "example.com",
"path": "/",
"tracking_type": "normal",
"excluded_ips": "",
"outbound_clicks_is_enabled": false,
"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": "2026-06-04 01:51:52",
"last_datetime": null
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://analytics.ipcidr.com/api/websites?page=1",
"last": "https://analytics.ipcidr.com/api/websites?page=1",
"next": null,
"prev": null,
"self": "https://analytics.ipcidr.com/api/websites?page=1"
}
}
GET https://analytics.ipcidr.com/api/websites/{website_id}
curl --request GET \
--url 'https://analytics.ipcidr.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://analytics.ipcidr.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": "",
"outbound_clicks_is_enabled": false,
"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": "2026-06-04 01:51:52",
"last_datetime": null
}
}
POST https://analytics.ipcidr.com/api/websites
| پیرامیٹرز | تفصیلات | تفصیل |
|---|---|---|
| domain_id | اختیاری عددی | - |
| name | ضروری سٹرنگ | - |
| scheme | اختیاری سٹرنگ | اجازت اقدار: http://, https:// |
| host | ضروری سٹرنگ | مثال: example.com/path۔ |
| tracking_type | اختیاری سٹرنگ | اجازت اقدار: lightweight, normal |
| excluded_ips | اختیاری سٹرنگ | ٹریکنگ سے IPs مستثنی کریں۔ کاما سے الگ اقدار درج کریں۔ |
| outbound_clicks_is_enabled | اختیاری بولین | |
| events_children_is_enabled | اختیاری بولین | وزٹر ایونٹس ٹریک کریں (ماؤس کلکس، سائز تبدیل، اسکرولز، فارم جمع کرانا)۔ اجازت اقدار: 0 یا 1۔ صرف normal ٹریکنگ قسم کے لیے دستیاب۔ |
| sessions_replays_is_enabled | اختیاری بولین | سیشن ریپلے۔ اجازت اقدار: 0 یا 1۔ صرف normal ٹریکنگ قسم کے لیے دستیاب۔ |
| sessions_replays_hide_text_selector | اختیاری سٹرنگ | |
| email_reports_is_enabled | اختیاری بولین | ای میل رپورٹس۔ اجازت اقدار: 0 یا 1۔ |
| ip_storage_is_enabled | اختیاری بولین | دستیاب جب: tracking_type = normal |
| query_parameters_tracking_is_enabled | اختیاری بولین | - |
| bot_exclusion_is_enabled | اختیاری بولین | - |
| public_statistics_is_enabled | اختیاری بولین | - |
| public_statistics_password | اختیاری سٹرنگ | - |
| is_enabled | اختیاری بولین | - |
curl --request POST \
--url 'https://analytics.ipcidr.com/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
--url 'https://analytics.ipcidr.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://analytics.ipcidr.com/api/websites/{website_id}
| پیرامیٹرز | تفصیلات | تفصیل |
|---|---|---|
| domain_id | اختیاری عددی | - |
| name | اختیاری سٹرنگ | - |
| scheme | اختیاری سٹرنگ | اجازت اقدار: http://, https:// |
| host | اختیاری سٹرنگ | مثال: example.com/path۔ |
| excluded_ips | اختیاری سٹرنگ | ٹریکنگ سے IPs مستثنی کریں۔ کاما سے الگ اقدار درج کریں۔ |
| outbound_clicks_is_enabled | اختیاری بولین | |
| events_children_is_enabled | اختیاری بولین | وزٹر ایونٹس ٹریک کریں (ماؤس کلکس، سائز تبدیل، اسکرولز، فارم جمع کرانا)۔ اجازت اقدار: 0 یا 1۔ صرف normal ٹریکنگ قسم کے لیے دستیاب۔ |
| sessions_replays_is_enabled | اختیاری بولین | سیشن ریپلے۔ اجازت اقدار: 0 یا 1۔ صرف normal ٹریکنگ قسم کے لیے دستیاب۔ |
| sessions_replays_hide_text_selector | اختیاری سٹرنگ | |
| email_reports_is_enabled | اختیاری بولین | ای میل رپورٹس۔ اجازت اقدار: 0 یا 1۔ |
| ip_storage_is_enabled | اختیاری بولین | دستیاب جب: tracking_type = normal |
| query_parameters_tracking_is_enabled | اختیاری بولین | - |
| bot_exclusion_is_enabled | اختیاری بولین | - |
| public_statistics_is_enabled | اختیاری بولین | - |
| public_statistics_password | اختیاری سٹرنگ | - |
| is_enabled | اختیاری بولین | - |
curl --request POST \
--url 'https://analytics.ipcidr.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://analytics.ipcidr.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://analytics.ipcidr.com/api/websites/{website_id}
curl --request DELETE \
--url 'https://analytics.ipcidr.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://analytics.ipcidr.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \