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.
Be aware of our terms.
The API is available at http://detector-v2.dearapi.com.