Skip to main content

Tracking Endpoints

Some Local Logic datasets are available both by API and by bulk data delivery, depending on a particular client's needs. In addition, caching needs vary.

Local Logic leverages feedback on the use of our data within websites and for specific locations to improve our products, and so in cases a bulk dataset or cached results are included in your contract, you will be asked to call one of Local Logic's tracking endpoints.

The tracking endpoints were built to simplify the API calls that are to be made each time cached or bulk-delivered Local Logic data is accessed for display on a site. The tracking endpoints can be called using the same API parameters as our regular API calls that return data, but they return no results and always result in a 204 status code.

URL Parameter

A specific query parameter requested when the tracking endpoints are invoked is url, with the value being the url of the specific page where the Local Logic data was loaded.

GET v3/scores

Scores tracking calls are made using the same Authorization Header as the usual GET v3/scores calls. Here are some example calls to this tracking endpoint:

GET https://tracking.locallogic.co/v3/scores?lat=33.506005&lng=-112.0887321&url=https:%2F%2Fwww.my-listing-site.com%2FAZ%2FPhoenix%2F1214-W-Highland-Ave-85013%2Fhome%2F26885951

GET https://tracking.locallogic.co/v3/scores?lat=33.8496537&lng=-84.3678922&url=https:%2F%2Fwww.apartments-for-rent.com%2Fa%2FSkyhouse-Buckhead-Atlanta-GA-6191847%2F

GET v3/enhanced-pois & v3/pois

POIs tracking calls are made using the same Authorization Header as the usual GET v3/enhanced-pois or v3/pois calls. Here are some example calls to these tracking endpoints:

GET https://tracking.locallogic.co/v3/enhanced-pois?lat=33.506005&lng=-112.0887321&url=https:%2F%2Fwww.my-listing-site.com%2FAZ%2FPhoenix%2F1214-W-Highland-Ave-85013%2Fhome%2F26885951

GET https://tracking.locallogic.co/v3/pois?lat=33.8496537&lng=-84.3678922&categories=hospitals,rapid_transit_stations&url=https:%2F%2Fwww.apartments-for-rent.com%2Fa%2FSkyhouse-Buckhead-Atlanta-GA-6191847%2F

GET v3/profiles

Scores tracking calls are made using the same Authorization Header as the usual GET v3/scores calls. Here are some example calls to this tracking endpoint:

GET https://tracking.locallogic.co/v3/profiles/g10_f25dvr2f?url=https:%2F%2Fwww.my-listing-site.com%2FAZ%2FPhoenix%2F1214-W-Highland-Ave-85013%2Fhome%2F26885951

GET https://tracking.locallogic.co/v3/profiles?lat=33.8496537&lng=-84.3678922&url=https:%2F%2Fwww.apartments-for-rent.com%2Fa%2FSkyhouse-Buckhead-Atlanta-GA-6191847%2F