Skip to content
HALOWERK

Mobility, Warnings and Local Data

market daylong visit

Long trading days returns markets with one uninterrupted visit window of at least the requested duration. Use it when an agent needs evidence for a local food shopping trip.

POST https://ort.halowerk.com/v1/market-daylong-visit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latnumberYes
lonnumberYes
radius_kmnumberNo
snapshotSee schemaNo
limitintegerNo
weekdaystringNo
hoursintegerNo
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"
      ]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 8
    },
    "weekday": {
      "type": "string",
      "enum": [
        "Mo",
        "Tu",
        "We",
        "Th",
        "Fr",
        "Sa",
        "Su"
      ]
    },
    "hours": {
      "type": "integer",
      "minimum": 2,
      "maximum": 12
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lat": 56.943646,
  "lon": 24.115441,
  "radius_km": 6,
  "limit": 1,
  "weekday": "Sa",
  "hours": 6,
  "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": {
        "matches": {
          "type": "integer"
        },
        "places": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "osm": {
                "type": "string"
              },
              "lat": {
                "type": "number"
              },
              "lon": {
                "type": "number"
              },
              "km": {
                "type": "number"
              },
              "evidence": {
                "type": "object"
              }
            },
            "required": [
              "osm",
              "lat",
              "lon",
              "km",
              "evidence"
            ]
          }
        }
      },
      "required": [
        "matches",
        "places"
      ]
    },
    "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 โ†’