Skip to content
HALOWERK

Geodata Tools

local rating distance frontier

Nearby rating tradeoffs: count listings with no rival that is both at least as close and at least as highly rated with one strict advantage. Use it when an agent needs geographic comparisons among rated businesses.

POST https://geo.halowerk.com/v1/local-rating-distance-frontier

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
qstringYes
latnumberYes
lonnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 145
    },
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    }
  },
  "required": [
    "q",
    "lat",
    "lon"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "q": "museums in Berlin Germany",
  "lat": 52.52,
  "lon": 13.405
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’