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

{
    "meta": {
        "count": 31923,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=172&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=170&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p10761",
            "has_user_editable_resources": false,
            "alt_labels": [
                "levnadsomständigheter",
                "levnadsvillkor"
            ],
            "created_time": "2023-08-16T05:19:14.806653Z",
            "last_modified_time": "2023-08-16T05:19:14.806682Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elinolot",
                "sv": "levnadsförhållanden",
                "en": "living conditions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10761/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12300",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:08:53.534939Z",
            "last_modified_time": "2023-08-16T05:08:53.534968Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elinpiirit (biologia)",
                "sv": "hemområden (biologi)",
                "en": "home ranges (biology)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12300/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10461",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:31.366932Z",
            "last_modified_time": "2023-08-16T05:16:31.366950Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikeala",
                "sv": "livsmedelsbranschen",
                "en": "food sector"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10461/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4323",
            "has_user_editable_resources": false,
            "alt_labels": [
                "famine relief",
                "leipäjonot",
                "ruoka-apu",
                "brödköer",
                "mathjälp"
            ],
            "created_time": "2023-08-16T05:18:41.860880Z",
            "last_modified_time": "2023-08-16T05:18:41.860897Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikeapu",
                "sv": "livsmedelshjälp",
                "en": "food aid"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4323/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19825",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:54.752457Z",
            "last_modified_time": "2023-08-16T05:09:54.752476Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikehallinto",
                "sv": "livsmedelsförvaltning",
                "en": "food administration"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19825/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6689",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:25.966890Z",
            "last_modified_time": "2023-08-16T05:18:25.966908Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikehuolto",
                "sv": "livsmedelsförsörjning",
                "en": "food supply"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6689/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9317",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:30.370424Z",
            "last_modified_time": "2023-08-16T05:18:30.370444Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikehygienia",
                "sv": "livsmedelshygien",
                "en": "food hygiene"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9317/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14379",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:46.494540Z",
            "last_modified_time": "2023-08-16T05:12:46.494557Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikekemia",
                "sv": "livsmedelskemi",
                "en": "food chemistry"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14379/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25344",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ruokaketjut",
                "matkedjor"
            ],
            "created_time": "2023-08-16T05:17:44.445401Z",
            "last_modified_time": "2023-08-16T05:17:44.445418Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikeketjut",
                "sv": "livsmedelskedjor",
                "en": "food supply chains"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25344/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22416",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:17.965664Z",
            "last_modified_time": "2023-08-16T05:10:17.965682Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikelaki",
                "sv": "livsmedelslag",
                "en": "Food Act"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22416/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14163",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ruokakaupat",
                "livsmedelsbutiker",
                "mataffärer",
                "matbutiker",
                "matvaruaffärer"
            ],
            "created_time": "2023-08-16T05:09:06.606666Z",
            "last_modified_time": "2023-08-16T05:09:06.606683Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikeliikkeet",
                "sv": "livsmedelsaffärer",
                "en": "grocery stores"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14163/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16537",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:58.428531Z",
            "last_modified_time": "2023-08-16T05:12:58.428549Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikemikrobiologia",
                "sv": "livsmedelsmikrobiologi",
                "en": "food microbiology"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16537/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16624",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:15:18.473996Z",
            "last_modified_time": "2023-08-16T05:15:18.474014Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikepolitiikka",
                "sv": "livsmedelspolitik",
                "en": "food policy"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16624/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14920",
            "has_user_editable_resources": false,
            "alt_labels": [
                "livsmedelshushållning"
            ],
            "created_time": "2023-08-16T05:09:12.668130Z",
            "last_modified_time": "2023-08-16T05:09:12.668151Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketalous",
                "sv": "livsmedelsekonomi",
                "en": "food economy"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14920/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8754",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elintarviketeknologia",
                "livsmedelsteknologi"
            ],
            "created_time": "2023-08-16T05:12:16.813029Z",
            "last_modified_time": "2023-08-16T05:12:16.813047Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketekniikka",
                "sv": "livsmedelsteknik",
                "en": "food technology"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8754/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11803",
            "has_user_editable_resources": false,
            "alt_labels": [
                "livsmedelstekniker (utbildning)"
            ],
            "created_time": "2023-08-16T05:12:32.955462Z",
            "last_modified_time": "2023-08-16T05:12:32.955479Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketeknikot",
                "sv": "livsmedelstekniker",
                "en": "food technician engineers"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11803/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3373",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:27.776234Z",
            "last_modified_time": "2023-08-16T05:19:27.776307Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketeollisuus",
                "sv": "livsmedelsindustri",
                "en": "food industry"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3373/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8510",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:28.690635Z",
            "last_modified_time": "2023-08-16T05:18:28.690653Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketieteet",
                "sv": "livsmedelsvetenskaper",
                "en": "food sciences"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8510/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15341",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ruoantuotanto",
                "ruokatuotanto",
                "matproduktion"
            ],
            "created_time": "2023-08-16T05:17:36.945576Z",
            "last_modified_time": "2023-08-16T05:17:36.945594Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketuotanto",
                "sv": "livsmedelsproduktion",
                "en": "food production"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15341/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20955",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:04.421866Z",
            "last_modified_time": "2023-08-16T05:10:04.421884Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketurvallisuus",
                "sv": "livsmedelssäkerhet",
                "en": "food safety"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20955/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}