Using the keyword endpoint

Here, categories for events are listed. Events in each category can be found at the event endpoint using the query parameter keyword. The common keywords used in all events originate from the general Finnish ontology (yso), hence the format yso:p4354. Default ordering is decreasing order by the number of events found.

The most common event categories are listed in the two keyword sets helsinki:topics and helsinki:audiences, which list the YSO keywords that are present in most events to specify event main topic and audience.

Keyword text

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

Example:

keyword/?text=lapset

See the result

Free text

While the previous search is looking for the keywords containg exact matches of the search string, free_text retrieves keywords on the basis of similarity. Results are sorted by similarity.

Example:

keyword/?free_text=lapppset

See the result

Keyword source

Will restrict keywords to a specific data source.

Example:

keyword/?data_source=yso

See the result

Ordering

Default ordering is decreasing order by the number of events found. You may also order results by name. For example:

keyword/?sort=name

See the result

Show only keywords with the upcoming events

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

See the result

Showing all keywords

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

We recommend using the keyword set 'helsinki:topics' for general event grouping and 'helsinki:audiences' for sorting by target group. These sets are used in categorizing the majority of events in the API.

Keyword sets

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

{
    "meta": {
        "count": 2749,
        "next": "http://api.hel.fi/linkedevents/v1/keyword/?format=api&page=2",
        "previous": null
    },
    "data": [
        {
            "id": "yso:p4354",
            "alt_labels": [
                "spädbarn",
                "lapset",
                "imeväisikäiset",
                "barn"
            ],
            "created_time": "2014-06-23T11:37:27.705000Z",
            "last_modified_time": "2017-09-06T05:20:47.061426Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 73935,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "lapset (ikäryhmät)",
                "sv": "barn (åldersgrupper)",
                "en": "children (age groups)"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p4354/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11617",
            "alt_labels": [
                "nuoriso",
                "unga"
            ],
            "created_time": "2014-06-23T11:37:27.563000Z",
            "last_modified_time": "2017-09-06T05:20:59.293091Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47175,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "nuoret",
                "sv": "ungdomar",
                "en": "young people"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p11617/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13050",
            "alt_labels": [],
            "created_time": "2014-06-23T11:37:23.969000Z",
            "last_modified_time": "2017-09-06T05:20:32.944169Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 31914,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "lapsiperheet",
                "sv": "barnfamiljer",
                "en": "families with children"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p13050/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1808",
            "alt_labels": [
                "musiikki",
                "musikkonst",
                "säveltaide",
                "tonkonst"
            ],
            "created_time": "2014-06-23T11:37:28.044000Z",
            "last_modified_time": "2017-09-06T05:20:22.016421Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 31199,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "musiikki",
                "sv": "musik",
                "en": "music"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p1808/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4363",
            "alt_labels": [
                "ydinperheet",
                "perhe",
                "familjer (grupper)",
                "kärnfamiljer",
                "familj"
            ],
            "created_time": "2014-06-23T11:37:28.246000Z",
            "last_modified_time": "2019-05-11T04:20:04.577893Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 31154,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "perheet",
                "sv": "familjer",
                "en": "families"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p4363/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16485",
            "alt_labels": [
                "peruskoululaiset"
            ],
            "created_time": "2014-06-23T11:37:26.180000Z",
            "last_modified_time": "2017-09-06T05:20:45.137409Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 28945,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "koululaiset",
                "sv": "skolelever",
                "en": "pupils"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p16485/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p360",
            "alt_labels": [],
            "created_time": "2014-06-23T11:37:29.198000Z",
            "last_modified_time": "2017-09-06T05:20:25.832872Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 24741,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kulttuuritapahtumat",
                "sv": "kulturevenemang",
                "en": "cultural events"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p360/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2433",
            "alt_labels": [
                "ikä-ihmiset",
                "ikäihmiset",
                "seniorer",
                "gamla",
                "äldre människor",
                "äldre personer",
                "seniorit",
                "iäkkäät",
                "vanhukset",
                "åldringar",
                "gamlingar",
                "elderly",
                "older adults",
                "old people",
                "senior citizens"
            ],
            "created_time": "2014-06-23T11:37:26.251000Z",
            "last_modified_time": "2022-05-11T01:40:15.150990Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 23924,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ikääntyneet",
                "sv": "äldre",
                "en": "older people"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p2433/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2625",
            "alt_labels": [
                "scenkonst",
                "teaterkonst",
                "näyttämötaide",
                "teatteritaide",
                "teatteri",
                "dramatic art",
                "teatteri (taiteet)",
                "teater",
                "teater (konstarter)",
                "puheteatteri",
                "talteater",
                "theater"
            ],
            "created_time": "2014-06-23T11:37:27.748000Z",
            "last_modified_time": "2018-08-25T02:20:10.908542Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 22181,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "teatteritaide",
                "sv": "teaterkonst",
                "en": "theatre"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p2625/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6165",
            "alt_labels": [
                "immigrantit",
                "immigranter"
            ],
            "created_time": "2014-06-23T11:37:28.630000Z",
            "last_modified_time": "2018-06-18T02:20:20.340757Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 21763,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "maahanmuuttajat",
                "sv": "invandrare",
                "en": "migrants"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p6165/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2149",
            "alt_labels": [
                "opastukset",
                "opastaminen",
                "vägledning"
            ],
            "created_time": "2014-06-23T11:37:25.994000Z",
            "last_modified_time": "2017-09-06T05:21:07.924133Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 20343,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "opastus",
                "sv": "guidning",
                "en": "guidance"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p2149/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p316",
            "alt_labels": [
                "leken",
                "lek (barnlek)",
                "lek",
                "lek (mental aktivitet)",
                "barnlek",
                "leikki (leikkiminen)",
                "leikki"
            ],
            "created_time": "2014-06-23T11:37:26.834000Z",
            "last_modified_time": "2019-05-08T04:19:51.933927Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 18830,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "leikkiminen",
                "sv": "lek (aktivitet)",
                "en": "playing (children's games)"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p316/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9270",
            "alt_labels": [],
            "created_time": "2014-06-23T11:37:26.899000Z",
            "last_modified_time": "2017-09-06T05:19:59.267957Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 18098,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kurssit",
                "sv": "kurser",
                "en": "courses (societal objects)"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p9270/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p916",
            "alt_labels": [
                "motion (gymnastik)",
                "liikuntakäyttäytyminen",
                "liikkuminen (liikunta)",
                "motion (idrott)",
                "motionering"
            ],
            "created_time": "2014-06-23T11:37:27.126000Z",
            "last_modified_time": "2019-05-15T05:20:08.902393Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 17003,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "liikunta",
                "sv": "motion",
                "en": "physical training"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p916/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8105",
            "alt_labels": [
                "leikkikentät"
            ],
            "created_time": "2014-06-23T11:37:28.731000Z",
            "last_modified_time": "2017-09-06T05:21:10.313676Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 15993,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "leikkipuistot",
                "sv": "lekparker",
                "en": "playgrounds"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p8105/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18105",
            "alt_labels": [
                "nyhetsgrupper",
                "uutisryhmät"
            ],
            "created_time": "2014-06-23T11:37:25.345000Z",
            "last_modified_time": "2017-09-06T05:20:46.419112Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 13989,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "keskusteluryhmät",
                "sv": "diskussionsgrupper",
                "en": "discussion groups"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p18105/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6062",
            "alt_labels": [],
            "created_time": "2014-06-23T11:37:24.440000Z",
            "last_modified_time": "2017-09-06T05:20:54.945885Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 13767,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "pelit",
                "sv": "spel",
                "en": "games"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p6062/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2108",
            "alt_labels": [
                "evenemang",
                "incidents",
                "händelser",
                "evenemang och händelser"
            ],
            "created_time": "2014-06-23T11:37:28.601000Z",
            "last_modified_time": "2019-05-11T04:20:01.640718Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 13316,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "tapahtumat",
                "sv": "händelser och evenemang",
                "en": "events"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p2108/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p556",
            "alt_labels": [
                "språk (typer)",
                "kieli (kielitiede)",
                "kielet",
                "språk (språkvetenskap)",
                "språket",
                "kieli"
            ],
            "created_time": "2014-06-23T11:37:23.862000Z",
            "last_modified_time": "2019-05-11T04:19:50.679204Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 12661,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kieli ja kielet",
                "sv": "språk",
                "en": "languages"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p556/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10727",
            "alt_labels": [
                "kansalaisten osallistuminen",
                "medborgarinflytande",
                "medborgardeltagande",
                "medborgaraktivism",
                "engagemang",
                "kansalaisosallistuminen",
                "kansalaisaktivismi"
            ],
            "created_time": "2014-06-23T11:37:28.213000Z",
            "last_modified_time": "2017-09-06T05:20:57.830630Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 11562,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "osallistuminen",
                "sv": "deltagande",
                "en": "participation"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/keyword/yso:p10727/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}