Docs/Web Intel/GET /v1/user-agent

GET /v1/user-agentUser-Agent parser

Web Intel lf-web-intel

Works out which browser, operating system and device a User-Agent string belongs to. Parses a User-Agent string and identifies the browser, engine, OS, and device type.

Query Parameters

ParameterTypeRequiredDescription
uastringNoUser-Agent string to parse

Response Schema

success (boolean): Operation success
browser (string): Browser name
browser_version (string): Browser version
os (string): Operating system
device (string): Device type
engine (string): Rendering engine

cURL Example

curl 'https://lf-web-intel.laminarforge.dev/v1/user-agent?ua=Mozilla/5.0%20...' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-web-intel.laminarforge.dev/v1/user-agent'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'ua': 'Mozilla/5.0 (Windows NT 10.0; rv:91.0)'}
response = requests.get(url, headers=headers, params=params)
print(response.json())