Determine the server for your API query

When using the Data Extraction API, you include the server URL for your N-sight account territory in your queries.

https://{SERVER}/api/?apikey={yourAPIkey}&service=service_name&parameter=xxx

The database server to query depends on the territory your account is registered under. The current territories and their URLs are:

Territory and URL

For example, if your account is in the United Kingdom, your server URL is: https://www.systemmonitor.co.uk/

Using the list_server API call, the query looks like:

<https://www.systemmonitor.co.uk/api/?apikey=1234567890abcdefg&service=list_servers&siteid=123>

Determine API Server URL from N-sight URL

If you're unsure of your N-sight account territory:

  • Look at the URL you use to access N-sight as it may include a region reference, or
  • If the URL does not mention a region, for example a custom domain, append /dashboard to one of above URLs and attempt login to your N-sight at the prompt. Based on the United Kingdom this would look like: https://www.systemmonitor.co.uk/dashboard
  • If you cannot determine the region from a custom N-sight URL. Open a command prompt or terminal on the device and perform an nslookup on the custom N-sight URL:
nslookup dashboard.custom.domain  
...  
Non-authoritative answer:  
Name:    dashboard.systemmonitor.co.uk  
...

What’s Next