Skip to content
GET /api/v1/inspect-user-agent

User Agent Inspector

Parse a User-Agent string to detect browser, operating system, device type and bot status

Parameters

name in type required description
user_agent query string required User Agent String

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/inspect-user-agent?user_agent=Mozilla%2F5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F120.0.0.0%20Safari%2F537.36" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.browser
Browser family and version, split into major, minor and patch.
data.os
Operating system family and version.
data.device
Device family, brand and model, when known.
data.is_bot
True when the string belongs to a known crawler or bot.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "User\u2011Agent inspection successful",
    "data": {
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
        "is_bot": false,
        "device": {
            "family": "Other",
            "model": null,
            "brand": null
        },
        "os": {
            "family": "Windows",
            "major": "10",
            "minor": null,
            "patch": null
        },
        "browser": {
            "family": "Chrome",
            "major": "120",
            "minor": "0",
            "patch": "0"
        },
        "scanned_at": "2026-09-18T12:00:00+00:00"
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

Common use cases

Analytics and visitor profiling

Parse User-Agent strings from your access logs to understand your audience's browser, OS, and device breakdown without relying on client-side analytics.

Bot detection and filtering

Identify crawlers, scrapers, and automated bots accessing your application. Route bot traffic differently or block known bad actors.

Responsive content serving

Detect mobile vs desktop devices server-side and serve optimized content, images, or layouts before the page even loads.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy