{"openapi":"3.1.0","info":{"title":"User-Agent API","version":"1.0.0","description":"A fast, fully-local User-Agent parser: detect the browser (name and version), rendering engine, operating system (name and a friendly version), device type (desktop, mobile, tablet, TV, wearable or bot), a mobile flag, and bot/crawler identity (Googlebot, Bingbot, social-preview bots, GPTBot/ClaudeBot, curl and more). Bot detection is included on every plan. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for analytics, ad-tech, fraud and bot filtering, personalization and access logs.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/useragent-api","description":"oanor gateway"}],"tags":[{"name":"User-Agent"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/bot":{"get":{"operationId":"get_v1_bot","tags":["User-Agent"],"summary":"Bot/crawler detection","description":"","parameters":[{"name":"ua","in":"query","required":true,"description":"User-Agent string","schema":{"type":"string"},"example":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"is_bot":true,"bot_name":"Googlebot","user_agent":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","bot_version":"2.1"},"meta":{"timestamp":"2026-05-30T09:00:24.553Z","request_id":"6bda71eb-345a-498d-a57e-c2e943a4169b"},"status":"ok","message":"Bot check done","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/parse":{"get":{"operationId":"get_v1_parse","tags":["User-Agent"],"summary":"Parse a User-Agent","description":"","parameters":[{"name":"ua","in":"query","required":true,"description":"User-Agent string","schema":{"type":"string"},"example":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"os":{"name":"Windows","version":"10/11"},"engine":{"name":"Blink"},"is_bot":false,"mobile":false,"browser":{"name":"Chrome","version":"124.0.0.0"},"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36","device_type":"desktop"},"meta":{"timestamp":"2026-05-30T09:00:24.629Z","request_id":"ee74af1c-2126-41c3-900c-45f09c19fac6"},"status":"ok","message":"User-Agent parsed","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":11000,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":700,"monthly_call_quota":180000,"rps_limit":15,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2100,"monthly_call_quota":1100000,"rps_limit":50,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":5200,"monthly_call_quota":5500000,"rps_limit":150,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/useragent-api"}