v2 is deprecated - support ended in 2016. v4 is newest version - Upgrade now.

The Detector API provides a range of tools for different needs. The preferred method is using a server-side request and storing the segment in the users session, as this provides the best user experience and fewest possible requests to the Detector server. See our implementation guide for simplified examples.

If you are restrained from implementing a server-side request, a simple JavaScript include method is also available.

Be aware of our terms.

The API is available at http://detector-v2.dearapi.com.