Skip to content
HALOWERK

Mobility, Warnings and Local Data

nyc borough event type mix

Borough event mix ranks permitted activities by category and distinct municipal permit count. Use it when an agent needs a borough event calendar drawn from approved permits.

POST https://ort.halowerk.com/v1/nyc-borough-event-type-mix

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
boroughstringYes
fromstringNo
tostringNo
limitintegerNo
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "borough": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "from": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    },
    "to": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    },
    "snapshot": {
      "enum": [
        "2026-11-29"
      ]
    }
  },
  "required": [
    "borough"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "borough": "Manhattan",
  "limit": 1,
  "snapshot": "2026-11-29"
}

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": {
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "category": {
                "type": "string"
              },
              "permits": {
                "type": "integer"
              }
            },
            "required": [
              "category",
              "permits"
            ]
          }
        }
      },
      "required": [
        "categories"
      ]
    },
    "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 โ†’