Support > Documentation

API v. 3 - Reference - method "parse"

information about useragent and/or IP address.


 
Send GET or POST request to "https://api.udger.com/v3/parse" with following parameters.

ParameterDescriptionMandatory
accesskeyYou access keyYes
uaurlencode useragent stringNo
ipurlencode IP address v4 or v6No

Request example:

GET
https://api.udger.com/v3/parse?accesskey=XXXXXX&ua=Mozilla%2F5.0+%28compatible%3B+MSIE+10.0%3B+Windows+NT+6.1%3B+Trident%2F6.0%29&ip=66.249.64.1

Error answer (example):

{
	"error":400,
	"errortext":"BAD REQUEST"
}

Correct answer (example):

{  
   "user_agent":{  
      "ua_string":"Mozilla\/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident\/6.0)",
      "ua_class":"Browser",
      "ua_class_code":"browser",
      "ua":"IE 10.0",
      "ua_version":"10.0",
      "ua_version_major":"10",
      "ua_uptodate_current_version":"11",
      "ua_family":"IE",
      "ua_family_code":"ie",
      "ua_family_homepage":"https:\/\/en.wikipedia.org\/wiki\/Internet_Explorer",
      "ua_family_vendor":"Microsoft Corporation.",
      "ua_family_vendor_code":"microsoft_corporation",
      "ua_family_vendor_homepage":"https:\/\/www.microsoft.com\/about\/",
      "ua_family_icon":"msie.png",
      "ua_family_icon_big":"msie_big.png",
      "ua_family_info_url":"https:\/\/udger.com\/resources\/ua-list\/browser-detail?browser=IE",
      "ua_engine":"Trident",
      "os":"Windows 7",
      "os_code":"windows_7",
      "os_homepage":"https:\/\/en.wikipedia.org\/wiki\/Windows_7",
      "os_icon":"windows-7.png",
      "os_icon_big":"windows-7_big.png",
      "os_info_url":"https:\/\/udger.com\/resources\/ua-list\/os-detail?os=Windows 7",
      "os_family":"Windows",
      "os_family_code":"windows",
      "os_family_vendor":"Microsoft Corporation.",
      "os_family_vendor_code":"microsoft_corporation",
      "os_family_vendor_homepage":"https:\/\/www.microsoft.com\/about\/",
      "device_class":"Desktop",
      "device_class_code":"desktop",
      "device_class_icon":"desktop.png",
      "device_class_icon_big":"desktop_big.png",
      "device_class_info_url":"https:\/\/udger.com\/resources\/ua-list\/device-detail?device=Desktop",
      "device_brand": "",
      "device_brand_code": "",
      "device_brand_homepage": "",
      "device_brand_icon": "",
      "device_brand_icon_big": "",
      "device_brand_info_url": "",
      "crawler_last_seen":"",
      "crawler_category":"",
      "crawler_category_code":"",
      "crawler_respect_robotstxt":""
   },
   "ip_address":{  
      "ip":"66.249.64.1",
      "ip_ver":4,
      "ip_classification":"Crawler",
      "ip_classification_code":"crawler",
      "ip_hostname":"crawl-66-249-64-1.googlebot.com",
      "ip_last_seen":"2016-01-12 08:31:41",
      "ip_country":"United States",
      "ip_country_code":"US",
      "ip_city":"Mountain View",
      "crawler_name":"Googlebot\/2.1",
      "crawler_ver":"2.1",
      "crawler_ver_major":"2",
      "crawler_family":"Googlebot",
      "crawler_family_code":"googlebot",
      "crawler_family_homepage":"http:\/\/www.google.com\/bot.html",
      "crawler_family_vendor":"Google Inc.",
      "crawler_family_vendor_code":"google_inc",
      "crawler_family_vendor_homepage":"https:\/\/www.google.com\/about\/company\/",
      "crawler_family_icon":"bot_googlebot.png",
      "crawler_family_info_url":"https:\/\/udger.com\/resources\/ua-list\/bot-detail?bot=Googlebot",
      "crawler_last_seen":"2016-03-14 07:40:11",
      "crawler_category":"Search engine bot",
      "crawler_category_code":"search_engine_bot",
      "crawler_respect_robotstxt":"yes",
      "datacenter_name":"",
      "datacenter_name_code":"",
      "datacenter_homepage":""
   }
}
Among our clients
View more...
 SAP  
 MailChimp  
 Dailymotion SA  
 Akamai Technologies, Inc.  
 Oracle  
 PayPal Holdings, Inc.  
x We have placed cookies on your device to make your experience better. Find more info here.