{"uid":"cap_F3KmbHsjSC3IEMsNqjl6w","slug":"agenttools-user-agent-parser-515bf383","name":"AgentTools User-Agent Parser","description":"Parse a User-Agent header into structured data: browser (name/version), rendering engine, operating system, and device type/vendor/model. Deterministic — the same string always parses identically. Use this when an agent needs to uA string → browser, engine, OS and device.","url":"https://agenttools-hub.vercel.app/api/v1/dev/useragent-parse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["userAgent"],"properties":{"userAgent":{"type":"string","description":"User-Agent string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sxdioBlYi21zWVtHAftJv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a User-Agent string into structured browser name/version, rendering engine, operating system, and device type/vendor/model data.","exampleAgentPrompt":"Can you parse this user agent string for me — 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1' — and tell me the browser, engine, OS, and device type?","exampleUseCases":[{"title":"Identify visitor device from request log","prompt":"I have a user agent string from my server logs — 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36' — can you parse it and tell me the browser name, version, and OS?"},{"title":"Detect mobile vs desktop traffic","prompt":"Parse this user agent for me: 'Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36' — I need to know the device type, vendor, and model."},{"title":"Check rendering engine for compatibility","prompt":"What rendering engine and browser version does this user agent string correspond to: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15'?"}],"resultDescription":"Returns structured JSON containing the browser name and version, rendering engine name, operating system name and version, and device type (desktop, mobile, tablet), vendor, and model — all deterministically parsed from the input User-Agent string.","failureModes":["Missing or empty userAgent query parameter returns a validation error","Unrecognized or highly custom user agent strings may return unknown/null fields for some properties","Malformed user agent strings may yield partial or empty results","Network or server errors return non-200 status codes"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, server-side parse of a raw User-Agent string into structured browser, engine, OS, and device fields — especially when you need reliable results without maintaining your own UA parsing library or database. Ideal for log analysis pipelines, analytics enrichment, or any workflow where a raw HTTP User-Agent header must be decoded programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:06.088Z","isFirstParty":false,"canonicalSlug":"agenttools-user-agent-parser-515bf383"}