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=51&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=52&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=50&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p16801",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:44.814324Z",
            "last_modified_time": "2023-08-16T05:05:44.814347Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amatöörielokuvat",
                "sv": "amatörfilmer",
                "en": "amateur films"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16801/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29942",
            "has_user_editable_resources": false,
            "alt_labels": [
                "dark ambient",
                "experimental ambient",
                "dark ambient",
                "experimental ambient",
                "dark ambient",
                "experimental ambient"
            ],
            "created_time": "2023-08-16T05:18:19.255385Z",
            "last_modified_time": "2023-08-16T05:18:19.255405Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambient",
                "en": "ambient music"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29942/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p27409",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:02.116775Z",
            "last_modified_time": "2023-08-16T05:11:02.116793Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambigrammit",
                "sv": "ambigram",
                "en": "ambigrams"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p27409/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p26852",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:57.366852Z",
            "last_modified_time": "2023-08-16T05:10:57.366869Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambivalenssi",
                "sv": "ambivalens",
                "en": "ambivalence"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p26852/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p30018",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ambrosiaaninen kirkkolaulu",
                "milanolainen kirkkolaulu"
            ],
            "created_time": "2023-08-16T05:11:25.313063Z",
            "last_modified_time": "2023-08-16T05:11:25.313081Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambrosiaaninen laulu",
                "sv": "ambrosiansk sång",
                "en": "Ambrosian chant"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p30018/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p27372",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ambulansflyg"
            ],
            "created_time": "2023-08-16T05:15:46.497698Z",
            "last_modified_time": "2023-08-16T05:15:46.497717Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambulanssilentokoneet",
                "sv": "ambulansflygplan",
                "en": "air ambulance planes"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p27372/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14750",
            "has_user_editable_resources": false,
            "alt_labels": [
                "sairasautot"
            ],
            "created_time": "2023-08-16T05:16:41.507775Z",
            "last_modified_time": "2023-08-16T05:16:41.507794Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "ambulanssit",
                "sv": "ambulanser",
                "en": "ambulances"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14750/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29270",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Amdo"
            ],
            "created_time": "2023-08-16T05:07:38.201772Z",
            "last_modified_time": "2024-05-03T04:40:16.115074Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amdon kieli",
                "sv": "amdo",
                "en": "Amdo Tibetan"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29270/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21414",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ameebat"
            ],
            "created_time": "2023-08-16T05:13:21.861882Z",
            "last_modified_time": "2023-08-16T05:13:21.861900Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amebat",
                "sv": "amöbor",
                "en": "amoebae"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21414/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38989",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:08:01.301605Z",
            "last_modified_time": "2023-08-16T05:08:01.301624Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "americana (musiikki)",
                "sv": "americana (musik)",
                "en": "americana (music)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38989/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38208",
            "has_user_editable_resources": false,
            "alt_labels": [
                "aasialaisamerikkalaiset",
                "amerikaner med asiatiskt ursprung",
                "asiatamerikaner"
            ],
            "created_time": "2023-08-16T05:11:35.325236Z",
            "last_modified_time": "2023-08-16T05:11:35.325254Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikanaasialaiset",
                "sv": "asiat-amerikaner",
                "en": "Asian Americans"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38208/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21111",
            "has_user_editable_resources": false,
            "alt_labels": [
                "akita inu"
            ],
            "created_time": "2023-08-16T05:10:05.469928Z",
            "last_modified_time": "2023-08-16T05:10:05.469945Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikanakita",
                "sv": "american akita",
                "en": "American Akita"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21111/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6009",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Etelä-Amerikan alkuperäiskielet",
                "Pohjois-Amerikan alkuperäiskielet",
                "Väli-Amerikan alkuperäiskielet",
                "intiaanikielet",
                "centralamerikanska språk",
                "centralamerikanska ursprungsspråk",
                "indianspråk",
                "nordamerikanska språk",
                "nordamerikanska ursprungsspråk",
                "sydamerikanska språk",
                "sydamerikanska ursprungsspråk",
                "American Indian languages",
                "Central American indigenous languages",
                "North American indigenous languages",
                "South American indigenous languages",
                "native American languages"
            ],
            "created_time": "2023-08-16T05:18:57.377184Z",
            "last_modified_time": "2023-12-01T04:41:31.010249Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Amerikan alkuperäiskielet",
                "sv": "amerikanska ursprungsspråk",
                "en": "indigenous languages of the Americas"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6009/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38355",
            "has_user_editable_resources": false,
            "alt_labels": [
                "amerikansk bulldogg"
            ],
            "created_time": "2023-08-16T05:11:36.745971Z",
            "last_modified_time": "2023-08-16T05:11:36.745989Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikanbulldoggi",
                "sv": "american bulldog",
                "en": "American bulldog"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38355/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p23441",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:28.276324Z",
            "last_modified_time": "2023-08-16T05:10:28.276343Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikancockerspanieli",
                "sv": "amerikansk cocker spaniel",
                "en": "American cocker spaniel"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23441/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10370",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:04:59.376908Z",
            "last_modified_time": "2023-08-16T05:04:59.376927Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikanenglanti",
                "sv": "amerikansk engelska",
                "en": "American English"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10370/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18522",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Panax quinquefolium",
                "Panax quinquefolius",
                "amerikanginseng"
            ],
            "created_time": "2023-08-16T05:09:42.552680Z",
            "last_modified_time": "2023-08-16T05:09:42.552698Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikanginsengjuuri",
                "sv": "amerikansk ginseng",
                "en": "American ginseng"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p18522/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25170",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:43.104818Z",
            "last_modified_time": "2023-08-16T05:10:43.104837Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikankarvatonterrieri",
                "sv": "american hairless terrier",
                "en": "American hairless terrier"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25170/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p23531",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:28.953248Z",
            "last_modified_time": "2023-08-16T05:10:28.953310Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikankettukoira",
                "sv": "american foxhound",
                "en": "American foxhound"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23531/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28867",
            "has_user_editable_resources": false,
            "alt_labels": [
                "yhdysvaltainkuubalaiset"
            ],
            "created_time": "2023-08-16T05:11:13.669253Z",
            "last_modified_time": "2023-08-16T05:11:13.669300Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "amerikankuubalaiset",
                "sv": "amerikakubaner",
                "en": "Cuban Americans"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28867/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}