Device Location
Verify device location directly from the mobile network. No GPS spoofing possible.
Overview
The Device Location API provides the geographic location of a mobile device as detected by the mobile network operator's infrastructure. Unlike GPS-based location services, network-based location cannot be spoofed by the end user — making it ideal for fraud prevention and compliance use cases.
Location data is returned as a circle (latitude, longitude, and accuracy radius) or polygon, along with a timestamp indicating freshness. You can specify the maximum acceptable age of location data to ensure you're working with recent information.
How It Works
Request device location
Your application sends a location retrieval request with the device identifier and optional maximum age parameter.
Network triangulates position
The mobile operator uses its cell tower infrastructure to determine the device's geographic position — independent of the device's own GPS.
Receive verified location
You receive coordinates (latitude/longitude) with an accuracy radius and timestamp. The data comes directly from the network, making it spoof-proof.
API Endpoints
/location-retrieval/v1/retrieveRetrieve the current location of a mobile device from the network.
// Request
{
"device": {
"phoneNumber": "+34629341502"
},
"maxAge": 60 // seconds
}
// Response
{
"area": {
"type": "CIRCLE",
"center": {
"latitude": 40.4168,
"longitude": -3.7038
},
"radius": 800
},
"lastLocationTime": "2026-03-31T10:15:00Z"
}Use Cases
Fraud Prevention
Verify user location during high-risk transactions. Detect requests originating from unexpected or high-risk locations.
Delivery Verification
Confirm that the recipient's device is near the delivery address before releasing goods or completing service handoffs.
Geofencing
Trigger location-based actions when a device enters or leaves a defined area. Useful for fleet management and asset tracking.
Regulatory Compliance
Verify user location for jurisdiction-specific services like online gambling, content licensing, or financial regulations.
Supported Operators
Available with sandbox and production endpoints across multiple regions. Learn more at CAMARA Project →
Ready to locate?
Start integrating Device Location into your application today.