Services
GPS map-matching and nearest road API
Two small services for GPS data. Map-matching snaps a trace to the roads that were driven. Nearest road returns the closest road segment for a point.
One third of Google's bill. $3.30 vs $10.00 per 1,000 points
Example: 20,000 points a month. Google $150, us $50. You save $101 a month.
Example
Endpoint POST /match, POST /nearest
Request
curl https://api.argamin.ai/v1/match \
-H "Authorization: Bearer am_test_..." \
-H "Content-Type: application/json" \
-d '{
"points": [
{
"lat": 51.5072,
"lng": -0.1276,
"timestamp": "2026-11-26T14:00:00Z"
},
{
"lat": 51.5081,
"lng": -0.1259,
"timestamp": "2026-11-26T14:00:05Z"
},
{
"lat": 51.5093,
"lng": -0.1241,
"timestamp": "2026-11-26T14:00:10Z",
"radius": 15
}
],
"geometry": "polyline6"
}' Response
{
"matchings": [
{
"confidence": 0.94,
"distance": 310,
"duration": 24,
"geometry": "<encoded polyline6 string>"
}
],
"points": [
{
"index": 0,
"location": {
"lat": 51.50721,
"lng": -0.12762
},
"name": "road name",
"matching_index": 0
},
{
"index": 1,
"location": {
"lat": 51.50809,
"lng": -0.12589
},
"name": "road name",
"matching_index": 0
},
{
"index": 2,
"location": {
"lat": 51.50931,
"lng": -0.12412
},
"name": "road name",
"matching_index": 0
}
],
"request_id": "req_2b9d6f1e0c8a4e7f9a3b5c7d1e2f4a6b"
} Limits
- Map-matching: up to 100 GPS points per request
- Nearest road: up to 100 points per request
- Returns snapped coordinates and road-network distance
- Billed on success only
Price
GPS map-matching: $3.30 per 1,000 points, 5,000 free every month. Google charges $10.00 (33%-33%).
Nearest road: $3.30 per 1,000 requests, 5,000 free every month. Google charges $10.00 (33%-33%).
| Service | Unit | Free / month | 0 - 100K | 100K - 500K | 500K - 1M | 1M - 5M | 5M+ |
|---|---|---|---|---|---|---|---|
| GPS map-matching | point | 5,000 | $3.30 | $2.60 | $2.00 | $1.00 | $0.25 |
| Nearest road | request | 5,000 | $3.30 | $2.60 | $2.00 | $1.00 | $0.25 |
A good fit
Cleaning driver GPS tracks, computing driven distance, and validating that a stop is on a drivable road.
Not the right tool
Coverage outside our listed countries. Out-of-coverage points return an OUT_OF_COVERAGE error and are not billed.