1 512 537 4216
Austin, TX

Retrieve information about our website visitors

The Mob42 API (Application Programming Interface) is designed to automate traffic retrieval from our websites and partner websites (Militaryschooler, AMCSUS, etc).

The Mob42 API (Application Programming Interface) is designed to automate traffic retrieval from our websites and partner websites (Militaryschooler, AMCSUS, etc).

Knowing how users interact with your website, as well as with other properties, will give you better insights into the users of your website and allow you to better understand the journey they take when researching your own and other schools.

It should be so easy in this interconnected world to build online profiles of visitors to a website. There are many services that will sell you information based on an email address, but most users do not wish to share an email address in the beginning of their buyer's journey. However, you can still get information about their browser useragent, their IP address (with a rough location), and most importantly the pages they visited.

Our API allows you to retrieve the following information, based on a user's IP address

  • Status - What we think about the user (good, school, unknown, mob42, bot, trash)
  • Nickname - An internal nickname given to bots or known users (like FUMA)
  • City
  • Region - State
  • Country
  • Areacode
  • All Pageviews - in descending order

The API can be used for any IP in our user database (with 106,151 unique IP addresses as of Feb 2018). You can look up any user on your website, whether they came there via Mob42 or not. However, if if they have not visited our websites we will not have information about them.

You must have a key to utilize the API. Just contact Mob42 to be issued one.

Example API Query

A query of:

https://api.mob42.com/1/ip/?property=XXXXXXX&ip=XXX.XXX.XXX.XXX&key=XXXXXXXXXX

Will return a JSON (Javascript Object Notation) formatted result of:

        [info] => stdClass Object
          (
            [status] => trash/unknown/good/school/mob42/bot
            [nickname] => XXXXXXXXXXXXXXX
            [ip] => XXX.XXX.XXX.XXX
            [property] => amcsus/militaryschooler
            [city] => City Name
            [region] => State Name
            [country] => Country Code
            [areacode] => XXX
          )

        [pages] => Array
          (
            [0] => pagename
            [1] => pagename
            [2] => pagename
            [3] => pagename
          )

Example PHP code is available in the API Documentation.

If all of this sounds great, but you do not know how to get started, we can help with that too. Please just get in touch with us.

related blog posts

One of the first things I learned as a new cadet was that “the only thing necessary for evil to triumph was for good men (and women) to do nothing”. We will not sit and do nothing. We will work past adversity and use our talents to do all that we can to help these great military schools thrive.

We are excited to announce that Mob42 is building the new web presence for the Association of Military Colleges and School of the United States. AMCSUS member schools represent the top schools using the military model.

  • Andrew Erickson
    Andrew Erickson

    Relationship Developer

    Andrew is a true boarding school fanatic. At various times in his career he has been a computer science teacher, coach of a nationally ranked team, and admissions & marketing director at several boarding schools. He attended a military boarding school for five years. In his scant free time, Andrew reads a lot, kayaks, photographs, and explores our great country with his wife, two awesome children and their rarely trusty dog.

     

    Author Links: linkedin | facebook | twitter | google+ | instagram | website | andrew@mob42.com