Skip to content
HALOWERK

Mobility, Warnings and Local Data

farm market shopping loop

Farm shop and marketplace outing returns the shortest round trip through both types of destination. Use it when an agent needs evidence for a local food shopping trip.

POST https://ort.halowerk.com/v1/farm-market-shopping-loop

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latnumberYes
lonnumberYes
radius_kmnumberNo
snapshotSee schemaNo
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"
      ]
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lat": 51.058007,
  "lon": 11.555395,
  "radius_km": 13,
  "snapshot": "2026-11-26"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "first": {
          "type": [
            "string",
            "null"
          ]
        },
        "second": {
          "type": [
            "string",
            "null"
          ]
        },
        "between_km": {
          "type": [
            "number",
            "null"
          ]
        },
        "loop_km": {
          "type": [
            "number",
            "null"
          ]
        },
        "qualifying_pairs": {
          "type": "integer"
        }
      },
      "required": [
        "first",
        "second",
        "between_km",
        "loop_km",
        "qualifying_pairs"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

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