किसी भी ब्राउज़र उपयोगकर्ता एजेंट स्ट्रिंग को संरचित विवरणों में पार्स करें: ब्राउज़र का नाम और संस्करण, रेंडरिंग इंजन, ऑपरेटिंग सिस्टम, डिवाइस प्रकार और प्रोसेसर आर्किटेक्चर, एक अंतर्निहित ध्वज के साथ जो क्राउलरों और निगरानी रोबोट्स को चिह्नित करता है
{"browser":{"name":"Chrome","version":"126.0.0.0","major":"126"},"engine":{"name":"Blink","version":"126.0.0.0"},"os":{"name":"Windows","version":"10"},"device":{"type":"desktop"},"cpu":{"architecture":"amd64"},"is_bot":false}
curl --location --request GET 'https://zylalabs.com/api/13151/user+agent+parser+and+bot+detector+api/26697/parse+user+agent+string' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए उपयोगकर्ता एजेंट पार्सर और बॉट डिटेक्टोर API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
अग्रणी कंपनियों का भरोसा
कच्चे उपयोगकर्ता एजेंट स्ट्रिंग्स को साफ एनालिटिक्स-तैयार डेटा में बदलें एक कॉल ब्राउज़र, रेंडरिंग इंजन, ऑपरेटिंग सिस्टम, डिवाइस और प्रोसेसर अनुभागों को लौटाता है, साथ ही एक बूलियन झंडा जो क्रॉलर, स्पाइडर और मॉनिटरिंग एजेंटों को चिह्नित करता है
एनालिटिक्स डैशबोर्ड के लिए उपयोगी, मोबाइल और डेस्कटॉप के लिए विभिन्न लेआउट प्रस्तुत करना, लॉग समृद्धि और दुर्व्यवहार की जांच
The endpoint returns structured data that includes details about the browser, rendering engine, operating system, device type, processor architecture, and a boolean flag indicating whether the user agent is a bot.
प्रतिक्रिया में प्रमुख क्षेत्र शामिल हैं "ब्राउज़र" (नाम और संस्करण) "इंजन" (नाम और संस्करण) "ओएस" (नाम और संस्करण) "डिवाइस" (प्रकार) "सीपीयू" (आर्किटेक्चर) और "is_bot" (बूलियन ध्वज)
The response data is organized in a JSON format, with each key representing a specific category (e.g., browser, os) and nested objects providing detailed attributes like name and version.
The endpoint provides information about the user's browser, rendering engine, operating system, device type, processor architecture, and whether the user agent is a bot, enabling comprehensive analytics.
उपयोगकर्ता अपने अनुरोधों को कस्टमाइज़ कर सकते हैं कृत्रिम एजेंट स्ट्रिंग को क्वेरी पैरामीटर के रूप में भेजकर एक हेडर में या अनुरोध बॉडी के भीतर जिससे डेटा प्रस्तुत करने में लचीलापन मिलता है
The "browser" field indicates the web browser used, "os" specifies the operating system, "device" denotes the type (e.g., mobile or desktop), "cpu" shows the processor architecture, and "is_bot" indicates if the user agent is a bot.
Typical use cases include enriching analytics dashboards, optimizing content for different devices, filtering out bot traffic from engagement metrics, and conducting abuse investigations.
Data accuracy is maintained through continuous updates and quality checks that ensure the parsing logic is aligned with the latest user agent formats and browser versions.