POST
/
v1
/
insights
/
multiple-metrics
/
score
curl --request POST \
  --url https://api.findloka.com/v1/insights/multiple-metrics/score \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "<string>",
  "metrics": [
    "<string>"
  ]
}'
{
  "metrics": {
    "shopping_score": 8,
    "dining_score": 7,
    "safety_score": 9,
    "invalid_metric": -1
  },
  "score_range": {
    "min": 0,
    "max": 10
  }
}

Overview

The Multiple Metrics Score API allows you to retrieve scores for multiple insight metrics at a given address in a single request. This endpoint is useful for getting a comprehensive view of a location’s performance across various dimensions.

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

Authorization

Authorization
string
required

Your API key for authentication

Body

address
string
required

The full address for which to retrieve metric scores

metrics
string[]
required

Array of metric names to retrieve (e.g., [“shopping_score”, “dining_score”, “safety_score”])

{
  "metrics": {
    "shopping_score": 8,
    "dining_score": 7,
    "safety_score": 9,
    "invalid_metric": -1
  },
  "score_range": {
    "min": 0,
    "max": 10
  }
}

Notes

  • The response includes:
    • metrics: An object with metric names as keys and their corresponding scores as values
    • score_range: The minimum and maximum possible scores for reference
  • Scores typically range from 0-10, with higher scores indicating better performance
  • A score of -1 indicates that data for that specific metric is not available
  • You can request any number of metrics in a single call
  • For a list of available metrics, use the Available Metrics endpoint
  • Address validation is performed automatically before retrieving metrics