{"uid":"cap_FiPU6to5tGo2A5o7MJokO","slug":"user-agent-classifier-09ef8d8b","name":"User-Agent Classifier","description":"Classify a User-Agent by device form factor and return convenience booleans (isBot, isMobile, isTablet, isDesktop, isTouchCapable) for routing decisions.","url":"https://useragent.openverbs.com/v1/classify","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["ua"],"properties":{"ua":{"type":"string","description":"The User-Agent header string."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vh4uPFGCRBF45FUlAIIFa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a User-Agent header string to identify the browser, OS, device type, or bot behind an HTTP request","exampleAgentPrompt":"Can you classify this user-agent string for me and tell me what browser, OS, and device type it represents: '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'?","exampleUseCases":[{"title":"Bot vs. human traffic detection","prompt":"I need to know if this user agent is from a real browser or a bot: 'Googlebot/2.1 (+http://www.google.com/bot.html)' — can you classify it for me?"},{"title":"Mobile vs. desktop segmentation","prompt":"Can you tell me whether this user agent is coming from a mobile or desktop device? Here's the string: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36'"},{"title":"Browser compatibility logging","prompt":"For my analytics pipeline, classify this user agent and extract the browser name and version: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15'"}],"resultDescription":"Returns a structured classification of the submitted User-Agent string, including browser name and version, operating system, device type (mobile/desktop/tablet), and whether the agent is a bot or human client.","failureModes":["Missing or empty 'ua' field returns a validation error","Malformed or unrecognized user-agent strings may return low-confidence or unknown classifications","Network errors or service unavailability return non-2xx HTTP responses","Incorrect bodyType specification may cause request parsing failures"],"whenToPreferThis":"Use this endpoint when you need real-time, per-request classification of User-Agent strings — ideal for server-side analytics, access control, bot detection, and device-specific routing. Prefer it over regex-based libraries when you want a hosted, maintained classification service that handles edge cases and evolving user agent formats without managing local databases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:24.542Z","isFirstParty":false}