User Agent Parser

GET

https://api.apifreaks.com/v1.0/user-agent/lookup

format
Format of the Response

Sample Responses

400
LANGUAGE
Python
PHP
Java
Node
Ruby
$ pip install requests
RESPONSE

Click Test it to start the request and see the response here!


API Response

FieldTypeRequirementDescription
userAgentStringStringMandatory
User-agent string that is parsed for browser, device and operating system details.
nameStringMandatory
Agent name or the actual browser name that was used.
typeStringMandatory
Agent type or the browser type that was used. Possible values are: (1) Browser - Regurlar Web Browser (2) Browser Webview - Regular browser being used in a mobile app (3) Mobile App - A mobile app accessing the website (4) Robot Mobile - A web crawler who want to be detected as mobile (5) Cloud Application - Something running in the cloud (can be web scrapper etc.) (6) Email Client - An email client (7) Voice - Voice enabled browser that reads out loud (8) Special - Somethig special we can't classify (9) Testclient - Website testing tool (10) Hacker - Someone with malicious stuff in useragent string or malformed UA string (11) Unknown - We don't know
versionStringMandatory
Agent version or the browser version
versionMajorStringMandatory
Agent version majore or the browser version majore
device.nameStringMandatory
Device name or the hardware that was used
device.typeStringMandatory
Device type or the hardware type. Possible values are: (1) Desktop - This device is a Desktop/Laptop (2) Mobile - This device is a mobile device however we are not sure if its a tablet, watch, e-reader or phone (3) Tablet - This device is a Tablet (4) Phone - This device is a mobile Phone (5) Watch - This device is a watch or device with tiny screen <2" (6) Virtual Reality - This is VR capable mobile device (7) eReader - Device with e-ink screen (8) Set-top box - A connected device that can interact with TV screen (9) TV - Smart TV (10) Game Console - Fixed game consoles like PS and XBox (11) Handheld Game Console - 'Mobile' game systems like the 3DS (12) Voice - A voice driven device that reads the page loud (13) Robot - Robot crawler (14) Robot Mobile - Mobile device Robot crawler (15) Robot Imitator - Robots that pretend to be Google or Bing crawlers but they usually are not official crawlers. (16) Hacker - Either the User Agent String is malformed or some kind of scripting is detected in it. (17) Anonymized - The User Agent has been altered by anonymization software. (18) Unknown - We can't extract the device information from the User Agent.
device.brandStringMandatory
Device brand or the hardware brand name
devide.CPUStringMandatory
Device's CPU model or machine CPU
engine.nameStringMandatory
Layout engine name or the underlying core that converts the HTML into visual
engine.typeStringMandatory
Layout engine type. Possible values are: (1) Browser - Regurlar Web Browser (2) Mobile App - A mobile app with webview or an app that includes regular browser (3) Hacker - Someone with malicious stuff in useragent string or malformed UA string (4) Robot - A web crawler (5) Unknown - We don't know anything about the identity of this device
engine.versionStringMandatory
Layout engine version
engine.versionMajorStringMandatory
Layout engine version major
engine.buildStringMandatory
Layout engine build
operatingSystem.nameStringMandatory
Operating system name or the base software name that runs on the hardware.
operatingSystem.typeStringMandatory
Operating system type. Possible values are: (1) Desktop - A Desktop OS (Desktop/Laptop) (2) Mobile - A Mobile OS (Tablet/Mobile/Watch) (3) Game Console - Game Console like PlayStation (4) Embedded - An Embedded device (TV, RTOS etc) (5) Cloud - Something running in the cloud environment (6) Hacker - A hacker (7) Anonymized - Explicitly hidden with some software (8) Unknown - We really don't know about this OS
operatingSystem.versionStringMandatory
Operating system version
operatingSystem.versionMajorStringMandatory
Operating system version major