\r\n

51Degrees API Documentation  4.5

Device Detection Quick Start

Getting Started with Device Detection

51Degrees Device Detection offers two integration options. Each has different benefits to match your needs:

Choose Your Integration

Cloud Service #

Best for: Quick setup, minimal infrastructure, cost-effective scaling

Benefits:

  • No setup needed - No data files or local infrastructure required
  • Always updated - Latest device data without manual updates
  • Minimal resources - Very low CPU/RAM usage on your servers
  • Pay-as-you-go - Cost scales with usage
  • Global availability - Multiple data centers for low latency

Things to consider:

  • Network dependency - Requires internet connectivity and handles latency (typically 10-50ms)
  • External service - Detection processing occurs on 51Degrees infrastructure

Authentication: Requires a Resource Key


On-premise Deployment #

Best for: High-performance, privacy-sensitive, or offline environments

Benefits:

  • Ultra-low latency - Sub-microsecond detection time with in-process deployment
  • Complete privacy - All processing stays within your infrastructure
  • High throughput - Over 1 million detections per second per CPU core
  • Offline capable - No internet dependency for detection
  • Full control - Customize update schedules and deployment architecture

Things to consider:

  • Setup required - Initial configuration and data file management
  • Resource usage - Uses local CPU/RAM (optimized but measurable)
  • Update management - Periodic data file updates needed for latest devices (automatic updates available)

Licensing: Requires a License Key


Which Integration Should I Choose?

Use Case Recommended Why
Prototyping & Development Cloud Fastest setup, no infrastructure overhead
Low-volume Production Cloud Cost-effective, automatic updates
High-traffic Web Servers On-premise Maximum performance, cost efficiency at scale
Real-time Applications On-premise Sub-microsecond latency requirements
Edge/CDN Integration On-premise Offline capability, minimal latency
Privacy-sensitive Applications On-premise Data never leaves your infrastructure
Variable Traffic Patterns Cloud Pay-as-you-go scaling

Enhanced Accuracy Options

For more accurate results (especially for identifying specific iPhone/iPad models), consider enabling client-side evidence collection.


Language-Specific Integration

Most programming languages support both integration models. Select your language below for detailed setup instructions:

Select a language.