GET
/
v1
/
insights
/
single-metric
/
score
curl --request GET \
  --url https://api.findloka.com/v1/insights/single-metric/score \
  --header 'Authorization: <authorization>'
{
  "metric": "shopping_score",
  "score": 8,
  "score_range": {
    "min": 0,
    "max": 10
  }
}

Overview

The Single Metric Score API allows you to retrieve the score for a specific insight metric at a given address. This endpoint is useful for analyzing individual location metrics without requesting all available data.

To obtain an API key, please contact our sales team.

Authorization

Authorization
string
required

Your API key for authentication

Query Parameters

metric
string
required

The name of the metric to retrieve (e.g., “shopping_score”, “dining_score”, “safety_score”)

address
string
required

The full address for which to retrieve the metric score

{
  "metric": "shopping_score",
  "score": 8,
  "score_range": {
    "min": 0,
    "max": 10
  }
}

Notes

  • The response includes:
    • metric: The name of the requested metric
    • score: A numerical score (typically 0-10) representing the quality of that aspect of the location
    • score_range: The minimum and maximum possible scores for reference
  • A score of -1 indicates that data for the requested metric is not available for the given address
  • Higher scores typically indicate better performance for that metric
  • For a list of available metrics, use the Available Metrics endpoint
  • Make sure to URL-encode the address parameter when making requests