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

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.

For example:

keyword/?has_upcoming_events=True

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.

For example:

keyword/?show_all_keywords=True

See the result

Showing deprecated keywords

By default, deprecated keywords are not displayed. You may also display deprecated keywords with the query parameter show_deprecated.

For example:

keyword/?show_deprecated=True

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

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

{
    "meta": {
        "count": 31675,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=202&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=200&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p23973",
            "has_user_editable_resources": false,
            "alt_labels": [
                "mördarsnigel"
            ],
            "created_time": "2023-08-16T05:06:51.525090Z",
            "last_modified_time": "2023-08-16T05:06:51.525107Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espanjansiruetana",
                "sv": "spansk skogssnigel",
                "en": "Arion vulgaris"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23973/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17424",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:32.839226Z",
            "last_modified_time": "2023-08-16T05:09:32.839255Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Espanjan sisällissota",
                "sv": "spanska inbördeskriget",
                "en": "Spanish Civil War"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17424/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p40384",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Spanienfinländare"
            ],
            "created_time": "2024-06-13T04:40:25.906116Z",
            "last_modified_time": "2024-08-03T04:40:35.764271Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espanjansuomalaiset",
                "sv": "finländare i Spanien",
                "en": "Finns in Spain"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p40384/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10120",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Spanish influenza",
                "espanjankuume"
            ],
            "created_time": "2023-08-16T05:08:38.363403Z",
            "last_modified_time": "2023-08-16T05:08:38.363420Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espanjantauti",
                "sv": "spanska sjukan",
                "en": "Spanish flu"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10120/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22200",
            "has_user_editable_resources": false,
            "alt_labels": [
                "perro de agua espanol"
            ],
            "created_time": "2023-08-16T05:10:15.741759Z",
            "last_modified_time": "2023-08-16T05:10:15.741782Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espanjanvesikoira",
                "sv": "perro de agua español",
                "en": "Spanish water dog"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22200/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11086",
            "has_user_editable_resources": false,
            "alt_labels": [
                "esperanton kieli"
            ],
            "created_time": "2023-08-16T05:05:02.892949Z",
            "last_modified_time": "2023-08-16T05:05:02.892976Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "esperanto",
                "en": "esperanto"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11086/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p30191",
            "has_user_editable_resources": false,
            "alt_labels": [
                "esperantolitteratur"
            ],
            "created_time": "2023-08-16T05:11:26.792157Z",
            "last_modified_time": "2023-08-16T05:11:26.792176Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "esperantonkielinen kirjallisuus",
                "sv": "litteratur på esperanto",
                "en": "Esperanto language literature"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p30191/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28398",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:58.311356Z",
            "last_modified_time": "2023-08-16T05:13:58.311374Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Esplanadin puisto",
                "sv": "Esplanadparken",
                "en": "Esplanade Park (Helsinki)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28398/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18982",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:46.421491Z",
            "last_modified_time": "2023-08-16T05:09:46.421509Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espoolaiset",
                "sv": "Esbobor",
                "en": "Espoo residents"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p18982/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18981",
            "has_user_editable_resources": false,
            "alt_labels": [
                "identitet i Esbo"
            ],
            "created_time": "2023-08-16T05:13:10.306224Z",
            "last_modified_time": "2023-08-16T05:13:10.306241Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espoolaisuus",
                "sv": "Esbo-identitet",
                "en": "regional identity of Espoo residents"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p18981/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15618",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Espoonkartano (kartanot)"
            ],
            "created_time": "2023-08-16T05:05:34.479162Z",
            "last_modified_time": "2023-08-16T05:05:34.479179Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Espoon kartano",
                "sv": "Esbo gård",
                "en": "Espoonkartano manor"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15618/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p40087",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Fiskarsinmäki",
                "Fiskarskullen"
            ],
            "created_time": "2023-08-18T04:40:49.656302Z",
            "last_modified_time": "2023-10-27T04:40:50.835862Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Espoonlahden luonnonsuojelualue",
                "sv": "Esbovikens naturskyddsområde",
                "en": "Espoonlahti Nature Reserve"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p40087/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7610",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Valtioiden rajat ylittävien ympäristövaikutusten arviointia koskeva yleissopimus"
            ],
            "created_time": "2023-08-16T05:14:44.023668Z",
            "last_modified_time": "2023-08-16T05:14:44.023685Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Espoon sopimus",
                "sv": "Esboavtalet",
                "en": "Espoo Convention"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7610/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p23419",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:46.365158Z",
            "last_modified_time": "2023-08-16T05:06:46.365177Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "espresso",
                "en": "espresso"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23419/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13135",
            "has_user_editable_resources": false,
            "alt_labels": [
                "esseer"
            ],
            "created_time": "2023-08-16T05:08:59.397652Z",
            "last_modified_time": "2023-08-16T05:08:59.397670Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "essealaiset",
                "sv": "esséer",
                "en": "Essenes"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p13135/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19188",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:11.169628Z",
            "last_modified_time": "2023-08-16T05:13:11.169645Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "esseet",
                "sv": "essäer",
                "en": "essays"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19188/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29733",
            "has_user_editable_resources": false,
            "alt_labels": [
                "esseekirjallisuus",
                "essäistisk litteratur"
            ],
            "created_time": "2023-08-16T05:11:22.648862Z",
            "last_modified_time": "2023-08-16T05:11:22.648889Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "esseistiikka",
                "sv": "essäistik",
                "en": "essayistic literature"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29733/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38367",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:36.940659Z",
            "last_modified_time": "2023-08-16T05:11:36.940678Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "essentialismi",
                "sv": "essentialism",
                "en": "essentialism"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38367/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28864",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:34.173731Z",
            "last_modified_time": "2023-08-16T05:07:34.173751Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "essiivi",
                "sv": "essiv",
                "en": "essive case"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28864/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21230",
            "has_user_editable_resources": false,
            "alt_labels": [
                "sitalopraami"
            ],
            "created_time": "2023-08-16T05:10:06.656348Z",
            "last_modified_time": "2023-08-16T05:10:06.656368Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "essitalopraami",
                "sv": "escitalopram",
                "en": "escitalopram"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21230/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}