{"info":{"_postman_id":"f35fb4ec-6f85-4602-ab06-5a50b4f148b7","name":"Moonito API","description":"<html><head></head><body><p>Welcome to the Moonito API Documentation</p>\n<p>Moonito is a platform or service designed to help analyze website visitors and also combat unwanted or malicious activities at the same time. It can be used to help you make decisions based on website visitor data and also help protect websites and applications from bot attacks, data scraping, violence and other unwanted activities. Our service uses various techniques and algorithms to identify suspicious activity from your website visitors.</p>\n<p>Following are some of the prerequisites for using the Moonito API</p>\n<p><strong>Steps to get started:</strong></p>\n<ul>\n<li>Base API URL: <strong>https://moonito.net/api/v1</strong></li>\n<li>You can get the API Public Key and API Secret Key from the Member Area <strong>Integration &gt; API Key &amp; Apps</strong></li>\n</ul>\n<h4 id=\"response-code\">Response Code</h4>\n<p><strong>200</strong> Success</p>\n<p><strong>401</strong> Unauthorized</p>\n<p><strong>403</strong> Forbidden</p>\n<p><strong>400</strong> Invalid Fields or Inputs</p>\n<p><strong>429</strong> Too Many Requests</p>\n<p><strong>500</strong> Server Error</p>\n<h4 id=\"example-error-response\">Example Error Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": {\n        \"code\": \"UNAUTHORIZED_ERROR\",\n        \"message\": \"Invalid credentials.\"\n    },\n    \"meta\": {\n        \"code\": 401,\n        \"message\": \"Unauthorized\"\n    }\n}\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31673361","collectionId":"f35fb4ec-6f85-4602-ab06-5a50b4f148b7","publishedId":"2s9YkgCQUJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"7367F0"},"publishDate":"2023-12-08T00:51:17.000Z"},"item":[{"name":"Profile","item":[{"name":"Profile","id":"d1134d21-f45e-4348-b712-58bb92bdc0b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/profile","description":"<p>Endpoint profiles are useful for checking the status of your API Key and profile details related to the API Key such as package information and the number of requests that are still available.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/profile',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["profile"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"1ecd71ec-d0f7-489f-8efe-6b8aa23afdb7","name":"Profile","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":"https://moonito.net/api/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 07:53:29 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"first_name\": \"Jhon\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john@example.com\",\n        \"plan\": {\n            \"name\": \"Essential\",\n            \"expires_on\": \"31 Dec 2023, 12:00 pm (23 days remaining)\",\n            \"domains\": {\n                \"limit\": 5,\n                \"remaining\": 3,\n                \"used\": 2\n            },\n            \"requests\": {\n                \"limit\": 60000,\n                \"remaining\": 59815,\n                \"used\": 185\n            },\n            \"monthly_recordings\": {\n                \"limit\": 150000,\n                \"remaining\": 149831,\n                \"used\": 169\n            }\n        }\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"d1134d21-f45e-4348-b712-58bb92bdc0b2"},{"name":"Get Logs","id":"639b8ac1-ea49-40ce-85cb-10ed166b0d55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/profile/logs?page=1&limit=15","description":"<p>Get all the history of changes and actions performed by the user.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n    'action' =&gt; '',\n    'ip' =&gt; '',\n    'date_from' =&gt; '',\n    'date_to' =&gt; '',\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/profile/logs?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["profile","logs"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Optional] Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[Optional] Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>[Optional] Keyword that maybe contain in action</p>\n","type":"text/plain"},"key":"action","value":""},{"disabled":true,"description":{"content":"<p>[Optional] IP address</p>\n","type":"text/plain"},"key":"ip","value":""},{"disabled":true,"description":{"content":"<p>[Optional] Date with format Y-m-d H:i</p>\n","type":"text/plain"},"key":"date_from","value":""},{"disabled":true,"description":{"content":"<p>[Optional] Date with format Y-m-d H:i</p>\n","type":"text/plain"},"key":"date_to","value":""}],"variable":[]}},"response":[{"id":"8284de30-354c-4932-bc53-696f7ea16176","name":"Get Logs","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"[Required] Your API Public Key"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"[Required] Your API Secret Key"}],"url":{"raw":"https://moonito.net/api/v1/profile/logs","host":["https://moonito.net/api/v1"],"path":["profile","logs"],"query":[{"key":"page","value":"1","description":"[Optional] Numeric","disabled":true},{"key":"limit","value":"15","description":"[Optional] Numeric, default is 15","disabled":true},{"key":"action","value":"","description":"[Optional] Keyword that maybe contain in action","disabled":true},{"key":"ip","value":null,"description":"[Optional] IP address","disabled":true},{"key":"date_from","value":null,"description":"[Optional] Date with format Y-m-d H:i","disabled":true},{"key":"date_to","value":null,"description":"[Optional] Date with format Y-m-d H:i","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 10:18:43 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"b99bc973-95ce-4a55-868f-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:35:04 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"89c863e7-c91c-49f4-9d5c-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:35:01 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"fc6be61a-02dd-4932-ae94-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:34:20 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"14d29812-fb57-4ef0-98d5-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:33:57 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"36c2b414-2062-4a38-bd69-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:33:48 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"f86972b3-8074-4c21-bcf4-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:33:40 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"4983a765-6811-42e9-959e-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:32:50 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"96dadf12-dcdf-4454-9999-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:32:28 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"4878cd4d-422f-42df-81ee-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:32:06 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"147a0b93-34a9-45b0-af98-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:29:46 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"82f091e5-b22a-4668-bf5a-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:29:20 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"2b6c06e5-4e78-4232-a46a-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:29:18 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"32772c8e-aa2d-4c5a-bd39-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:29:17 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"7be08f1c-6419-4dcd-aaa0-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:29:15 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"9aa0884b-9557-4347-81af-xxxxxxxxxxxx\",\n            \"date\": \"20 Jul 2023, 11:28:48 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"127.0.0.1\",\n            \"browser\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        }\n    ],\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 749,\n            \"per_page\": 15,\n            \"last_page\": 50\n        }\n    }\n}"}],"_postman_id":"639b8ac1-ea49-40ce-85cb-10ed166b0d55"}],"id":"24042ab8-e015-4682-82f3-4b1c9aa4b138","_postman_id":"24042ab8-e015-4682-82f3-4b1c9aa4b138","description":""},{"name":"Smart Analytics","item":[{"name":"Smart Analytics","id":"6d1ca914-b45b-430e-aaf9-2f9df20079a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://moonito.net/api/v1/analytics?domain=example.com&ip=8.8.8.8&ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&events=/login","description":"<p>This API endpoint is designed to retrieve comprehensive information about visitors, encompassing details such as their IP address, User-Agent information, and detection status. It provides valuable insights into the authenticity of the visitor, helping to discern whether they are a genuine visitor or potentially suspicious.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Client IP Address Retrieval\nif (isset($_SERVER[\"HTTP_CF_CONNECTING_IP\"])) {\n  $_SERVER['REMOTE_ADDR'] = $_SERVER[\"HTTP_CF_CONNECTING_IP\"];\n  $_SERVER['HTTP_CLIENT_IP'] = $_SERVER[\"HTTP_CF_CONNECTING_IP\"];\n}\n$ip_address = filter_var($_SERVER['HTTP_CLIENT_IP'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP) ?? '';\n// Query parameters\n$query_params = array(\n    'ip' =&gt; $ip_address, // Visitor IP Address\n    'ua' =&gt; urlencode($_SERVER['HTTP_USER_AGENT']), // Visitor User-Agent\n    'events' =&gt; urlencode($_SERVER['REQUEST_URI']), // Visitor Request URI\n    'domain' =&gt; strtolower($_SERVER['HTTP_HOST']), // Your Registered Domain in Dashboard\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Your domain that you have added to the dashboard.</p>\n","type":"text/plain"},"key":"domain","value":"example.com"},{"description":{"content":"<p>[Required] Specify the visitor IP address to be looked up.</p>\n","type":"text/plain"},"key":"ip","value":"8.8.8.8"},{"description":{"content":"<p>[Required] Specify the visitor User-Agent string to be looked up.</p>\n","type":"text/plain"},"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"description":{"content":"<p>[Optional] Specify the URL opened by the visitor (For example you can use the REQUEST_URI from your website).</p>\n","type":"text/plain"},"key":"events","value":"/login"}],"variable":[]}},"response":[{"id":"eb8f4ac9-542e-45e0-b727-803887437b13","name":"Analytics","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/analytics?domain=example.com&ip=1.1.1.1&ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&events=/login","host":["https://moonito.net/api/v1"],"path":["analytics"],"query":[{"key":"domain","value":"example.com","description":"[Required] Your domain that you have added to the dashboard."},{"key":"ip","value":"1.1.1.1","description":"[Required] Specify the visitor IP address to be looked up."},{"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","description":"[Required] Specify the visitor User-Agent string to be looked up."},{"key":"events","value":"/login","description":"[Optional] Specify the URL opened by the visitor (For example you can use the REQUEST_URI from your website)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Wed, 22 Nov 2023 01:30:25 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2996"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ip_lookup\": {\n            \"ip\": \"8.8.8.8\",\n            \"type\": \"IPv4\",\n            \"hostname\": \"dns.google\",\n            \"city\": \"Mountain View\",\n            \"region\": \"California\",\n            \"country\": \"US\",\n            \"latitude\": 37.4223,\n            \"longitude\": -122.085,\n            \"asn\": 15169,\n            \"company\": \"Level 3\",\n            \"connection_type\": \"Corporate\",\n            \"isp\": \"Google LLC\",\n            \"postal\": \"94043\",\n            \"timezone\": \"America/Los_Angeles\"\n        },\n        \"browser_lookup\": {\n            \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n            \"device\": {\n                \"is_mobile\": false,\n                \"type\": \"desktop\",\n                \"subtype\": null,\n                \"brand\": null,\n                \"model\": null,\n                \"series\": null,\n                \"carrier\": null,\n                \"identifier\": null,\n                \"generic\": true,\n                \"hidden\": false\n            },\n            \"browser\": {\n                \"type\": \"browser\",\n                \"name\": \"Chrome\",\n                \"alias\": null,\n                \"version\": \"119.0.0.0\",\n                \"builds\": null,\n                \"engine\": \"Blink\",\n                \"hidden\": false\n            },\n            \"os\": {\n                \"name\": \"Windows\",\n                \"alias\": null,\n                \"version\": \"10.0\",\n                \"builds\": null,\n                \"family\": null,\n                \"edition\": null,\n                \"hidden\": false\n            },\n            \"is_crawler\": false\n        },\n        \"status\": {\n            \"is_bot\": true,\n            \"need_to_block\": true,\n            \"threat\": {\n                \"is_threat\": false,\n                \"threat_detail\": null,\n                \"events\": \"/login\"\n            },\n            \"detect_activity\": \"BLOCKED (Proxy/VPN/Tor)\"\n        }\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"6d1ca914-b45b-430e-aaf9-2f9df20079a4"},{"name":"Add Domain","id":"abf6331d-959a-45d1-ad54-aa6c662393d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"example.com\",\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1,\n    \"allowed_device\": 1,\n    \"allowed_country\": [\"US\", \"CA\"],\n    \"enable_custom_rules\": true,\n    \"enable_fraud_check\": false,\n    \"enable_rate_limiting\": true,\n    \"clicks_per_day\": 10,\n    \"click_counter\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/analytics","description":"<p>This API endpoint is a POST request used to add a new analytics domain. The request should include the following parameters in the raw JSON request body:</p>\n<ul>\n<li><p><code>domain</code> (string): The domain for which the analytics data is being sent.</p>\n</li>\n<li><p><code>enable_security</code> (boolean): A flag to enable or disable security measures.</p>\n</li>\n<li><p><code>allow_search_engines</code> (boolean): A flag to allow or disallow search engines.</p>\n</li>\n<li><p><code>block_proxy</code> (boolean): A flag to block or allow proxy servers.</p>\n</li>\n<li><p><code>block_bad_ips</code> (boolean): A flag to block or allow bad IPs.</p>\n</li>\n<li><p><code>block_non_isp</code> (boolean): A flag to block or allow non-ISP traffic.</p>\n</li>\n<li><p><code>block_crawler</code> (boolean): A flag to block or allow web crawlers.</p>\n</li>\n<li><p><code>block_blacklisted_ips</code> (boolean): A flag to block or allow blacklisted IPs.</p>\n</li>\n<li><p><code>block_blacklisted_hostnames</code> (boolean): A flag to block or allow blacklisted hostnames.</p>\n</li>\n<li><p><code>enable_firewall</code> (boolean): A flag to enable or disable the firewall.</p>\n</li>\n<li><p><code>security_level</code> (integer): The security level to be set (1 = Low, 2 = Medium, 3 = High).</p>\n</li>\n<li><p><code>allowed_device</code> (integer): The type of allowed devices (1 = Any Device, 2 = Only Mobile, 3 = Only Desktop).</p>\n</li>\n<li><p><code>allowed_country</code> (array of strings): The list of allowed countries. Set to \"null\" if all countries are allowed.</p>\n</li>\n<li><p><code>enable_custom_rules</code> (boolean): Enable and disable custom rules.</p>\n</li>\n<li><p><code>enable_fraud_check</code> (boolean): Enable and disable fraud check.</p>\n</li>\n<li><p><code>enable_rate_limiting</code> (boolean): Enable and disable rate limiting.</p>\n</li>\n<li><p><code>clicks_per_day</code> (integer): Number of clicks from the same visitor per day.</p>\n</li>\n<li><p><code>click_counter</code> (integer): Specify the limitation filter (1 = Limit by IP address only, 2 = Limit by IP address + events/pages accessed by the visitor).</p>\n</li>\n</ul>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'domain' =&gt; 'example.com',\n    'enable_security' =&gt; true,\n    'allow_search_engines' =&gt; false,\n    'block_proxy' =&gt; true,\n    'block_bad_ips' =&gt; true,\n    'block_non_isp' =&gt; true,\n    'block_crawler' =&gt; true,\n    'block_blacklisted_ips' =&gt; true,\n    'block_blacklisted_hostname' =&gt; true,\n    'enable_firewall' =&gt; true,\n    'enable_rate_limiting' =&gt; true,\n    'clicks_per_day' =&gt; 10,\n    'click_counter' =&gt; 1,\n    'security_level' =&gt; 1,\n    'allowed_device' =&gt; 1,\n    'allowed_country' =&gt; array('US', 'CA'),\n    'enable_custom_rules' =&gt; true,\n    'enable_fraud_check' =&gt; false,\n    'enable_rate_limiting' =&gt; true,\n    'clicks_per_day' =&gt; 10,\n    'click_counter' =&gt; 1,\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"6e424d5d-84c6-4670-a64e-9c698b8515ec","name":"Add Domain","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"example.com\",\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1, // 1 = Low, 2 = Medium, 3 = High\n    \"allowed_device\": 1, // 1 = Any Device, 2 = Only Mobile, 3 = Only Desktop\n    \"allowed_country\": [\"US\", \"CA\"], // Set to \"null\" if you want to allow all country\n    \"enable_custom_rules\": true, // Enable and disable custom rules\n    \"enable_fraud_check\": false, // Enable and disable fraud check\n    \"enable_rate_limiting\": true, // Enable and disable rate limiting\n    \"clicks_per_day\": 10, // Number of clicks from the same visitor per day\n    \"click_counter\": 1 // 1 = Limit by IP, 2 = Limit by IP & Event/Page\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/analytics"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"is_verified\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"abf6331d-959a-45d1-ad54-aa6c662393d4"},{"name":"Get Domain Config","id":"cdd1729e-2ef4-4eef-b8ad-53ff90ea2456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/analytics/:domain","description":"<p>This API endpoint allows you to retrieve analytics configuration information for a domain you own using a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your domain registered at analytics page\n$domain = 'example.com';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics/' . $domain,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics",":domain"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Please provide the domain that has already been registered on the analytics pages.</p>\n","type":"text/plain"},"type":"any","value":"example.com","key":"domain"}]}},"response":[{"id":"ba715eef-9c36-4d6d-a7db-7d7ace527357","name":"Get Domain Config","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/analytics/:domain","protocol":"https","host":["moonito","net"],"path":["api","v1","analytics",":domain"],"variable":[{"key":"domain","value":"example.com","description":"[Required] Please provide the domain that has already been registered on the analytics pages."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"is_verified\": true,\n        \"allowed_device\": \"Any Device\",\n        \"allowed_country\": null,\n        \"enable_security\": true,\n        \"allow_search_engines\": true,\n        \"block_proxy\": true,\n        \"block_bad_ips\": true,\n        \"block_non_isp\": true,\n        \"block_crawler\": true,\n        \"block_blacklisted_ips\": true,\n        \"block_blacklisted_hostnames\": true,\n        \"enable_firewall\": true,\n        \"security_level\": \"Low\",\n        \"enable_custom_rules\": true,\n        \"enable_fraud_check\": false,\n        \"enable_rate_limiting\": true,\n        \"clicks_per_day\": 10,\n        \"click_counter\": 1,\n        \"status\": \"Active\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"cdd1729e-2ef4-4eef-b8ad-53ff90ea2456"},{"name":"Edit Domain Config","id":"f8ccc93c-8c7a-4fa0-9734-d4ce723e08c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": false,\n    \"security_level\": 1,\n    \"allowed_device\": 1,\n    \"allowed_country\": null,\n    \"enable_custom_rules\": true,\n    \"enable_fraud_check\": false,\n    \"enable_rate_limiting\": true,\n    \"clicks_per_day\": 10,\n    \"click_counter\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/analytics/:domain","description":"<p>This API endpoint enables you to update the analytics configuration for any domain using a PATCH request. The request should include the following parameters in the raw JSON request body:</p>\n<ul>\n<li><p><code>enable_security</code> (boolean): A flag to enable or disable security measures.</p>\n</li>\n<li><p><code>allow_search_engines</code> (boolean): A flag to allow or disallow search engines.</p>\n</li>\n<li><p><code>block_proxy</code> (boolean): A flag to block or allow proxy servers.</p>\n</li>\n<li><p><code>block_bad_ips</code> (boolean): A flag to block or allow bad IPs.</p>\n</li>\n<li><p><code>block_non_isp</code> (boolean): A flag to block or allow non-ISP traffic.</p>\n</li>\n<li><p><code>block_crawler</code> (boolean): A flag to block or allow web crawlers.</p>\n</li>\n<li><p><code>block_blacklisted_ips</code> (boolean): A flag to block or allow blacklisted IPs.</p>\n</li>\n<li><p><code>block_blacklisted_hostnames</code> (boolean): A flag to block or allow blacklisted hostnames.</p>\n</li>\n<li><p><code>enable_firewall</code> (boolean): A flag to enable or disable the firewall.</p>\n</li>\n<li><p><code>security_level</code> (integer): The security level to be set (1 = Low, 2 = Medium, 3 = High).</p>\n</li>\n<li><p><code>allowed_device</code> (integer): The type of allowed devices (1 = Any Device, 2 = Only Mobile, 3 = Only Desktop).</p>\n</li>\n<li><p><code>allowed_country</code> (array of strings): The list of allowed countries. Set to \"null\" if all countries are allowed.</p>\n</li>\n<li><p><code>enable_custom_rules</code> (boolean): Enable and disable custom rules.</p>\n</li>\n<li><p><code>enable_fraud_check</code> (boolean): Enable and disable fraud check.</p>\n</li>\n<li><p><code>enable_rate_limiting</code> (boolean): Enable and disable rate limiting.</p>\n</li>\n<li><p><code>clicks_per_day</code> (integer): Number of clicks from the same visitor per day.</p>\n</li>\n<li><p><code>click_counter</code> (integer): Specify the limitation filter (1 = Limit by IP address only, 2 = Limit by IP address + events/pages accessed by the visitor).</p>\n</li>\n</ul>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your domain registered at analytics page\n$domain = 'example.com';\n// Create an associative array containing the JSON post data\n$data = array(\n    'enable_security' =&gt; true,\n    'allow_search_engines' =&gt; false,\n    'block_proxy' =&gt; true,\n    'block_bad_ips' =&gt; true,\n    'block_non_isp' =&gt; true,\n    'block_crawler' =&gt; true,\n    'block_blacklisted_ips' =&gt; true,\n    'block_blacklisted_hostname' =&gt; true,\n    'enable_firewall' =&gt; true,\n    'enable_rate_limiting' =&gt; true,\n    'clicks_per_day' =&gt; 10,\n    'click_counter' =&gt; 1,\n    'security_level' =&gt; 1,\n    'allowed_device' =&gt; 1,\n    'allowed_country' =&gt; null,\n    'enable_custom_rules' =&gt; true,\n    'enable_fraud_check' =&gt; false,\n    'enable_rate_limiting' =&gt; true,\n    'clicks_per_day' =&gt; 10,\n    'click_counter' =&gt; 1,\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics/' . $domain,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'PATCH',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics",":domain"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Please provide the domain that has already been registered on the analytics pages.</p>\n","type":"text/plain"},"type":"any","value":"example.com","key":"domain"}]}},"response":[{"id":"63ce4486-49fa-4f00-9b5f-a5457a6bdad7","name":"Edit Domain Config","originalRequest":{"method":"PATCH","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": false,\n    \"security_level\": 1, // 1 = Low, 2 = Medium, 3 = High\n    \"allowed_device\": 1, // 1 = Any Device, 2 = Only Mobile, 3 = Only Desktop\n    \"allowed_country\": null, // Set to \"null\" if you want to allow all country\n    \"enable_custom_rules\": true, // Enable and disable custom rules\n    \"enable_fraud_check\": false, // Enable and disable fraud check\n    \"enable_rate_limiting\": true, // Enable and disable rate limiting\n    \"clicks_per_day\": 10, // Number of clicks from the same visitor per day\n    \"click_counter\": 1 // 1 = Limit by IP, 2 = Limit by IP & Event/Page\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://moonito.net/api/v1/analytics/:domain","protocol":"https","host":["moonito","net"],"path":["api","v1","analytics",":domain"],"variable":[{"key":"domain","value":"example.com","description":"[Required] Please provide the domain that has already been registered on the analytics pages."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"is_verified\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"f8ccc93c-8c7a-4fa0-9734-d4ce723e08c4"},{"name":"Get Summary","id":"0fafc2ac-081b-46c5-a309-81333a0ec5a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/analytics/summary/:domain","description":"<p>This API endpoint enables you to obtain a summary of analytics for a specific domain you own by making a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your domain registered at analytics page\n$domain = 'example.com';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics/summary/' . $domain,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics","summary",":domain"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Please provide the domain that has already been registered on the analytics pages.</p>\n","type":"text/plain"},"type":"any","value":"example.com","key":"domain"}]}},"response":[{"id":"7a6ade53-38dd-4662-9e0a-e256bd1406ff","name":"Get Summary","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/analytics/summary/:domain","host":["https://moonito.net/api/v1"],"path":["analytics","summary",":domain"],"variable":[{"key":"domain","value":"example.com","description":"[Required] Please provide the domain that has already been registered on the analytics pages."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"total_visitors\": 171,\n        \"genuine_visitors\": 63,\n        \"bots\": 108,\n        \"top_devices\": [\n            {\n                \"device\": \"Desktop\",\n                \"total\": 115\n            },\n            {\n                \"device\": \"Bot\",\n                \"total\": 23\n            },\n            {\n                \"device\": \"Mobile\",\n                \"total\": 7\n            },\n            {\n                \"device\": \"Unknown\",\n                \"total\": 2\n            }\n        ],\n        \"top_countries\": [\n            {\n                \"country\": \"SINGAPORE\",\n                \"total\": 92\n            },\n            {\n                \"country\": \"AUSTRALIA\",\n                \"total\": 18\n            },\n            {\n                \"country\": \"COLOMBIA\",\n                \"total\": 14\n            },\n            {\n                \"country\": \"UNITED STATES\",\n                \"total\": 7\n            },\n            {\n                \"country\": \"GUATEMALA\",\n                \"total\": 4\n            }\n        ],\n        \"top_browsers\": [\n            {\n                \"browser\": \"Chrome\",\n                \"total\": 111\n            },\n            {\n                \"browser\": \"Google Favicon\",\n                \"total\": 23\n            },\n            {\n                \"browser\": \"Firefox\",\n                \"total\": 8\n            },\n            {\n                \"browser\": \"Other\",\n                \"total\": 2\n            },\n            {\n                \"browser\": \"Android Browser\",\n                \"total\": 1\n            }\n        ],\n        \"top_os\": [\n            {\n                \"os\": \"OS X\",\n                \"total\": 106\n            },\n            {\n                \"os\": \"Unknown\",\n                \"total\": 25\n            },\n            {\n                \"os\": \"Windows\",\n                \"total\": 7\n            },\n            {\n                \"os\": \"Android\",\n                \"total\": 5\n            },\n            {\n                \"os\": \"Linux\",\n                \"total\": 2\n            }\n        ],\n        \"top_isp\": [\n            {\n                \"isp\": \"PT. TELKOM INDONESIA\",\n                \"total\": 92\n            },\n            {\n                \"isp\": \"Telmex Colombia S.A.\",\n                \"total\": 14\n            },\n            {\n                \"isp\": \"Asia Pacific Network Information Centre\",\n                \"total\": 10\n            },\n            {\n                \"isp\": \"Google LLC\",\n                \"total\": 9\n            },\n            {\n                \"isp\": \"Cloudflare, Inc.\",\n                \"total\": 8\n            }\n        ],\n        \"top_events\": [\n            {\n                \"event\": \"/api/docs\",\n                \"total\": 59\n            },\n            {\n                \"event\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"total\": 34\n            },\n            {\n                \"event\": \"/path/wp-json/anycomment/v1/auth/wordpress?redirect=https://interact.sh?a=https://interact.sh\",\n                \"total\": 7\n            },\n            {\n                \"event\": \"/api/docs<script>alert('1');</script?>\",\n                \"total\": 6\n            },\n            {\n                \"event\": \"/\",\n                \"total\": 6\n            }\n        ],\n        \"top_threats\": [\n            {\n                \"threat\": \"Common Web Attack: finds html breaking injections including whitespace attacks (XSS,CSRF)\",\n                \"total\": 20\n            },\n            {\n                \"threat\": \"CVE-2018-11784: Apache Tomcat - Open Redirect (Severity: Medium)\",\n                \"total\": 9\n            },\n            {\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"total\": 7\n            },\n            {\n                \"threat\": \"Common Web Attack: Detects possible includes and typical script methods (XSS,CSRF,ID,RFE)\",\n                \"total\": 6\n            },\n            {\n                \"threat\": \"CVE-2021-37704: phpfastcache - phpinfo Resource Exposure (Severity: Medium)\",\n                \"total\": 5\n            }\n        ]\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"0fafc2ac-081b-46c5-a309-81333a0ec5a1"},{"name":"Get Logs","id":"b9695691-16f2-46d3-bce4-dcd1f566f0e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/analytics/logs/:domain?page=1&limit=15","description":"<p>This API endpoint allows you to retrieve all analytics logs for a specific domain you own using a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your domain registered at analytics page\n$domain = 'example.com';\n// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics/logs/' . $domain . '?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics","logs",":domain"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Optional] Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[Optional] Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"}],"variable":[{"description":{"content":"<p>[Required] Please provide the domain that has already been registered on the analytics pages.</p>\n","type":"text/plain"},"type":"any","value":"example.com","key":"domain"}]}},"response":[{"id":"143e5a36-0c94-41e1-8f73-5d3d42fbf6e6","name":"Get Logs","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/analytics/logs/:domain?page=1&limit=15","host":["https://moonito.net/api/v1"],"path":["analytics","logs",":domain"],"query":[{"key":"page","value":"1","description":"[Optional] Numeric"},{"key":"limit","value":"15","description":"[Optional] Numeric, default is 15"}],"variable":[{"key":"domain","value":"example.com","description":"[Required] Please provide the domain that has already been registered on the analytics pages."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"total_visitors\": 147,\n        \"genuine_visitors\": 39,\n        \"bots\": 108,\n        \"lists\": [\n            {\n                \"created\": \"2023-12-08 02:57:44\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/login\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2023-12-07 23:42:37\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/login\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2023-12-07 11:36:27\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/api/docs\",\n                \"threat\": null,\n                \"type\": \"Genuine Visitor\"\n            },\n            {\n                \"created\": \"2023-12-07 11:36:15\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/api/v1\",\n                \"threat\": null,\n                \"type\": \"Genuine Visitor\"\n            },\n            {\n                \"created\": \"2023-12-07 11:36:13\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/api/v1\",\n                \"threat\": null,\n                \"type\": \"Genuine Visitor\"\n            },\n            {\n                \"created\": \"2023-12-07 11:34:14\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/Videos/1/hls/m/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\Windows\\\\win.ini/stream.mp3/\",\n                \"threat\": \"Common Web Attack: Detects basic directory traversal (DT,ID,LFI)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:33:57\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/Videos/1/hls/m/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\Windows\\\\win.ini/stream.mp3/\",\n                \"threat\": \"CVE-2021-21402: Jellyfin <10.7.0 - Local File Inclusion (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:33:47\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/Videos/1/hls/m/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\Windows\\\\win.ini/stream.mp3/\",\n                \"threat\": \"CVE-2021-21402: Jellyfin <10.7.0 - Local File Inclusion (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:33:15\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/Videos/1/hls/m/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\Windows\\\\win.ini/stream.mp3/\",\n                \"threat\": \"CVE-2021-21402: Jellyfin <10.7.0 - Local File Inclusion (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:33:00\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:32:50\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": null,\n                \"type\": \"Genuine Visitor\"\n            },\n            {\n                \"created\": \"2023-12-07 11:32:42\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:32:40\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:32:35\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            },\n            {\n                \"created\": \"2023-12-07 11:32:01\",\n                \"ip\": \"46.22.???.???\",\n                \"isp\": \"S-NET Sp. z o.o\",\n                \"hostname\": \"swojak.net\",\n                \"country\": \"PL\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/?data[performredirect]=\\\"><script>alert(document.domain)</script>&page=login\",\n                \"threat\": \"CVE-2021-43725: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected) (Severity: Medium)\",\n                \"type\": \"Threat/Malicious Activity\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 147,\n            \"limit\": 15,\n            \"last_page\": 10\n        }\n    }\n}"}],"_postman_id":"b9695691-16f2-46d3-bce4-dcd1f566f0e2"},{"name":"Clear Logs","id":"6fe94f43-63f5-47ca-92f7-527d2821cab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/analytics/:domain","description":"<p>This API endpoint allows you to clear analytics logs for a specific domain you own through a DELETE request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your domain registered at analytics page\n$domain = 'example.com';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/analytics/' . $domain,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'DELETE',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["analytics",":domain"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Please provide the domain that has already been registered on the analytics pages.</p>\n","type":"text/plain"},"type":"any","value":"example.com","key":"domain"}]}},"response":[{"id":"498ed545-6de9-40fc-ad5c-2e4e608fe015","name":"Clear Logs","originalRequest":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/analytics/:domain","host":["https://moonito.net/api/v1"],"path":["analytics",":domain"],"variable":[{"key":"domain","value":"example.com","description":"[Required] Please provide the domain that has already been registered on the analytics pages."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"is_cleared\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"6fe94f43-63f5-47ca-92f7-527d2821cab2"}],"id":"f8e0e3f6-c8d3-470a-a0a6-5ef1320ac7b9","_postman_id":"f8e0e3f6-c8d3-470a-a0a6-5ef1320ac7b9","description":""},{"name":"URL Shortener","item":[{"name":"Shortlink","id":"6b98921a-689a-47ee-b324-0f7d37bd8435","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://moonito.net/api/v1/shortlink?slug=GmjyPu&ip=8.8.8.8&ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&events=/GmjyPu","description":"<p>This API endpoint is crafted to fetch detailed information about visitors. It includes data like their IP address, User-Agent details, and detection status from our user-friendly URL Shortener application available for download on the URL Shortener page. The goal is to offer insights into the legitimacy of the visitor, assisting in distinguishing between genuine users and those who might raise suspicion.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Client IP Address Retrieval\nif (isset($_SERVER[\"HTTP_CF_CONNECTING_IP\"])) {\n  $_SERVER['REMOTE_ADDR'] = $_SERVER[\"HTTP_CF_CONNECTING_IP\"];\n  $_SERVER['HTTP_CLIENT_IP'] = $_SERVER[\"HTTP_CF_CONNECTING_IP\"];\n}\n$ip_address = filter_var($_SERVER['HTTP_CLIENT_IP'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP) ?? '';\n// Query parameters\n$query_params = array(\n    'slug' =&gt; 'GmjyPu', // Your short URL slug that you have added to the dashboard\n    'ip' =&gt; $ip_address, // Visitor IP Address\n    'ua' =&gt; urlencode($_SERVER['HTTP_USER_AGENT']), // Visitor User-Agent\n    'events' =&gt; urlencode($_SERVER['REQUEST_URI']), // Visitor Request URI\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"key":"slug","value":"GmjyPu"},{"description":{"content":"<p>[Required] Specify the visitor IP address to be looked up.</p>\n","type":"text/plain"},"key":"ip","value":"8.8.8.8"},{"description":{"content":"<p>[Required] Specify the visitor User-Agent string to be looked up.</p>\n","type":"text/plain"},"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"description":{"content":"<p>[Optional] Specify the URL opened by the visitor (For example you can use the REQUEST_URI from your website).</p>\n","type":"text/plain"},"key":"events","value":"/GmjyPu"}],"variable":[]}},"response":[{"id":"b02d4fea-7e3a-43cb-9aab-d3cae92bdc00","name":"Shortlink","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"[Required] Your API Public Key"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"[Required] Your API Secret Key"}],"url":{"raw":"https://moonito.net/api/v1/shortlink?slug=GmjyPu&ip=1.1.1.1&ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&events=/login","host":["https://moonito.net/api/v1"],"path":["shortlink"],"query":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."},{"key":"ip","value":"1.1.1.1","description":"[Required] Specify the visitor IP address to be looked up."},{"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","description":"[Required] Specify the visitor User-Agent string to be looked up."},{"key":"events","value":"/login","description":"[Optional] Specify the URL opened by the visitor (For example you can use the REQUEST_URI from your website)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Wed, 22 Nov 2023 01:30:25 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2996"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"ip_lookup\": {\n      \"ip\": \"8.8.8.8\",\n      \"type\": \"IPv4\",\n      \"hostname\": \"dns.google\",\n      \"city\": \"Mountain View\",\n      \"region\": \"California\",\n      \"country\": \"US\",\n      \"latitude\": 37.4223,\n      \"longitude\": -122.085,\n      \"asn\": 15169,\n      \"company\": \"Level 3\",\n      \"connection_type\": \"Corporate\",\n      \"isp\": \"Google LLC\",\n      \"postal\": \"94043\",\n      \"timezone\": \"America/Los_Angeles\"\n    },\n    \"browser_lookup\": {\n      \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n      \"device\": {\n        \"is_mobile\": false,\n        \"type\": \"desktop\",\n        \"subtype\": null,\n        \"brand\": null,\n        \"model\": null,\n        \"series\": null,\n        \"carrier\": null,\n        \"identifier\": null,\n        \"generic\": true,\n        \"hidden\": false\n      },\n      \"browser\": {\n        \"type\": \"browser\",\n        \"name\": \"Chrome\",\n        \"alias\": null,\n        \"version\": \"119.0.0.0\",\n        \"builds\": null,\n        \"engine\": \"Blink\",\n        \"hidden\": false\n      },\n      \"os\": {\n        \"name\": \"Windows\",\n        \"alias\": null,\n        \"version\": \"10.0\",\n        \"builds\": null,\n        \"family\": null,\n        \"edition\": null,\n        \"hidden\": false\n      },\n      \"is_crawler\": false\n    },\n    \"status\": {\n      \"is_bot\": true,\n      \"need_to_block\": true,\n      \"threat\": {\n        \"is_threat\": false,\n        \"threat_detail\": null,\n        \"events\": \"/GmjyPu\"\n      },\n      \"detect_activity\": \"BLOCKED (Proxy/VPN/Tor)\"\n    },\n    \"redirection\": {\n      \"title\": \"Sample Short URL\",\n      \"to\": \"403\",\n      \"action\": \"direct\",\n      \"use_javascript\": false\n    }\n  },\n  \"meta\": {\n    \"code\": 200,\n    \"message\": \"OK\"\n  }\n}"}],"_postman_id":"6b98921a-689a-47ee-b324-0f7d37bd8435"},{"name":"Add Shortlink","id":"8e76989d-073a-4fb1-8e96-666b41cb4b12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"link_title\": \"My example site\",\n    \"link_to\": \"https://example.com\",\n    \"link_action\": 1,\n    \"slug\": \"slug\",\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1,\n    \"allowed_device\": 1,\n    \"allowed_country\": [\"US\", \"CA\"],\n    \"unwanted_action\": 1,\n    \"unwanted_to\": 403,\n    \"enable_javascript\": false,\n    \"enable_custom_rules\": true,\n    \"enable_fraud_check\": false,\n    \"enable_rate_limiting\": true,\n    \"ip_clicks_per_day\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/shortlink","description":"<p>This API endpoint is a POST request used to add a new short link. The request should include the following parameters in the raw JSON request body:</p>\n<ul>\n<li><p><code>link_title</code> (string): Enter the title for the short URL you wish to generate.</p>\n</li>\n<li><p><code>link_to</code> (string): Provide the destination URL for the short link you intend to create.</p>\n</li>\n<li><p><code>link_action</code> (integer): Specify the action for link destination (1 = Redirection, 2 = Iframe, 3 = Load content).</p>\n</li>\n<li><p><code>slug</code> (string): Your short URL slug that you want.</p>\n</li>\n<li><p><code>enable_security</code> (boolean): A flag to enable or disable security measures.</p>\n</li>\n<li><p><code>allow_search_engines</code> (boolean): A flag to allow or disallow search engines.</p>\n</li>\n<li><p><code>block_proxy</code> (boolean): A flag to block or allow proxy servers.</p>\n</li>\n<li><p><code>block_bad_ips</code> (boolean): A flag to block or allow bad IPs.</p>\n</li>\n<li><p><code>block_non_isp</code> (boolean): A flag to block or allow non-ISP traffic.</p>\n</li>\n<li><p><code>block_crawler</code> (boolean): A flag to block or allow web crawlers.</p>\n</li>\n<li><p><code>block_blacklisted_ips</code> (boolean): A flag to block or allow blacklisted IPs.</p>\n</li>\n<li><p><code>block_blacklisted_hostnames</code> (boolean): A flag to block or allow blacklisted hostnames.</p>\n</li>\n<li><p><code>enable_firewall</code> (boolean): A flag to enable or disable the firewall.</p>\n</li>\n<li><p><code>security_level</code> (integer): The security level to be set (1 = Low, 2 = Medium, 3 = High).</p>\n</li>\n<li><p><code>allowed_device</code> (integer): The type of allowed devices (1 = Any Device, 2 = Only Mobile, 3 = Only Desktop).</p>\n</li>\n<li><p><code>unwanted_action</code> (integer): Specify the action for redirecting unwanted or bot visitors (1 = HTTP Error, 2 = Redirect to a Specific URL, 3 = Server Not Responding, 4 = Random URL, 5 = Iframe to a Specific URL, 6 = Load content from a Specific URL).</p>\n</li>\n<li><p><code>enable_javascript</code> (boolean): If this is enabled the link redirection process will use JavaScript.</p>\n</li>\n<li><p><code>enable_custom_rules</code> (boolean): Enable and disable custom rules.</p>\n</li>\n<li><p><code>enable_fraud_check</code> (boolean): Enable and disable fraud check.</p>\n</li>\n<li><p><code>enable_rate_limiting</code> (boolean): Enable and disable rate limiting.</p>\n</li>\n<li><p><code>ip_clicks_per_day</code> (integer): Number of clicks from the same IP per day.</p>\n</li>\n</ul>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'link_title' =&gt; 'My example site',\n    'link_to' =&gt; 'https://example.com',\n    'link_action' =&gt; 1,\n    'slug' =&gt; 'example-slug',\n    'enable_security' =&gt; true,\n    'allow_search_engines' =&gt; false,\n    'block_proxy' =&gt; true,\n    'block_bad_ips' =&gt; true,\n    'block_non_isp' =&gt; true,\n    'block_crawler' =&gt; true,\n    'block_blacklisted_ips' =&gt; true,\n    'block_blacklisted_hostname' =&gt; true,\n    'enable_firewall' =&gt; true,\n    'security_level' =&gt; 1,\n    'allowed_device' =&gt; 1,\n    'allowed_country' =&gt; array('US', 'CA'),\n    'unwanted_action' =&gt; 1,\n    'unwanted_to' =&gt; '403',\n    'enable_javascript' =&gt; false,\n    'enable_custom_rules' =&gt; true,\n    'enable_fraud_check' =&gt; false,\n    'enable_rate_limiting' =&gt; true,\n    'ip_clicks_per_day' =&gt; 10,\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"9f0fbaca-d8ab-4e28-b409-930ba40e5a91","name":"Add Shortlink","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"link_title\": \"My example site\",\n    \"link_to\": \"https://example.com\",\n    \"link_action\": 1, // 1 = Direct, 2 = Iframe, 3 = Load content\n    \"slug\": \"slug\",\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1, // 1 = Low, 2 = Medium, 3 = High\n    \"allowed_device\": 1, // 1 = Any Device, 2 = Only Mobile, 3 = Only Desktop\n    \"allowed_country\": [\"US\", \"CA\"], // Set to \"null\" if you want to allow all country,\n    \"unwanted_action\": 1, // 1 = HTTP Error, 2 = Redirect to URL, 3 = Server Not Responding, 4 = Random URL\n    \"unwanted_to\": 403, // The destination for unwanted or bot visitor\n    \"enable_javascript\": false, // Enable and disable redirection using JavaScript\n    \"enable_custom_rules\": true, // Enable and disable custom rules\n    \"enable_fraud_check\": false, // Enable and disable fraud check\n    \"enable_rate_limiting\": true, // Enable and disable rate limiting\n    \"ip_clicks_per_day\": 10 // Number of clicks from the same IP per day\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/shortlink"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"link_to\": \"https://example.com\",\n        \"link_title\": \"My example site\",\n        \"slug\": \"slug\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"8e76989d-073a-4fb1-8e96-666b41cb4b12"},{"name":"Get Shortlink Config","id":"0cc293a2-d198-4144-906b-83945ace2ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/shortlink/:slug","description":"<p>This API endpoint allows you to retrieve your short link configuration information using a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your short URL slug that you have added to the dashboard\n$slug = 'GmjyPu';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink/' . $slug,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink",":slug"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"type":"any","value":"GmjyPu","key":"slug"}]}},"response":[{"id":"eae7dff8-ec46-4532-aef2-9963cbdd23c5","name":"Get Domain Config","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/shortlink/:slug","host":["https://moonito.net/api/v1"],"path":["shortlink",":slug"],"variable":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"link_to\": \"https://example.com\",\n        \"link_title\": \"Sample Short URL\",\n        \"slug\": \"GmjyPu\",\n        \"enable_security\": true,\n        \"allow_search_engines\": true,\n        \"block_proxy\": true,\n        \"block_bad_ips\": true,\n        \"block_non_isp\": true,\n        \"block_crawler\": true,\n        \"block_blacklisted_ips\": true,\n        \"block_blacklisted_hostnames\": true,\n        \"enable_firewall\": true,\n        \"security_level\": \"Low\",\n        \"allowed_device\": \"Any Device\",\n        \"allowed_country\": [\n            \"US\",\n            \"CA\"\n        ],\n        \"unwanted_action\": \"HTTP Error\",\n        \"unwanted_to\": \"403\",\n        \"enable_javascript\": false,\n        \"enable_custom_rules\": true,\n        \"enable_fraud_check\": false,\n        \"enable_rate_limiting\": true,\n        \"ip_clicks_per_day\": 10,\n        \"status\": \"Active\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"0cc293a2-d198-4144-906b-83945ace2ef2"},{"name":"Edit Shortlink Config","id":"f9207eee-a984-4654-b042-654bf9efbd8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"link_title\": \"Sample Short URL\",\n    \"link_to\": \"https://example.com\",\n    \"link_action\": 1,\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1,\n    \"allowed_device\": 1,\n    \"allowed_country\": [\"US\", \"CA\"],\n    \"unwanted_action\": 1,\n    \"unwanted_to\": \"403\",\n    \"enable_javascript\": true,\n    \"enable_custom_rules\": true,\n    \"enable_fraud_check\": false,\n    \"enable_rate_limiting\": true,\n    \"ip_clicks_per_day\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/shortlink/:slug","description":"<p>This API endpoint enables you to update the short link configuration using a PATCH request. The request should include the following parameters in the raw JSON request body:</p>\n<ul>\n<li><p><code>link_title</code> (string): Enter the title for the short URL you wish to generate.</p>\n</li>\n<li><p><code>link_to</code> (string): Provide the destination URL for the short link you intend to create.</p>\n</li>\n<li><p><code>link_action</code> (integer): Specify the action for link destination (1 = Redirection, 2 = Iframe, 3 = Load content).</p>\n</li>\n<li><p><code>enable_security</code> (boolean): A flag to enable or disable security measures.</p>\n</li>\n<li><p><code>allow_search_engines</code> (boolean): A flag to allow or disallow search engines.</p>\n</li>\n<li><p><code>block_proxy</code> (boolean): A flag to block or allow proxy servers.</p>\n</li>\n<li><p><code>block_bad_ips</code> (boolean): A flag to block or allow bad IPs.</p>\n</li>\n<li><p><code>block_non_isp</code> (boolean): A flag to block or allow non-ISP traffic.</p>\n</li>\n<li><p><code>block_crawler</code> (boolean): A flag to block or allow web crawlers.</p>\n</li>\n<li><p><code>block_blacklisted_ips</code> (boolean): A flag to block or allow blacklisted IPs.</p>\n</li>\n<li><p><code>block_blacklisted_hostnames</code> (boolean): A flag to block or allow blacklisted hostnames.</p>\n</li>\n<li><p><code>enable_firewall</code> (boolean): A flag to enable or disable the firewall.</p>\n</li>\n<li><p><code>security_level</code> (integer): The security level to be set (1 = Low, 2 = Medium, 3 = High).</p>\n</li>\n<li><p><code>allowed_device</code> (integer): The type of allowed devices (1 = Any Device, 2 = Only Mobile, 3 = Only Desktop).</p>\n</li>\n<li><p><code>unwanted_action</code> (integer): Specify the action for redirecting unwanted or bot visitors (1 = HTTP Error, 2 = Redirect to a Specific URL, 3 = Server Not Responding, 4 = Random URL, 5 = Iframe to a Specific URL, 6 = Load content from a Specific URL).</p>\n</li>\n<li><p><code>enable_javascript</code> (boolean): If this is enabled the link redirection process will use JavaScript.</p>\n</li>\n<li><p><code>enable_custom_rules</code> (boolean): Enable and disable custom rules.</p>\n</li>\n<li><p><code>enable_fraud_check</code> (boolean): Enable and disable fraud check.</p>\n</li>\n<li><p><code>enable_rate_limiting</code> (boolean): Enable and disable rate limiting.</p>\n</li>\n<li><p><code>ip_clicks_per_day</code> (integer): Number of clicks from the same IP per day.</p>\n</li>\n</ul>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your short URL slug that you have added to the dashboard\n$slug = 'GmjyPu';\n// Create an associative array containing the JSON post data\n$data = array(\n    'link_title' =&gt; 'Sample Short URL',\n    'link_to' =&gt; 'https://example.com',\n    'link_action' =&gt; 1,\n    'enable_security' =&gt; true,\n    'allow_search_engines' =&gt; false,\n    'block_proxy' =&gt; true,\n    'block_bad_ips' =&gt; true,\n    'block_non_isp' =&gt; true,\n    'block_crawler' =&gt; true,\n    'block_blacklisted_ips' =&gt; true,\n    'block_blacklisted_hostname' =&gt; true,\n    'enable_firewall' =&gt; true,\n    'security_level' =&gt; 1,\n    'allowed_device' =&gt; 1,\n    'allowed_country' =&gt; ['US', 'CA'],\n    'unwanted_action' =&gt; 1,\n    'unwanted_to' =&gt; '403',\n    'enable_javascript' =&gt; true,\n    'enable_custom_rules' =&gt; true,\n    'enable_fraud_check' =&gt; false,\n    'enable_rate_limiting' =&gt; true,\n    'ip_clicks_per_day' =&gt; 10,\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink/' . $slug,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'PATCH',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink",":slug"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"type":"any","value":"GmjyPu","key":"slug"}]}},"response":[{"id":"d85fa4d3-44a1-4ba7-94da-318744af56f3","name":"Edit Domain Config","originalRequest":{"method":"PATCH","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"link_title\": \"Sample Short URL\",\n    \"link_to\": \"https://example.com\",\n    \"link_action\": 1, // 1 = Direct, 2 = Iframe, 3 = Load content\n    \"enable_security\": true,\n    \"allow_search_engines\": false,\n    \"block_proxy\": true,\n    \"block_bad_ips\": true,\n    \"block_non_isp\": true,\n    \"block_crawler\": true,\n    \"block_blacklisted_ips\": true,\n    \"block_blacklisted_hostnames\": true,\n    \"enable_firewall\": true,\n    \"security_level\": 1, // 1 = Low, 2 = Medium, 3 = High\n    \"allowed_device\": 1, // 1 = Any Device, 2 = Only Mobile, 3 = Only Desktop\n    \"allowed_country\": [\"US\", \"CA\"], // Set to \"null\" if you want to allow all country,\n    \"unwanted_action\": 1, // 1 = HTTP Error, 2 = Redirect to URL, 3 = Server Not Responding, 4 = Random URL\n    \"unwanted_to\": \"403\", // The destination for unwanted or bot visitor\n    \"enable_javascript\": true, // Enable and disable redirection using JavaScript\n    \"enable_custom_rules\": true, // Enable and disable custom rules\n    \"enable_fraud_check\": false, // Enable and disable fraud check\n    \"enable_rate_limiting\": true, // Enable and disable rate limiting\n    \"ip_clicks_per_day\": 10 // Number of clicks from the same IP per day\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://moonito.net/api/v1/shortlink/:slug","host":["https://moonito.net/api/v1"],"path":["shortlink",":slug"],"variable":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"domain\": \"example.com\",\n        \"is_verified\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"f9207eee-a984-4654-b042-654bf9efbd8e"},{"name":"Get Summary","id":"4f4902a5-a8ca-4ad0-9353-a83348875911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/shortlink/summary/:slug","description":"<p>This API endpoint enables you to obtain a summary of analytics for a specific short URL slug you own by making a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your short URL slug that you have added to the dashboard\n$slug = 'GmjyPu';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink/summary/' . $slug,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink","summary",":slug"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"type":"any","value":"GmjyPu","key":"slug"}]}},"response":[{"id":"8363d0ef-e36b-48de-8e0b-a9cd5dd480c9","name":"Get Summary","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/shortlink/summary/:slug","host":["https://moonito.net/api/v1"],"path":["shortlink","summary",":slug"],"variable":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"slug\": \"GmjyPu\",\n        \"total_visitors\": 6,\n        \"genuine_visitors\": 0,\n        \"bots\": 6,\n        \"top_devices\": [\n            {\n                \"device\": \"Desktop\",\n                \"total\": 4\n            },\n            {\n                \"device\": \"Mobile\",\n                \"total\": 2\n            }\n        ],\n        \"top_countries\": [\n            {\n                \"country\": \"UNITED STATES\",\n                \"total\": 6\n            }\n        ],\n        \"top_browsers\": [\n            {\n                \"browser\": \"Chrome\",\n                \"total\": 6\n            }\n        ],\n        \"top_os\": [\n            {\n                \"os\": \"Windows\",\n                \"total\": 4\n            },\n            {\n                \"os\": \"Android\",\n                \"total\": 4\n            }\n        ],\n        \"top_isp\": [\n            {\n                \"isp\": \"Google LLC\",\n                \"total\": 6\n            }\n        ],\n        \"top_events\": [\n            {\n                \"event\": \"/GmjyPu\",\n                \"total\": 6\n            }\n        ],\n        \"top_threats\": []\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"4f4902a5-a8ca-4ad0-9353-a83348875911"},{"name":"Get Logs","id":"16705784-56b2-4453-a095-7b74b87cf4d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/shortlink/logs/:slug?page=1&limit=15","description":"<p>This API endpoint allows you to retrieve all short URL visitor logs using a GET request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your short URL slug that you have added to the dashboard\n$slug = 'GmjyPu';\n// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink/logs/' . $slug . '?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink","logs",":slug"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Optional] Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[Optional] Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"}],"variable":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"type":"any","value":"GmjyPu","key":"slug"}]}},"response":[{"id":"852328c6-09f2-48f1-a560-08b27169b8b0","name":"Get Logs","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/shortlink/logs/:slug?page=1&limit=15","host":["https://moonito.net/api/v1"],"path":["shortlink","logs",":slug"],"query":[{"key":"page","value":"1","description":"[Optional] Numeric"},{"key":"limit","value":"15","description":"[Optional] Numeric, default is 15"}],"variable":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"slug\": \"GmjyPu\",\n        \"total_visitors\": 6,\n        \"genuine_visitors\": 0,\n        \"bots\": 6,\n        \"lists\": [\n            {\n                \"created\": \"2024-02-02 01:34:05\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Linux; Android 7.0; Nexus 6 Build/NME91E) AppleWebKit/602.10 (KHTML, like Gecko)  Chrome/54.0.3667.397 Mobile Safari/536.0\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2024-02-01 14:34:32\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Linux; Android 7.0; Nexus 6 Build/NME91E) AppleWebKit/602.10 (KHTML, like Gecko)  Chrome/54.0.3667.397 Mobile Safari/536.0\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2024-02-01 14:16:56\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Linux; Android 7.0; Nexus 6 Build/NME91E) AppleWebKit/602.10 (KHTML, like Gecko)  Chrome/54.0.3667.397 Mobile Safari/536.0\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2024-02-01 14:11:21\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Linux; Android 7.0; Nexus 6 Build/NME91E) AppleWebKit/602.10 (KHTML, like Gecko)  Chrome/54.0.3667.397 Mobile Safari/536.0\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2024-02-01 14:07:49\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            },\n            {\n                \"created\": \"2024-02-01 14:07:46\",\n                \"ip\": \"8.8.???.???\",\n                \"isp\": \"Google LLC\",\n                \"hostname\": \"dns.google\",\n                \"country\": \"US\",\n                \"device\": \"Chrome\",\n                \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n                \"events\": \"/GmjyPu\",\n                \"threat\": null,\n                \"type\": \"Proxy/VPN/Tor\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 6,\n            \"limit\": 15,\n            \"last_page\": 1\n        }\n    }\n}"}],"_postman_id":"16705784-56b2-4453-a095-7b74b87cf4d4"},{"name":"Clear Logs","id":"236e099b-d3b4-460e-a5cc-682212d91794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/shortlink/:slug","description":"<p>This API endpoint allows you to clear short URL logs through a DELETE request.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Your short URL slug that you have added to the dashboard\n$slug = 'GmjyPu';\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/shortlink/' . $slug,\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'DELETE',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["shortlink",":slug"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[{"description":{"content":"<p>[Required] Your short URL slug that you have added to the dashboard.</p>\n","type":"text/plain"},"type":"any","value":"GmjyPu","key":"slug"}]}},"response":[{"id":"924cdb30-a995-4945-8441-62c48595ce47","name":"Clear Logs","originalRequest":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/shortlink/:slug","host":["https://moonito.net/api/v1"],"path":["shortlink",":slug"],"variable":[{"key":"slug","value":"GmjyPu","description":"[Required] Your short URL slug that you have added to the dashboard."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"slug\": \"GmjyPu\",\n        \"is_cleared\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"236e099b-d3b4-460e-a5cc-682212d91794"}],"id":"2d3a634e-5ee7-4637-b238-9cd4cf3a8c15","_postman_id":"2d3a634e-5ee7-4637-b238-9cd4cf3a8c15","description":""},{"name":"IP Whois","item":[{"name":"IP Whois","id":"6a5d5122-3450-4dfd-af14-7cc8e7c72640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/ip-whois","description":"<p>Endpoint used to see your public IP address.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/ip-whois',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["ip-whois"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"edf0a88c-2d95-4830-8f9e-5a1a5a616773","name":"IP Whois","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"[Required] Your API Public Key"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"[Required] Your API Secret Key"}],"url":"https://moonito.net/api/v1/ip-whois"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Sat, 25 Nov 2023 06:56:30 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ip\": \"127.0.0.1\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"6a5d5122-3450-4dfd-af14-7cc8e7c72640"}],"id":"b0754c04-2914-483f-a7f1-9b54f0df2622","_postman_id":"b0754c04-2914-483f-a7f1-9b54f0df2622","description":""},{"name":"IP Lookup","item":[{"name":"IP Lookup","id":"f133705f-2ee1-4348-91f4-de92a39b2b12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/ip-lookup?ip=8.8.8.8","description":"<p>This API endpoint allow you to conduct detailed IP address lookups, providing comprehensive information and insights into the specified IP address details.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'ip' =&gt; '8.8.8.8', // Specify the IP address to be looked up.\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/ip-lookup?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["ip-lookup"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Specify the IP address to be looked up.</p>\n","type":"text/plain"},"key":"ip","value":"8.8.8.8"}],"variable":[]}},"response":[{"id":"5c9a95fb-c199-49f5-b3b7-b0e364b12411","name":"IP Lookup","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/ip-lookup?ip=8.8.8.8","host":["https://moonito.net/api/v1"],"path":["ip-lookup"],"query":[{"key":"ip","value":"8.8.8.8","description":"[Required] Specify the IP address to be looked up."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Sat, 18 Nov 2023 10:41:35 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2998"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ip\": \"8.8.8.8\",\n        \"type\": \"IPv4\",\n        \"hostname\": \"dns.google\",\n        \"city\": \"Mountain View\",\n        \"region\": \"California\",\n        \"country\": \"US\",\n        \"latitude\": 37.4223,\n        \"longitude\": -122.085,\n        \"asn\": 15169,\n        \"company\": \"Level 3\",\n        \"connection_type\": \"Corporate\",\n        \"isp\": \"Google LLC\",\n        \"postal\": \"94043\",\n        \"timezone\": \"America/Los_Angeles\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"f133705f-2ee1-4348-91f4-de92a39b2b12"}],"id":"cdc812d1-bc09-418d-9b29-82765e3b83f8","_postman_id":"cdc812d1-bc09-418d-9b29-82765e3b83f8","description":""},{"name":"IP Checker","item":[{"name":"IP Checker","id":"211d61e8-ff97-4128-a06b-16c122496cf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/ip-checker?ip=8.8.8.8","description":"<p>This API endpoint allows you to perform in-depth IP address lookups with advanced threat intelligence. Instantly analyze any IPv4 or IPv6 address to uncover detailed security insights, including bot detection, VPN or proxy usage, Tor network presence, and potential malicious activity.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'ip' =&gt; '8.8.8.8', // Enter the IP address you want to check.\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/ip-checker?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["ip-checker"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Enter the IP address you want to check.</p>\n","type":"text/plain"},"key":"ip","value":"8.8.8.8"}],"variable":[]}},"response":[{"id":"0cb26df7-ad69-422e-84a5-6327a274f67a","name":"IP Checker","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/ip-checker?ip=8.8.8.8","host":["https://moonito.net/api/v1"],"path":["ip-checker"],"query":[{"key":"ip","value":"8.8.8.8","description":"[Required] Enter the IP address you want to check."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Sat, 18 Nov 2023 10:41:35 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2998"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ip\": \"8.8.8.8\",\n        \"is_bot\": true,\n        \"detected_as\": \"Proxy/VPN/Tor\",\n        \"type\": \"IPv4\",\n        \"connection_type\": \"Corporate\",\n        \"hostname\": \"dns.google\",\n        \"city\": \"Mountain View\",\n        \"country\": \"US\",\n        \"asn\": \"AS15169\",\n        \"isp\": \"Google LLC\",\n        \"company\": \"Level 3\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"211d61e8-ff97-4128-a06b-16c122496cf1"}],"id":"b7d676bb-8bbf-4866-94d8-35ac1f08c9c8","_postman_id":"b7d676bb-8bbf-4866-94d8-35ac1f08c9c8","description":""},{"name":"User-Agent Whois","item":[{"name":"User-Agent Whois","id":"4187ceee-0d27-4593-bbc4-14695ba97527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/browser-whois","description":"<p>Endpoint used to see your public User-Agent.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/browser-whois',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["browser-whois"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"396b5442-78a1-45a0-acfa-354fcaf0c474","name":"User-Agent Whois","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"[Required] Your API Public Key"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"[Required] Your API Secret Key"}],"url":"https://moonito.net/api/v1/browser-whois"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Fri, 01 Dec 2023 06:49:13 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"4187ceee-0d27-4593-bbc4-14695ba97527"}],"id":"9dd4d28e-c03e-442e-81d2-89d76017e65b","_postman_id":"9dd4d28e-c03e-442e-81d2-89d76017e65b","description":""},{"name":"User-Agent Lookup","item":[{"name":"User-Agent Lookup","id":"44c1f5c5-cf2a-47fb-93ef-e8ab37435aab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/browser-lookup?ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","description":"<p>This API endpoint allow you to perform in-depth User-Agent or Browser lookups, delivering comprehensive information and insights into the specified User-Agent or Browser details. You can gain a detailed understanding of the characteristics and attributes associated with a particular User-Agent or Browser through this functionality.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'ua' =&gt; 'Mozilla/5.0xxx', // Specify the User-Agent to be looked up.\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/browser-lookup?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["browser-lookup"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Specify the User-Agent to be looked up.</p>\n","type":"text/plain"},"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"}],"variable":[]}},"response":[{"id":"ce9c28eb-fd29-4870-aeba-6fc6cabd302f","name":"User-Agent Lookup","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"[Required] Your API Public Key"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"[Required] Your API Secret Key"}],"url":{"raw":"https://moonito.net/api/v1/browser-lookup?ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","host":["https://moonito.net/api/v1"],"path":["browser-lookup"],"query":[{"key":"ua","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","description":"[Required] Specify the User-Agent to be looked up."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Cache-Control","value":"public, max-age=31536000, immutable"},{"key":"Date","value":"Sat, 18 Nov 2023 10:42:33 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"},{"key":"Content-Security-Policy","value":"default-src 'self' http: https: data: blob: 'unsafe-inline' 'unsafe-eval'"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n        \"device\": {\n            \"is_mobile\": false,\n            \"type\": \"desktop\",\n            \"subtype\": null,\n            \"brand\": null,\n            \"model\": null,\n            \"series\": null,\n            \"carrier\": null,\n            \"identifier\": null,\n            \"generic\": true,\n            \"hidden\": false\n        },\n        \"browser\": {\n            \"type\": \"browser\",\n            \"name\": \"Chrome\",\n            \"alias\": null,\n            \"version\": \"119.0.0.0\",\n            \"builds\": null,\n            \"engine\": \"Blink\",\n            \"hidden\": false\n        },\n        \"os\": {\n            \"name\": \"Windows\",\n            \"alias\": null,\n            \"version\": \"10.0\",\n            \"builds\": null,\n            \"family\": null,\n            \"edition\": null,\n            \"hidden\": false\n        },\n        \"is_crawler\": false\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"44c1f5c5-cf2a-47fb-93ef-e8ab37435aab"}],"id":"340c93c6-6850-47ef-ae0d-81f525bf837c","_postman_id":"340c93c6-6850-47ef-ae0d-81f525bf837c","description":""},{"name":"Validators","item":[{"name":"Email Validator","id":"c6ae177a-b273-4316-ad0c-d5b539d568ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/validator/email?email=username@gmail.com&catch_all=1","description":"<p>This API endpoint, named the \"Email Validator,\" serves as a powerful tool to retrieve information about any email address in order to verify &amp; validate it. By leveraging this feature, you can enhance the security of your website by identifying and preventing registrations from anonymous users. This proactive measure contributes to making your website a more secure and trustworthy platform.</p>\n<h4 id=\"email-marketing-campaigns\"><strong>Email marketing Campaigns</strong></h4>\n<p>In addition to enhancing website security, the Email Validator is a valuable asset for your email marketing campaigns. By ensuring that your email lists are composed of valid and high-quality addresses, you can improve your campaign's deliverability rates, reduce bounce rates, and increase engagement with your target audience. This leads to more effective and efficient marketing efforts, maximizing your reach and impact.</p>\n<h4 id=\"state--reason\"><strong>State / Reason</strong></h4>\n<p>The main indicator of email address deliverability is the state. The state indicates whether an email is deliverable, and the reason provides an explanation for the current state.</p>\n<p><strong>Possible states/reasons</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>State</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>deliverable</td>\n<td>The email address can receive emails</td>\n</tr>\n<tr>\n<td>undeliverable</td>\n<td>The email address can not receive emails</td>\n</tr>\n<tr>\n<td>risky</td>\n<td>The email address can possible receive emails but it is not certain if they are read my a person or actually really received</td>\n</tr>\n<tr>\n<td>unknown</td>\n<td>We can not check the email address if it is able to receive emails</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Reason</strong></th>\n<th><strong>Resulting State</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>valid_mailbox</td>\n<td>deliverable</td>\n<td>The email address has avalid mailbox behind and is able to receive emails</td>\n</tr>\n<tr>\n<td>invalid_mx</td>\n<td>undeliverable</td>\n<td>The MX entries stored in the domains DNS either do not exist or not valid</td>\n</tr>\n<tr>\n<td>invalid_format</td>\n<td>undeliverable</td>\n<td>The format of the email address is not valid</td>\n</tr>\n<tr>\n<td>invalid_smtp</td>\n<td>undeliverable</td>\n<td>The SMTP server did not respond correctly</td>\n</tr>\n<tr>\n<td>invalid_mailbox</td>\n<td>undeliverable</td>\n<td>The email address was refused by the SMTP server</td>\n</tr>\n<tr>\n<td>mailbox_full</td>\n<td>undeliverable</td>\n<td>The email inbox is full and can't receive any new emails</td>\n</tr>\n<tr>\n<td>low_deliverability</td>\n<td>risky</td>\n<td>Indicates that the possibility that a person reads the email is low</td>\n</tr>\n<tr>\n<td>low_quality</td>\n<td>risky</td>\n<td>Indicates that the email address is used by multiple people</td>\n</tr>\n<tr>\n<td>no_connect</td>\n<td>unknown</td>\n<td>We could not connect to the SMTP server</td>\n</tr>\n<tr>\n<td>unexpected_error</td>\n<td>unknown</td>\n<td>An unexpected error occured</td>\n</tr>\n<tr>\n<td>timeout</td>\n<td>unknown</td>\n<td>The connection to the SMTP server timed out</td>\n</tr>\n<tr>\n<td>unavailable_smtp</td>\n<td>unknown</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"quality-score\"><strong>Quality Score</strong></h4>\n<p>The API returns a numeric Quality Score from 0 (Bad) to 1 (Good), indicating the quality and deliverability of the provided email address. This score is determined by a system that continuously improves with each email address validated, ensuring accurate and reliable results for every request.</p>\n<p><strong>For transactional email:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Score</th>\n<th>Quality</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.00-0.65</td>\n<td>Perfect</td>\n</tr>\n<tr>\n<td>0.64-0.33</td>\n<td>Medium</td>\n</tr>\n<tr>\n<td>0.32-0.00</td>\n<td>Poor</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>For marketing email:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Score</th>\n<th>Quality</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.00-0.80</td>\n<td>Perfect</td>\n</tr>\n<tr>\n<td>0.79-0.49</td>\n<td>Medium</td>\n</tr>\n<tr>\n<td>0.48-0.00</td>\n<td>Poor</td>\n</tr>\n</tbody>\n</table>\n</div><p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'email' =&gt; 'anonymous@mailinator.com', // Specify the email address to be validate.\n    'catch_all' =&gt; 1, // Specify the Catch-All Detection (1 = Yes, 0 = No)\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/validator/email?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["validator","email"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Email address to be validate.</p>\n","type":"text/plain"},"key":"email","value":"username@gmail.com"},{"description":{"content":"<p>[Optional] Catch-All Detection (1 = Yes, 0 = No)</p>\n","type":"text/plain"},"key":"catch_all","value":"1"}],"variable":[]}},"response":[{"id":"01048f12-12b4-4625-9a3f-065a23164673","name":"Email Validator","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/validator/email?email=username@gmail.com&catch_all=1","protocol":"https","host":["moonito","net"],"path":["api","v1","validator","email"],"query":[{"key":"email","value":"username@gmail.com","description":"[Required] Email address to be validate."},{"key":"catch_all","value":"1","description":"[Optional] Catch-All Detection (1 = Yes, 0 = No)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 12 Jul 2024 09:06:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"x-ratelimit-limit","value":"3000"},{"key":"x-ratelimit-remaining","value":"2999"},{"key":"access-control-allow-origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=xyWrhoaNBnUV8BrLp2Mto9cO6bksEjiZgKAmDGYtkti4xWMm%2BUIIXfd6DWAOaLAi5MMeLoOPnOcwcIV0t0qj%2Fr0VyfvbMGslGXPuEa0tVKm5gSEN5M9fSARaMatVGA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8a1fe08119998333-SIN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"email\": \"username@gmail.com\",\n        \"username\": \"username\",\n        \"domain\": \"gmail.com\",\n        \"dns\": \"142.251.175.18\",\n        \"smtp_valid\": true,\n        \"mx_record\": \"alt4.gmail-smtp-in.l.google.com\",\n        \"mx_found\": true,\n        \"spf_found\": false,\n        \"dmarc_found\": true,\n        \"did_you_mean\": \"username@gmail.com\",\n        \"username_readable\": true,\n        \"role\": false,\n        \"disposable\": false,\n        \"score\": 0.9,\n        \"state\": \"deliverable\",\n        \"reason\": \"valid_mailbox\",\n        \"mailbox_full\": false,\n        \"free\": true,\n        \"format_valid\": true,\n        \"catch_all\": false\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"c6ae177a-b273-4316-ad0c-d5b539d568ca"},{"name":"Temporary Email Validator","id":"8836a7fe-497b-4d0a-a279-355af00db57e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/validator/temporary?email=username@mailinator.com","description":"<p>This API endpoint, named the \"Temporary Email Validator,\" serves as a powerful tool to verify the validity of email addresses and detect whether they are associated with temporary or disposable email services. By leveraging this feature, you can enhance the security of your website by identifying and preventing registrations from anonymous users. This proactive measure contributes to making your website a more secure and trustworthy platform.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'email' =&gt; 'anonymous@mailinator.com', // Specify the email address to be validate.\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/validator/temporary?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["validator","temporary"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Email address to be validate.</p>\n","type":"text/plain"},"key":"email","value":"username@mailinator.com"}],"variable":[]}},"response":[{"id":"8f3389a0-31a2-4d55-a674-1daba43e1a6e","name":"Temporary Email Validator","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/validator/temporary?email=username@mailinator.com","host":["https://moonito.net/api/v1"],"path":["validator","temporary"],"query":[{"key":"email","value":"username@mailinator.com"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_temporary\": true,\n        \"username\": \"username\",\n        \"domain\": \"mailinator.com\",\n        \"dns\": \"104.22.12.236\",\n        \"mx_found\": true,\n        \"spf_found\": true,\n        \"dmarc_found\": true,\n        \"message\": \"Detected as temporary/disposable email.\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"8836a7fe-497b-4d0a-a279-355af00db57e"},{"name":"Phone Number Validator","id":"d12927be-1b67-46af-ab2e-3391d7256f90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"<p>[Required] Your API Public Key</p>\n","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"<p>[Required] Your API Secret Key</p>\n","type":"text"}],"url":"https://moonito.net/api/v1/validator/phone?number=16474266051","description":"<p>This API endpoint empowers you to verify the validity of phone numbers and obtain extensive information about them. By leveraging this endpoint, you can not only check whether a phone number is valid but also delve into comprehensive details related to that specific phone number. Unlock a wealth of insights, ranging from the number's legitimacy to deeper information, providing you with a thorough understanding of its attributes and characteristics.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'number' =&gt; '16474266051', // Specify the phone number to be validate (Must include phone number country code).\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/validator/phone?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["validator","phone"],"host":["https://moonito.net/api/v1"],"query":[{"description":{"content":"<p>[Required] Phone number to be validate (Must include phone number country code).</p>\n","type":"text/plain"},"key":"number","value":"16474266051"}],"variable":[]}},"response":[{"id":"57663250-2877-4e7d-823b-ba5da1a96d5d","name":"Phone Number Validator","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","description":"[Required] Your API Public Key","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","description":"[Required] Your API Secret Key","type":"text"}],"url":{"raw":"https://moonito.net/api/v1/validator/phone?number=16474266051","host":["https://moonito.net/api/v1"],"path":["validator","phone"],"query":[{"key":"number","value":"16474266051","description":"[Required] Phone number to be validate (Must include phone number country code)."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"number\": \"16474266051\",\n        \"is_valid\": true,\n        \"type\": \"FIXED_LINE_OR_MOBILE\",\n        \"region\": \"Ontario\",\n        \"country\": \"CA\",\n        \"country_prefix\": \"+1\",\n        \"international_number\": \"+1 647-426-6051\",\n        \"local_number\": \"(647) 426-6051\",\n        \"carrier\": \"\",\n        \"timezone\": \"America/Toronto\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"d12927be-1b67-46af-ab2e-3391d7256f90"}],"id":"dc7e4907-2363-46ed-bf6c-dff6b88f3d96","_postman_id":"dc7e4907-2363-46ed-bf6c-dff6b88f3d96","description":""},{"name":"Webhook","item":[{"name":"Get Webhook","id":"90898214-c4d0-4126-be5b-9f65fd9c9edf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/webhook","description":"<p>Get current webhook url</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/webhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["webhook"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"d86d4b7b-e4ac-4a51-8ced-c6bc15fd23fc","name":"Get Webhook","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://moonito.net/api/v1/webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 03:05:14 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"YOUR-WEBHOOK-URL\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"90898214-c4d0-4126-be5b-9f65fd9c9edf"},{"name":"Set Webhook","id":"0e5e97da-8804-4b73-918c-c7c4a8c0cae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"YOUR-WEBHOOK-URL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/setWebhook","description":"<p>Set webhook url to receive any WhatsApp incoming message and additional data</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'url' =&gt; 'YOUR-WEBHOOK-URL',\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/setWebhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["setWebhook"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"eaa80bbd-2bfc-4e83-a387-ad1e34ef8c01","name":"Set Webhook","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"YOUR-WEBHOOK-URL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://moonito.net/api/v1/setWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 03:03:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"YOUR-WEBHOOK-URL\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"0e5e97da-8804-4b73-918c-c7c4a8c0cae3"},{"name":"Unset Webhook","id":"3d903e1b-7b7b-407d-849e-a488d92bd68d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text","description":"<p>[Required] Your API Public Key</p>\n"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text","description":"<p>[Required] Your API Secret Key</p>\n"}],"url":"https://moonito.net/api/v1/unsetWebhook","description":"<p>Removes the Webhook that has been set</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://moonito.net/api/v1/unsetWebhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'DELETE',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["unsetWebhook"],"host":["https://moonito.net/api/v1"],"query":[],"variable":[]}},"response":[{"id":"723fe3ef-c800-4c21-9b85-ef30d0fafca0","name":"Unset Webhook","originalRequest":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://moonito.net/api/v1/unsetWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 25 Jul 2023 02:10:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"3d903e1b-7b7b-407d-849e-a488d92bd68d"},{"name":"Example Webhook Request","id":"970c209b-5048-429d-8634-b01f4723c7cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ip\": \"8.8.8.8\",\n  \"isp\": \"Google LLC\",\n  \"hostname\": \"dns.google\",\n  \"country\": \"US\",\n  \"ua\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36\",\n  \"device\": \"desktop\",\n  \"browser\": \"Chrome\",\n  \"os\": \"Windows\",\n  \"status\": {\n    \"is_bot\": true,\n    \"need_to_block\": true,\n    \"threat\": {\n      \"is_threat\": false,\n      \"threat_detail\": null,\n      \"events\": \"/login\"\n    },\n    \"detect_activity\": \"BLOCKED (Proxy/VPN/Tor)\"\n  },\n  \"requester\": {\n    \"ip\": \"127.0.0.1\",\n    \"referrer\": null\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://yoursite.com/webhook","description":"<p>For Webhook URLs, you can create them first using the POST JSON Raw data reception method.</p>\n","urlObject":{"protocol":"https","path":["webhook"],"host":["yoursite","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"970c209b-5048-429d-8634-b01f4723c7cf"}],"id":"78c05a7d-38c9-4123-96d8-dbaff7c1c9c0","_postman_id":"78c05a7d-38c9-4123-96d8-dbaff7c1c9c0","description":""}],"event":[{"listen":"prerequest","script":{"id":"9d476566-900a-4413-a9ca-7911bfd79ae0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"88c87a2e-eef3-45ba-b5a3-b0199bd9ec6b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"API_URL","value":"https://moonito.net/api/v1","type":"string"},{"key":"PUBLIC_KEY","value":"YOUR-PUBLIC-KEY","type":"string"},{"key":"SECRET_KEY","value":"YOUR-SECRET-KEY","type":"string"}]}