I read the h3 doc and I am not sure finding the absolute distance between two geo point is one of the use case. There are formulas for it like in this page or google maps provides API for it. I see an h3 API for finding distance between hexagons but not sure how accurately or how to use it across different resolution etc. Any example or details are greatly appreciated. I hope using h3 I may reduce external API usages.
You are correct, there is no current H3 function to calculate the physical distance between two geographic points. We have a function internally in the library that will return the physical distance in kilometers, but we don't currently expose it in the H3 library API. There's an open request for this feature, and it's likely to be added in the next month or two.
Update: this is now available as h3.pointDist