{"uid":"cap_ccfar41y7Ris4GE3AhxZ-","slug":"coco-user-agent-parser-e2af808a","name":"CoCo User Agent Parser","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/user-agent?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"ua":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["browser"],"properties":{"browser":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"os":"Other","device":"Other","browser":"Other","os_version":"","is_bot_like":false,"browser_version":""},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_uBunYJpb8NC8QQIb6qIRt","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, OS, device, and bot-detection fields","exampleAgentPrompt":"Can you parse this user agent string for me and tell me what browser, OS, and device it is, and whether it looks like a bot? The UA is: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36'","exampleUseCases":[{"title":"Bot traffic filter for web analytics","prompt":"I've got this user agent string from an incoming request — 'python-requests/2.31.0' — can you tell me if it's a bot and what OS or browser it maps to, if any?"},{"title":"Classify device type from request logs","prompt":"Parse this user agent for me: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1' — I need to know the device type, browser, and OS version."},{"title":"Browser compatibility check for incoming user","prompt":"A user just hit our site with this UA string: 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0' — what browser and version is that, and is it a known bot?"}],"resultDescription":"A JSON object with fields: browser (name), browser_version, os (operating system name), os_version, device (device category), and is_bot_like (boolean indicating whether the UA appears to be automated/bot traffic).","failureModes":["Empty or missing 'ua' query parameter may return defaults or an error","Unrecognized or highly custom user agent strings may return 'Other' for all fields","Malformed UA strings are parsed best-effort, potentially yielding inaccurate classifications","Very new browser/OS versions not yet in the parser's database may be misidentified"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call user agent parsing API that returns structured browser, OS, device, and bot-detection data from a raw UA string. It is well-suited for agents that process individual HTTP requests or log entries on demand. Prefer it over heavier analytics SDKs when you only need quick UA classification without embedding a full library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:39.184Z","isFirstParty":false,"canonicalSlug":"coco-user-agent-parser-e2af808a"}