Geo location - Companies

Display list of companies and organizations where your visitors come from.

API Usage

This API produces a json array.


One or more of the following parameters are required:

date Calculate the top companies from the specified date entered as yyyy-MM-dd. Default is the current date.
unixTime Calculate the top companies from the specified unix timestamp. Default is the current unix timestamp.
period Specify the period:

  • d for days, eg: period=14d will show 14rows with daily trends, period=d defaults to 1 day
  • w for weeks, eg: period=12w will show 12 rows with weekly trends, period=w defaults to 1 week
  • m for months, eg: period=4m will show 4 rows with monthly trends, period=m defaults to 1 month

timeZone Calculate the top companies for the specified timezone. The default is the site's defined timezone.
login Your opentracker login email. The default is [].
password Your password.
ticketId A ticketId can be used to provide credentials with an expiring token. A ticketId can be used instead of a login/ password combination. Further information can be found here.
segment This is the property field based on which you want to segment the data. By default there are no segments. You can find more information here.
filter You can choose to see no segments [none] (default), see all segments showAllSorts, or by specifying the name of the segment.
site The site to display data for. Default is [].
filterByText Only companies that contain this text will be shown.
locale The locale parameter is an identifier for a particular combination of language and region (e.g. en_US) and determines the format of the data returned. A list of locales can be found here.
ignoreLocale Display columns without language translation [false]|true.
dataType The dataType parameter determines the format of the data returned. Values can be [ json ] | html | jsondatatable | jsonjqgrid


Display a top organizations for the website for the user "" with password "demo123":
HTTP GET/ POST:/api/location/top_orgs.jsp?period=1d&
Display a top organizations list for the website from 2010-03-03 and three weeks back display in html:
HTTP GET/ POST:/api/location/top_orgs.jsp?date=2010-03-03&
Display a top organizations list for the website for 2010-4-27:
HTTP GET/ POST:/api/location/top_orgs.jsp?date=2010-4-27


This last example returns a json array with 'n' entries starting from the specified period formatted as:

{ "resultsList": [
"error":"org.json.JSONException: JSONObject[\\\"compUniOrg\\\"] not found.\\n\\tat org.json.JSONObject.get(\\n\\tat glowaxes.json.Parser.parse(\\n\\tat glowaxes.json.Parser.parse(\\n\\tat org.apache.jsp.api.location.top_005forgs_jsp._jspService(\\n\\tat org.apache.jasper.runtime.HttpJspBase.service(\\n\\tat jakarta.servlet.http.HttpServlet.service(\\n\\tat org.apache.jasper.servlet.JspServletWrapper.service(\\n\\tat org.apache.jasper.servlet.JspServlet.serviceJspFile(\\n\\tat org.apache.jasper.servlet.JspServlet.service(\\n\\tat jakarta.servlet.http.HttpServlet.service(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(\\n\\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(\\n\\tat org.apache.catalina.filters.ExpiresFilter.doFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(\\n\\tat org.apache.catalina.filters.CorsFilter.handleNonCORS(\\n\\tat org.apache.catalina.filters.CorsFilter.doFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\\n\\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(\\n\\tat org.apache.catalina.core.StandardWrapperValve.invoke(\\n\\tat org.apache.catalina.core.StandardContextValve.invoke(\\n\\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(\\n\\tat org.apache.catalina.core.StandardHostValve.invoke(\\n\\tat org.apache.catalina.valves.ErrorReportValve.invoke(\\n\\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(\\n\\tat org.apache.catalina.core.StandardEngineValve.invoke(\\n\\tat org.apache.catalina.connector.CoyoteAdapter.service(\\n\\tat org.apache.coyote.http11.Http11Processor.service(\\n\\tat org.apache.coyote.AbstractProcessorLight.process(\\n\\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(\\n\\tat$SocketProcessor.doRun(\\n\\tat\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor.runWorker(\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor$\\n\\tat org.apache.tomcat.util.threads.TaskThread$\\n\\tat java.base\/\\n"}


If errors are encountered, the first encountered error will be returned of form "Error: exception: message

Error: java.lang.RuntimeException: Login/ site combination is not valid

We would love to hear your feedback. Please use the facebook comment box below