adding location total api