Using the place endpoint

Here, locations for events are listed. Events in each location can be found at the event endpoint using the query parameter location. Most locations use the id format tprek:28473. An easy way to locate service points is to browse our Service Map, which uses the same location ids, e.g. servicemap.hel.fi/unit/28473. Default ordering is decreasing order by the number of events found.

Place text

To find places that contain a specific string, use the query parameter text.

Example:

place/?text=tuomiokirkko

See the result

District

To restrict the retrieved places to city district(s), use the query parameter division, separating values by commas if you wish to query for several divisions.

City of Helsinki neighborhoods (kaupunginosa), districts (peruspiiri) and subdistricts (osa-alue) are supported. Check the divisions on the Helsinki map service.

You may query either by specific OCD division type peruspiiri:malmi, or by division name malmi. The latter query checks all divisions with the name, regardless of division type.

Example:

place/?division=malmi

See the result

Place source

Will restrict places to a specific data source.

Example:

place/?data_source=tprek

See the result

Show only places with the upcoming events

To show only the places which are used in the upcoming events supply the has_upcoming_events query parameter.

Example:

place/?has_upcoming_events=true

See the result

Showing all places

By default, only those locations which have listed events are displayed. You may display locations with zero n_events with the query parameter show_all_places.

Example:

place/?show_all_places=true

See the result

Showing deleted places

By default, deleted places are not displayed. You may also display deleted places with the query parameter show_deleted.

For example:

place/?show_deleted=True

See the result

Ordering

Default ordering is decreasing order by the number of events found. You may also order results by name, street_address or postal_code.

For example:

place/?sort=name

See the result

GET /linkedevents/v1/place/?format=api&page=132
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "meta": {
        "count": 2627,
        "next": null,
        "previous": "https://api.hel.fi/linkedevents/v1/place/?format=api&page=131"
    },
    "data": [
        {
            "id": "espoo:34",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": null,
            "last_modified_time": "2018-04-26T15:21:18.904370Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "fi": "",
                "sv": "",
                "en": ""
            },
            "street_address": {
                "fi": "Kannbrogatan 4"
            },
            "description": null,
            "telephone": null,
            "name": null,
            "address_locality": {
                "fi": ""
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:34/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:35",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": null,
            "last_modified_time": "2018-04-26T15:21:27.490700Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "fi": "",
                "sv": "",
                "en": ""
            },
            "street_address": {
                "fi": "Handelsbacken 1"
            },
            "description": null,
            "telephone": null,
            "name": null,
            "address_locality": {
                "fi": ""
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:35/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:2908",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": "2018-10-05T16:13:09.905355Z",
            "last_modified_time": "2018-10-05T16:13:09.905369Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "sv": ""
            },
            "street_address": {
                "fi": "Valhallavägen 14"
            },
            "description": null,
            "telephone": null,
            "name": {
                "sv": "Valhalla"
            },
            "address_locality": {
                "fi": ""
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:2908/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:3055",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": "2019-10-01T13:12:00.447340Z",
            "last_modified_time": "2019-10-01T13:12:00.447363Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "02770",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "sv": "http://vayla.fi/kaikki-hankkeet/espoo-salo-oikorata"
            },
            "street_address": {
                "sv": "Lövkullavägen 1 C"
            },
            "description": null,
            "telephone": null,
            "name": {
                "sv": "Auditorium, Omnia, Lövkullavägen 1 C, Esbo"
            },
            "address_locality": {
                "fi": "Esbo"
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:3055/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:3040",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": "2019-06-23T07:11:10.188746Z",
            "last_modified_time": "2019-06-23T07:11:10.188759Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "sv": ""
            },
            "street_address": {
                "sv": "Kyrkstigen 6"
            },
            "description": null,
            "telephone": null,
            "name": {
                "sv": "Hagalunds kyrka"
            },
            "address_locality": {
                "fi": ""
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:3040/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:3080",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": "2020-06-25T10:11:50.376806Z",
            "last_modified_time": "2020-06-25T10:11:50.376819Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "02940",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "en": "https://www.facebook.com/Sellonkirjasto/"
            },
            "street_address": {
                "fi": "Träskändan puistotie 9"
            },
            "description": null,
            "telephone": null,
            "name": {
                "en": "Aurora park"
            },
            "address_locality": {
                "fi": "Espoo"
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:3080/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        },
        {
            "id": "espoo:2711",
            "data_source": "espoo",
            "publisher": "espoo:kaupunki",
            "divisions": [],
            "created_time": "2018-09-23T14:15:45.141538Z",
            "last_modified_time": "2018-09-23T14:15:45.141557Z",
            "custom_data": null,
            "email": null,
            "contact_type": null,
            "address_region": null,
            "postal_code": "",
            "post_office_box_num": null,
            "address_country": null,
            "deleted": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "parent": null,
            "replaced_by": null,
            "position": null,
            "info_url": {
                "sv": ""
            },
            "street_address": {
                "fi": "Musikantpaltsen 1 A"
            },
            "description": null,
            "telephone": null,
            "name": {
                "sv": "Sellosalen"
            },
            "address_locality": {
                "fi": ""
            },
            "@id": "https://api.hel.fi/linkedevents/v1/place/espoo:2711/?format=api",
            "@context": "http://schema.org",
            "@type": "Place"
        }
    ]
}