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=7&show_all_keywords=True
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "meta": {
        "count": 31685,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=8&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=6&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p9375",
            "has_user_editable_resources": false,
            "alt_labels": [
                "lopptorg",
                "second hand-butiker"
            ],
            "created_time": "2023-08-16T05:14:52.226647Z",
            "last_modified_time": "2023-08-16T05:14:52.226662Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kirpputorit",
                "sv": "loppmarknader",
                "en": "flea markets"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9375/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8475",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:19.897765Z",
            "last_modified_time": "2023-08-16T05:19:19.897782Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kulttuuriperintö",
                "sv": "kulturarv",
                "en": "cultural heritage"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8475/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11951",
            "has_user_editable_resources": false,
            "alt_labels": [
                "mediakonst"
            ],
            "created_time": "2023-08-16T05:18:49.207705Z",
            "last_modified_time": "2023-08-16T05:18:49.207723Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "mediataide",
                "sv": "mediekonst",
                "en": "media art"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11951/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7969",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:02.409975Z",
            "last_modified_time": "2023-08-16T05:18:02.409999Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sanataide",
                "sv": "ordkonst",
                "en": "literary art"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7969/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1979",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kuvaus (valokuvaus)",
                "fotografi (framställning av bilder)"
            ],
            "created_time": "2023-08-16T05:19:42.940777Z",
            "last_modified_time": "2023-08-16T05:19:42.940793Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 47,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valokuvaus",
                "sv": "fotografering",
                "en": "photography"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1979/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4357",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kontroll över livet",
                "livshantering",
                "livskontroll"
            ],
            "created_time": "2023-08-16T05:18:41.919048Z",
            "last_modified_time": "2023-08-16T05:18:41.919208Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elämänhallinta",
                "sv": "livskompetens",
                "en": "life management"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4357/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29778",
            "has_user_editable_resources": false,
            "alt_labels": [
                "hardrock",
                "hårdrock"
            ],
            "created_time": "2023-08-16T05:11:22.955383Z",
            "last_modified_time": "2023-08-16T05:11:22.955399Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hard rock",
                "en": "hard rock"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29778/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1857",
            "has_user_editable_resources": false,
            "alt_labels": [
                "iskusävelmät",
                "schlagers",
                "schlagrar"
            ],
            "created_time": "2023-08-16T05:17:39.803522Z",
            "last_modified_time": "2023-08-16T05:17:39.803541Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "iskelmät",
                "sv": "schlager",
                "en": "schlager music"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1857/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1574",
            "has_user_editable_resources": false,
            "alt_labels": [
                "special occasions",
                "fester",
                "högtider",
                "högtider och fester",
                "parties (celebrations)",
                "tillställningar (fester)"
            ],
            "created_time": "2023-08-16T05:19:43.224807Z",
            "last_modified_time": "2024-03-22T04:40:51.016442Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "juhlat",
                "sv": "fester och högtider",
                "en": "celebrations"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1574/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7158",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kabareer"
            ],
            "created_time": "2023-08-16T05:17:19.628571Z",
            "last_modified_time": "2023-08-16T05:17:19.628596Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kabareet",
                "sv": "kabaréer",
                "en": "cabarets"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7158/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p24597",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kuvatulkkaus",
                "bildtolkning för synskadade"
            ],
            "created_time": "2023-08-16T05:10:38.516856Z",
            "last_modified_time": "2023-08-16T05:10:38.516877Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "kuvailutulkkaus",
                "sv": "syntolkning",
                "en": "audio description"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p24597/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6674",
            "has_user_editable_resources": false,
            "alt_labels": [
                "barnskådespel"
            ],
            "created_time": "2023-08-16T05:17:18.220243Z",
            "last_modified_time": "2023-08-16T05:17:18.220283Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "lastennäytelmät",
                "sv": "barnpjäser",
                "en": "children's plays"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6674/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4892",
            "has_user_editable_resources": false,
            "alt_labels": [
                "fairs",
                "trade events",
                "messut (kauppa)",
                "handelsmässor",
                "mässor (handel)"
            ],
            "created_time": "2023-08-16T05:17:55.604253Z",
            "last_modified_time": "2023-08-16T05:17:55.604308Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "messut (tapahtumat)",
                "sv": "mässor (evenemang)",
                "en": "trade fairs"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4892/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20421",
            "has_user_editable_resources": false,
            "alt_labels": [
                "clubs (music)",
                "jazz clubs",
                "rock clubs",
                "jazzklubit",
                "keikkapaikat",
                "klubit (musiikki)",
                "rockklubit",
                "jazzklubbar",
                "klubbar (musik)",
                "rockklubbar"
            ],
            "created_time": "2023-08-16T05:10:00.287630Z",
            "last_modified_time": "2023-08-16T05:10:00.287649Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "musiikkiklubit",
                "sv": "musikklubbar",
                "en": "music clubs"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20421/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9376",
            "has_user_editable_resources": false,
            "alt_labels": [
                "bazaars (charities)",
                "rummage sales"
            ],
            "created_time": "2023-08-16T05:12:20.116401Z",
            "last_modified_time": "2023-08-16T05:12:20.116418Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "myyjäiset",
                "sv": "försäljningar (evenemang)",
                "en": "jumble sales"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9376/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25077",
            "has_user_editable_resources": false,
            "alt_labels": [
                "dockteater (konstarter)",
                "puppet theater"
            ],
            "created_time": "2023-08-16T05:13:40.124933Z",
            "last_modified_time": "2023-08-16T05:13:40.124951Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "nukketeatteri (taiteet)",
                "sv": "dockteater (teaterkonst)",
                "en": "puppet theatre"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25077/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5000",
            "has_user_editable_resources": false,
            "alt_labels": [
                "draama",
                "dramas (plays)",
                "stage plays",
                "theatrical plays",
                "teatterikappaleet",
                "draman",
                "dramer",
                "pjäser",
                "teaterpjäser",
                "teaterstycken"
            ],
            "created_time": "2023-08-16T05:19:45.568394Z",
            "last_modified_time": "2023-08-16T05:19:45.568415Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "näytelmät",
                "sv": "skådespel",
                "en": "plays"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5000/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6421",
            "has_user_editable_resources": false,
            "alt_labels": [
                "musiikkidraamat",
                "oopperasävellykset",
                "oopperateokset",
                "operakompositioner",
                "operaverk"
            ],
            "created_time": "2023-08-16T05:19:28.559874Z",
            "last_modified_time": "2023-08-16T05:19:28.559895Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "oopperat",
                "sv": "operor (verk)",
                "en": "operas"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6421/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12650",
            "has_user_editable_resources": false,
            "alt_labels": [
                "operettisävellykset",
                "operettkompositioner"
            ],
            "created_time": "2023-08-16T05:18:09.824734Z",
            "last_modified_time": "2023-08-16T05:18:09.824754Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "operetit",
                "sv": "operetter",
                "en": "operettas"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12650/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2969",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:40.535052Z",
            "last_modified_time": "2023-08-16T05:19:40.535069Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 46,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "popmusiikki",
                "sv": "popmusik",
                "en": "pop music"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p2969/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}