Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Open House London API (Or any open-city.org.uk city)

This was reverse engineered from the Android app

Bootstrap

All listings

Collections

Featured listings

Category

Walks and tours

Building

Optional parameters

Pagination:

  • Page offset: ?page=1
  • Items per-page: ?per_page=12

Filters:

  • Date: ?date=yy-MM-dd
  • Search: ?q=$SEARCHQUERY
  • Building type: ?building_type_ids=$idOR$idOR$id (IDs in bootstrap)
  • Building period: ?building_period_ids=$idOR$idOR$id (IDs in bootstrap)
  • London borough: ?london_borough_ids=$idOR$idOR$id (IDs in bootstrap, "london_boroughs" is "all")
  • Booking required: ?booking_required=true
  • Facilities available: ?facility_ids=$idAND$idAND$id...
    • IDs in bootstrap, some also hardcoded:
    • disabled access = 1
    • partial disabled access = 2
    • bookshop = 3
    • parking = 4
    • refreshments = 5
    • toilets = 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment