Welcome to 51Degrees🔗
Device, network, and location data from web requests
Use 51Degrees to detect devices and retrieve location and network data from web requests.
What we do🔗
Our services include:
- Device Detection - Detect 250+ device properties from HTTP headers and other signals to tailor every user experience.
- IP Intelligence - Retrieve geolocation, ISP, and network data from IP addresses.
- Human Confidence - Rate every visit High, Medium, or Low by how likely it is that a person is viewing the page, and Unknown where the 51Degrees script has not run.
- Reverse Geocoding - Transform latitude and longitude into real-world addresses, cities, and regions.
- Identifiers - Generate 51Dids, identifiers that name the terms they were created under, and capture user marketing preferences (PMP) to feed downstream systems.
- In-process deployment - Run detection in your application process.
- On-premise deployment - Run the services on your own servers.
Get started🔗
Mix and match our services to fit your needs:
Device Detection🔗
Identify devices, browsers, and capabilities to deliver tailored experiences across smartphones, tablets, desktops, TVs, and IoT devices.
- Overview - How it works and why it matters
- Quick Start - Cloud vs. On-premise setup
- Apple Detection - Pinpoint specific iPhone/iPad models
IP Intelligence🔗
Retrieve geolocation, ISP, and network data for fraud prevention, personalization, and geographical restrictions.
- Overview - Understand network data and location capabilities
- Quick Start - Integrate in minutes
Human Confidence🔗
How likely it is that a person, not a script, is viewing the page, from the 51Degrees cloud. Measure it in your analytics, or act on it from your server.
- Overview - What the answers mean and how to use them
- Quick Start - From License Key to the first answer
- Deploy with the cloud - Decide what each visit gets on your server
- Analytics - Send Human Confidence to your reports, with Google Analytics 4 step by step
Reverse Geocoding🔗
Convert GPS coordinates to addresses, cities, and regions.
- Overview - Map coordinates to addresses, cities, and regions
- Quick Start - Step-by-step implementation guide
Identifiers🔗
Generate signed, probabilistic device-bound identifiers (51Did). Use the Preference Management Platform (PMP), an embeddable preference widget, to pass id.usage to 51Did.
- Overview - How the pieces fit together
- 51Did - Properties,
id.usage, licensing - PMP - Embeddable preference widget
- ADI - Embeddable ad inspector that tells a visitor why an ad was served
Client-side only🔗
Run device detection directly in the browser without server-side code.
- configure.51degrees.com - Create a Resource Key and get the JavaScript snippet for it
- Resource Key guide - Creating a Resource Key step by step
- Cloud API Reference - Complete HTTP API documentation
Language support🔗
Use the following libraries to integrate Device Detection and IP Intelligence:
| Language | Device Detection | IP Intelligence |
| .NET (C#) | device-detection-dotnet | ip-intelligence-dotnet |
| Java | device-detection-java | ip-intelligence-java |
| Go | device-detection-go | ip-intelligence-go |
| Node.js | device-detection-node | ip-intelligence-node |
| Python | device-detection-python | ip-intelligence-python |
| PHP | device-detection-php | - |
Specialized integrations🔗
Tailor your setup for maximum performance:
- Nginx Module - integrate device detection at the edge
- Google Analytics 4 - send device, location, crawler and Human Confidence properties to your reports
- Prebid Integration - enrich OpenRTB bid requests
- UA Parser JS - integrate with the cloud API
- Varnish Module - cache smarter, deliver faster
Explore all our SDKs on GitHub.
Common use cases🔗
Here's how you can combine our services for real-world results:
🎯 Enhanced user experience🔗
Device Detection + IP Intelligence = spot-on content delivery.
Detect mobile users in rural areas and serve relevant content tailored to their needs.
🛡️ Fraud prevention and security🔗
Combine Device Detection and IP Intelligence to assess device and location patterns.
Spot suspicious device and location patterns, detect bots, and flag logins that need a closer look.
📊 Programmatic advertising🔗
Device Detection + IP Intelligence + Prebid Integration = better targeting.
Enrich bid requests with precise device and location data for sharper targeting.
📈 Advanced analytics🔗
Combine Device Detection and IP Intelligence to segment audiences by device and location.
See the difference between "iPhone users in London" and "Android tablet users in rural areas" for highly targeted insights.
🌍 Location and personalization🔗
Combine IP Intelligence and Reverse Geocoding for location-based experiences.
Apply rules that differ by country or region, such as data protection law and local content licensing, and personalize content by location.
⚡ Performance optimization🔗
Device Detection + IP Intelligence = faster, smarter websites.
Serve optimized images, adjust content for connection speeds, and choose the best CDN for each user.
Documentation hub🔗
Everything you need to succeed:
💡 Quick starts🔗
- Device Detection - Cloud vs. On-premise
- IP Intelligence - Location and network data
- Human Confidence - People or scripts
- Reverse Geocoding - From coordinates to addresses
- Identifiers - 51Did and PMP
Detailed guides🔗
- Device Detection Overview
- IP Intelligence Overview
- Human Confidence Overview
- Reverse Geocoding Overview
- Identifiers Overview
Advanced topics🔗
💬 Get support🔗
We're here to help every step of the way:
- Have quick questions? Raise an issue on GitHub
- Need enterprise support? Email us at support@51degrees.com
- Looking for API details? Check the Cloud API documentation
- Want performance tips? Get in touch for optimization advice.
