Skip to content
HALOWERK

Economic Statistics

second farm fallback

Farm shop fallback comparison returns the second-nearest farm at each point and the added distance if the nearest is unavailable. Use it when an agent needs evidence for a local food shopping trip.

POST https://stat.halowerk.com/v1/second-farm-fallback

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latnumberYes
lonnumberYes
radius_kmnumberNo
snapshotSee schemaNo
other_latnumberYes
other_lonnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -84,
      "maximum": 84
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "radius_km": {
      "type": "number",
      "minimum": 0.2,
      "maximum": 25
    },
    "snapshot": {
      "enum": [
        "2026-11-26"
      ]
    },
    "other_lat": {
      "type": "number",
      "minimum": -84,
      "maximum": 84
    },
    "other_lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    }
  },
  "required": [
    "lat",
    "lon",
    "other_lat",
    "other_lon"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lat": 48.406508,
  "lon": -122.338896,
  "radius_km": 8,
  "other_lat": 48.431508,
  "other_lon": -122.320896,
  "snapshot": "2026-11-26"
}

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 โ†’