Service-Code. Technical details.
In order to obtain the "service codes" it is necessary to send HTTP Request Header "Typ: srv" together with the request itself.
The server replies with numerical service code in case of search bots, spy bots, proxies and Tor network, hosters and data centers IPs; in any other case the country code is returned.
The server replies with numerical service code in case of search bots, spy bots, proxies and Tor network, hosters and data centers IPs; in any other case the country code is returned.
Service codes are two-character numeric data that classifies your visitors to one of the following four types:
- 10-19 - Search robots and spyders (e.g. Google, Yahoo, MSN and so on), including spy-bots that report themselves as ‘human’ visitors,
- 20-29 - Hosting companies and data centers, hidden hosting provider and servers, including all ranges of IP addresses assigned to hosting platforms,
- 30-39 - Public and anonymous proxy-servers, anonymizers, Tor networks,
- 40-49 - satellite providers, mobile customers using international proxies.
When the header "Typ" or the command "srv", is absent from the request, the country code, i.e. the physical location, is returned.
It is also possible to find out simultaneously the service code and the country code where the server or the user of the satellite network (if known) is situated.
In this case the syntax of the pointing header should look like "Typ:cnsrv", and the value returned consists of four symbols instead of two, where the first pair of symbols is the country code, and the last one represents the service code.
For satellite providers the country code usually equals to XX, i.e. "undefined", because it is frequently impossible to detect the physical location of the satellite user.
By type "Typ: srv" for IP addresses absent from the service code database, the country code is returned.
By type "Typ: cnsrv" for IP addresses absent from the service code database, empty value like "--" is returned.
Example 1: 91.121.147.207 belongs to the server of WIPmania.com in France:
"Country code" = FR
"Service code" = 20
"Country code" + "Service code" = FR20
Example 2: 89.59.83.238 - IP of the "normal" DSL-user from Germany:
"Country code" = DE
"Service code" = DE
"Country code" + "Service code" = DE--
Example 3: 91.188.4.17 - stands for the 7Ccell satellite communication company, specializing in ships communication:
"Country code" = XX
"Service code" = 40
"Country code" + "Service code" = XX40
Detailed information on groups of Service-Codes:
1) Search engines (10-19)
- 10 - Bots of big search engines and aggregators (Ask Network, AOL, Lycos, Yandex, Altavista, Baidu, Feedburner ...)
- 11 - Google
- 12 - MSN
- 13 - Yahoo
- 14 - other search bots
- 15 - some spy bots and hidden bots
- 16-19 - reserved
2) Datacenters, Hosting, Servers (20-29)
- 20 - large data centers around the world, dedicated и colocation datacenters, CDN
- 21 - other hosting companies and small hosters
- 22 - Servers located at companies, for which the hosting providing is a sideline activity (Ex: Network providers, web studies with own hosting and AS-number)
- 23 - Hidden server platforms, non-public hosters
- 24 - server and data centers of the internet companies (Ex: eBay, Rapidshare, Digg, Twitter ...)
- 25 - Governmental sites, corporate web- and mail-servers, located in private data centers
- 26-29 - reserved
 
3) Proxies (30-39)
- 30 - Free and paid anonymous proxies, elite proxies, SOCKS-proxies;
- 31 - web-anonymizers
- 32 - Tor network
- 33-39 - reserved
 
4) Satellite providers and mobile customers using international proxies
- 40 - Satellite providers
- 41 - international proxies for mobile version Opera-Mini
- 42-49 - reserved
