{"uid":"cap_-vm4jH_n6yIlraEyizHo3","slug":"agentsvc-io-user-agent-parser-ba393d46","name":"agentsvc.io User-Agent Parser","description":"Parse a User-Agent string into browser, engine, OS, device type/vendor/model and CPU, and flag bots and AI crawlers (GPTBot, ClaudeBot, PerplexityBot ...). Params: user_agent (required).","url":"https://agentsvc.io/api/v1/proxy/useragent-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"user_agent":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"os":{"name":"iOS","version":"17.5"},"cpu":null,"device":{"type":"mobile","model":"iPhone","vendor":"Apple"},"engine":{"name":"WebKit","version":"605.1.15"},"is_bot":false,"browser":{"name":"Mobile Safari","major":"17","version":"17.5"},"is_mobile":true,"is_tablet":false,"user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1","is_ai_crawler":false},"success":true}},"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":"1.00","reviews":0,"stars":null,"state":"rated"},"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_38FSUEEvMWe0NOvwUphdL","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":"Parses a raw User-Agent string into structured device, browser, OS, and bot-detection fields","exampleAgentPrompt":"Parse this user agent string for me and tell me what browser, OS, and device it came from, and whether it's a bot or AI crawler: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1'","exampleUseCases":[{"title":"Bot traffic detection in logs","prompt":"I have this user agent from my server logs — can you tell me if it's a real browser or a bot? Here it is: 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'"},{"title":"Mobile vs desktop segmentation","prompt":"Can you parse this user agent and tell me whether it came from a mobile phone, tablet, or desktop? The string is: 'Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36'"},{"title":"AI crawler identification","prompt":"Check if this user agent belongs to an AI crawler or scraper — I want to know if it's a known AI agent hitting my site: 'Mozilla/5.0 (compatible; GPTBot/1.0; +https://openai.com/gptbot)'"}],"resultDescription":"Returns a JSON object with fully parsed user agent details: browser name, major version, and full version; OS name and version; device type (mobile/tablet/desktop), model, and vendor; CPU architecture; rendering engine name and version; plus boolean flags for is_mobile, is_tablet, is_bot, and is_ai_crawler.","failureModes":["Empty or missing user_agent field returns an error or null-populated response","Highly non-standard or obfuscated user agent strings may result in null fields for unrecognized components","Very new browser/OS versions not yet in the parser database may be misidentified","Spoofed user agents will be parsed at face value without deception detection"],"whenToPreferThis":"Choose this endpoint when you need structured, field-level breakdown of a raw User-Agent string at low cost ($0.002/call), especially when you need bot detection or AI crawler flagging alongside standard browser/OS/device parsing, without needing to set up an account or API key. Ideal for per-event enrichment in serverless or agent workflows paying per call via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-26T04:06:12.634Z","lastSuccessfullyRanAt":"2026-10-26T04:06:12.634Z","lastHealthCheckAt":"2026-11-30T21:47:04.261Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-user-agent-parser-ba393d46"}