I'm sending a number of points to Google's Roads API to adjust them to roads. Note that this is the "Nearest Roads" function and not the "Snap To Roads" one, so the points don't form a path. When I get my results back, there are more points returned than given, but many of those points are duplicates. When I remove the duplicates there's less than what was given. The problem is reproducible with the URL and set of points below, just enter your own API key. I provide 20 points but end up getting 35 back.
'https://roads.googleapis.com/v1/nearestRoads?points=33.9882659912109,-118.47038269043001|33.9992523193359,-118.462142944336|33.9937591552734,-118.447036743164|33.9951324462891,-118.456649780273|33.991012573242195,-118.455276489258|33.9827728271484,-118.469009399414|33.9882659912109,-118.464889526367|33.981399536132805,-118.463516235352|34.003372192382805,-118.462142944336|33.986892700195305,-118.47175598144501|33.997879028320305,-118.463516235352|34.003372192382805,-118.452529907227|33.9882659912109,-118.474502563477|33.996505737304695,-118.47175598144501|33.981399536132805,-118.466262817383|34.001998901367195,-118.463516235352|33.996505737304695,-118.46076965331999|33.9937591552734,-118.466262817383|33.9992523193359,-118.469009399414|33.9937591552734,-118.463516235352&key=INSERT_YOUR_API_KEY_HERE'
I found this question with a similar issue, but it's specific to Snap To Roads so the solution doesn't apply here.
According to the documentation, that API returns 1 response for one way roads, 2 responses for two way roads and includes the index of the original input point as well:
So if the nearby roads are two way, one would expect twice as many points in the response as in the request.
And it looks like with your data, many of the roads are two way, return two points, but the data is such that the two points are the same. According to the response that comes back for your request, there are 35 points returned, all of the original points are represented in the response.
proof of concept fiddle putting the response data into a MarkerClusterer
code snippet: