Skip to content
Navigation

One building by EGID

A single building. With no month, returns the latest month the EGID appears in.

GET
https://res.aireon.ch/res_api/gwr/projects/{egid}

Authorization

  • ResApiToken
    optional
    API key in header
  • ResApiTokenQuery
    optional
    API key in query

Path parameters

  • egid
    integer
    required

Query parameters

  • month
    optional
    string

    Target month 'YYYY-MM'. Defaults to the latest loaded month.

Returns

200

The building.

JSON
  • egid
    optional
    integer

    Federal building identifier.

  • register_match
    optional
    boolean
  • project_stage
    optional
    projected
    or
    approved
    or
    under_construction
    or
    existing
    or
    unusable
    or
    not_realized
    +2 more
  • is_pipeline
    optional
    boolean

    True for genuine upcoming projects (projected/approved/under construction).

  • status_code
    optional
    integer | null
  • status_label
    optional
    string | null
  • category_code
    optional
    integer | null
  • category_label
    optional
    string | null
  • class_code
    optional
    integer | null
  • class_label
    optional
    string | null
  • municipality_number
    optional
    integer | null
  • municipality_name
    optional
    string | null
  • canton
    optional
    string | null
  • addresses
    optional
    array of
    string
  • entrance_count
    optional
    integer | null
  • year_built
    optional
    integer | null
  • month_built
    optional
    integer | null
  • footprint_area_m2
    optional
    number | null
  • volume_m3
    optional
    number | null
  • floors
    optional
    integer | null
  • dwellings
    optional
    integer | null
  • egrid
    optional
    string | null
  • coordinates
    optional
    object

    Building coordinates in LV95 (Swiss) and WGS84.

    • lv95_e
      optional
      number | null
    • lv95_n
      optional
      number | null
    • lat
      optional
      number | null
    • lng
      optional
      number | null
  • likely_minor
    optional
    boolean

    Heuristic flag for minor entries (carports, sheds, annexes).

  • minor_reason
    optional
    string | null
  • significance_score
    optional
    integer

    Weighted 0-100 score; higher = larger genuine project.

400

EGID is not an integer.

401

Missing token.

403

Wrong token.

404

No such building.

Type to search…

↑↓ navigate↵ selectEsc close