TRA INFO HUB

API Documentation

JSON exports for current TRA activations and Austria Widget airspace status, intended for external systems that need machine-readable airspace information.

Endpoint

export_austria_widget.php

Returns the current daily status of all airspaces available in the Austria Briefing Widget. This includes TRAs from TRA Manager and airspaces evaluated from Air Use Plan and NOTAM data.

https://tra.airspace.at/export_austria_widget.php?importer=abc123

All timestamps in this API are UTC. Local time fields are intentionally omitted. If older internal runtime values exist, they are not exported unless they belong to the current local day.

Access

Importer hash

Use the same importer hash as for the TRA activation exports. Pass it as importer. The sample hash is a placeholder and must be replaced by your assigned six-character hash.

Missing or invalid hash

If public export access is disabled and the hash is missing or inactive, the endpoint returns HTTP 403 with a JSON error object.

Response Object

Unlike the TRA activation export, this endpoint returns one JSON object. The items array contains one current status row per available TRA or Austria Widget airspace.

Field Type Meaning
export string Always austria_widget.
version integer Schema version. The compact UTC-only API is version 2.
timezone string Always UTC for this export.
generated_at string UTC timestamp when the response was generated.
evaluation_at string UTC timestamp used for status evaluation.
counts object Total number of rows and counts for TRAs, airspaces and active or scheduled TRAs.
items array Current daily status rows for every available TRA or airspace.
summary object Compact current-day source update information. Manual activation details are not included.

Item Fields

Field Type Meaning
id string Stable row identifier, for example tra-2 or an airspace hash.
type string tra or airspace.
subject_id integer/string TRA ID for TRAs, airspace designator or bundle ID for airspaces.
name string Display name used by the Austria Widget.
group string Tower group for TRAs or category for airspaces.
status string active, scheduled, inactive or unknown. For TRAs, active means available TRA airspace. For restrictive airspaces, active means closed/restricted.
source string/null Primary source used for the status: tra, nup, notam or null.
valid_from / valid_to string UTC validity window of the current or relevant daily status.
updated_at string UTC source update timestamp, if available and relevant.
sources object Compact source states. Only relevant current-day source data is included; empty unknown source blocks are omitted.
tra_window object Only for TRAs. Aggregates activation and extension chains into one current from/to window and lists the involved activation IDs.

Status Logic

active

For TRAs this means the TRA is active. For AUP/NOTAM airspaces this means the airspace is currently closed or restricted.

scheduled

A relevant activation or restriction is scheduled later today.

inactive

No active restriction or no active TRA window at the evaluation time.

Airspace status is evaluated from Air Use Plan and NOTAM data. TRA status is evaluated from TRA Manager activations, extensions and deactivations.

Example

Compact UTC-only response

The example shows one TRA with an aggregated extension chain and one restrictive airspace closed by Air Use Plan. The real response contains one row for every available widget item.

{
    "export": "austria_widget",
    "version": 2,
    "timezone": "UTC",
    "generated_at": "2026-05-06 18:10:21",
    "evaluation_at": "2026-05-06 18:10:21",
    "counts": {
        "total": 76,
        "tras": 41,
        "airspaces": 35,
        "active_or_scheduled_tras": 3
    },
    "items": [
        {
            "id": "tra-2",
            "type": "tra",
            "subject_id": 2,
            "name": "TRA ALMENLAND",
            "group": "Graz (LOWG)",
            "status": "active",
            "status_label": "TRA aktiv",
            "status_detail": "TRA ist aktuell aktiv.",
            "source": "tra",
            "valid_from": "2026-05-06 07:00:00",
            "valid_to": "2026-05-06 18:49:00",
            "updated_at": "2026-05-06 13:05:32",
            "sources": {
                "tra": {
                    "status": "active",
                    "valid_from": "2026-05-06 07:00:00",
                    "valid_to": "2026-05-06 18:49:00",
                    "updated_at": "2026-05-06 13:05:32"
                }
            },
            "tra_window": {
                "valid_from": "2026-05-06 07:00:00",
                "valid_to": "2026-05-06 18:49:00",
                "activation_ids": [
                    1188,
                    1189,
                    1190
                ],
                "current_activation_id": 1190,
                "is_extension_chain": true
            }
        },
        {
            "id": "airspace-abd90c167f2879bda1f7bde38b84eec0",
            "type": "airspace",
            "subject_id": "LOR 4",
            "name": "LOR 4 (BRUCK)",
            "group": "Restricted",
            "status": "active",
            "status_label": "gesperrt",
            "status_detail": "Aktive Sperre laut Air Use Plan.",
            "source": "nup",
            "valid_from": "2026-05-06 06:00",
            "valid_to": "2026-05-06 20:00",
            "updated_at": "2026-05-06 18:10:00",
            "sources": {
                "nup": {
                    "status": "active",
                    "valid_from": "2026-05-06 06:00",
                    "valid_to": "2026-05-06 20:00",
                    "updated_at": "2026-05-06 18:10:00"
                }
            }
        }
    ],
    "summary": {
        "updated_by_source": {
            "tra": "2026-05-06 13:05:32",
            "nup": "2026-05-06 18:10:00",
            "notam": "2026-05-06 09:48:55",
            "notam_feeds": {
                "austro_control": "2026-05-06 14:47:17"
            }
        },
        "tra_runtime": {
            "tra_last_update": "2026-05-06 13:05:32"
        }
    }
}