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=233&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=234&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=232&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p2122",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:49.829120Z",
            "last_modified_time": "2023-08-16T05:16:49.829138Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen kehitys",
                "sv": "fysisk utveckling",
                "en": "physical development"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p2122/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7384",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kondition"
            ],
            "created_time": "2023-08-16T05:19:13.447321Z",
            "last_modified_time": "2023-08-16T05:19:13.447338Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen kunto",
                "sv": "fysisk kondition",
                "en": "physical fitness"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7384/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p136",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kuormittavuus"
            ],
            "created_time": "2023-08-16T05:18:49.860720Z",
            "last_modified_time": "2023-08-16T05:18:49.860738Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen kuormittavuus",
                "sv": "fysisk belastning",
                "en": "physical strain"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p136/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2634",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:46.607406Z",
            "last_modified_time": "2023-08-16T05:13:46.607425Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen maantiede",
                "sv": "fysisk geografi",
                "en": "physical geography"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p2634/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p23889",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:37.615726Z",
            "last_modified_time": "2023-08-16T05:18:37.615744Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen rasitus",
                "sv": "fysisk ansträngning",
                "en": "physical stress"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23889/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p27172",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kroppslig funktionsförmåga"
            ],
            "created_time": "2023-08-16T05:13:50.944327Z",
            "last_modified_time": "2023-08-16T05:13:50.944345Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen toimintakyky",
                "sv": "fysisk funktionsförmåga",
                "en": "physical functioning"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p27172/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13726",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:39.512480Z",
            "last_modified_time": "2023-08-16T05:16:39.512509Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysinen ympäristö",
                "sv": "fysisk miljö",
                "en": "physical environment"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p13726/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1674",
            "has_user_editable_resources": false,
            "alt_labels": [
                "fyysinen kokonaisuus"
            ],
            "created_time": "2023-08-16T05:19:37.993511Z",
            "last_modified_time": "2023-08-16T05:19:37.993531Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysiset kokonaisuudet",
                "sv": "fysiska helheter",
                "en": "physical whole"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1674/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1435",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:15:11.333589Z",
            "last_modified_time": "2023-08-16T05:15:11.333606Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysiset objektit",
                "sv": "fysiska objekt",
                "en": "physical objects"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1435/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1400",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:47.816959Z",
            "last_modified_time": "2023-08-16T05:19:47.816976Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fyysiset ominaisuudet",
                "sv": "fysiska egenskaper",
                "en": "physical properties"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1400/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9180",
            "has_user_editable_resources": false,
            "alt_labels": [
                "färsaarelaiset",
                "färöingar"
            ],
            "created_time": "2023-08-16T05:08:33.319354Z",
            "last_modified_time": "2023-08-16T05:08:33.319372Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "färingit",
                "sv": "färingar",
                "en": "Faroese people"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9180/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20080",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:19.320510Z",
            "last_modified_time": "2023-08-16T05:06:19.320529Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fäärin kieli",
                "sv": "färöiska",
                "en": "Faroese language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20080/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29322",
            "has_user_editable_resources": false,
            "alt_labels": [
                "färöisk litteratur"
            ],
            "created_time": "2023-08-16T05:11:19.132582Z",
            "last_modified_time": "2023-08-16T05:11:19.132600Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "fäärinkielinen kirjallisuus",
                "sv": "litteratur på färöiska",
                "en": "Faroese language literature"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29322/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38082",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Maria Magdalenan kirkko (Föglö)",
                "Maria Magdalenan kyrka (Föglö)",
                "St:a Maria Magdalena kyrka (Föglö)"
            ],
            "created_time": "2023-08-16T05:11:34.150858Z",
            "last_modified_time": "2023-08-16T05:11:34.150875Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Föglön kirkko",
                "sv": "Föglö kyrka",
                "en": "Föglö Church"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38082/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29500",
            "has_user_editable_resources": false,
            "alt_labels": [
                "gaeliska",
                "skotsk gäliska"
            ],
            "created_time": "2023-08-16T05:07:39.912929Z",
            "last_modified_time": "2023-08-16T05:07:39.912964Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gaelin kieli",
                "sv": "skotsk gaeliska",
                "en": "Scottish Gaelic language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29500/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p30212",
            "has_user_editable_resources": false,
            "alt_labels": [
                "gaelisk litteratur",
                "litteratur på gäliska"
            ],
            "created_time": "2023-08-16T05:11:27.076806Z",
            "last_modified_time": "2023-08-16T05:11:27.076824Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gaelinkielinen kirjallisuus",
                "sv": "litteratur på gaeliska",
                "en": "Scottish Gaelic language literature"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p30212/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25771",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:43.778816Z",
            "last_modified_time": "2023-08-16T05:13:43.778833Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gaelit",
                "sv": "gaeler",
                "en": "Gaels"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25771/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28572",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:31.286186Z",
            "last_modified_time": "2023-08-16T05:07:31.286205Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gagauzin kieli",
                "sv": "gagauziska",
                "en": "Gagauz language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28572/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38383",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:54.783708Z",
            "last_modified_time": "2023-08-16T05:07:54.783729Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gagauzit",
                "sv": "gagauzer",
                "en": "Gagauz people"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38383/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38552",
            "has_user_editable_resources": false,
            "alt_labels": [
                "gagliarda",
                "galliarda",
                "gaillarde",
                "gaillarder",
                "galliarder"
            ],
            "created_time": "2023-08-16T05:07:56.608040Z",
            "last_modified_time": "2023-08-16T05:07:56.608058Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gaillarde",
                "sv": "galliard",
                "en": "galliard"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38552/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}