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=170&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=171&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=169&show_all_keywords=True"
    },
    "data": [
        {
            "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"
        },
        {
            "id": "yso:p20205",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elintarviketyöläiset"
            ],
            "created_time": "2023-08-16T05:06:20.800454Z",
            "last_modified_time": "2023-08-16T05:06:20.800474Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarviketyöntekijät",
                "sv": "livsmedelsarbetare",
                "en": "food workers"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20205/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4159",
            "has_user_editable_resources": false,
            "alt_labels": [
                "livsmedelskontroll"
            ],
            "created_time": "2023-08-16T05:19:04.953396Z",
            "last_modified_time": "2023-08-16T05:19:04.953415Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikevalvonta",
                "sv": "livsmedelsövervakning",
                "en": "food control and monitoring"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4159/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4937",
            "has_user_editable_resources": false,
            "alt_labels": [
                "atsovärit",
                "azofärger"
            ],
            "created_time": "2023-08-16T05:11:58.527213Z",
            "last_modified_time": "2023-08-16T05:11:58.527230Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikevärit",
                "sv": "livsmedelsfärger",
                "en": "food colourings"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4937/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6580",
            "has_user_editable_resources": false,
            "alt_labels": [
                "ruokatavarat",
                "livsmedelsprodukter"
            ],
            "created_time": "2023-08-16T05:19:44.730847Z",
            "last_modified_time": "2023-08-16T05:19:44.730871Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintarvikkeet",
                "sv": "livsmedel",
                "en": "foodstuffs"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6580/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10762",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:37.010315Z",
            "last_modified_time": "2023-08-16T05:19:37.010334Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintaso",
                "sv": "levnadsstandard",
                "en": "standard of living"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10762/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p27187",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elämäntapasairaudet",
                "livsstilsrelaterade sjukdomar",
                "livsstilssjukdomar",
                "välfärdsrelaterade sjukdomar"
            ],
            "created_time": "2023-08-16T05:07:20.585419Z",
            "last_modified_time": "2023-08-16T05:07:20.585437Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintasosairaudet",
                "sv": "välfärdssjukdomar",
                "en": "diseases of affluence"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p27187/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5530",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elämäntavat",
                "levnadssätt"
            ],
            "created_time": "2023-08-16T05:18:24.485345Z",
            "last_modified_time": "2023-08-16T05:18:24.485364Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintavat",
                "sv": "levnadsvanor",
                "en": "lifestyle habits"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5530/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11989",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elimenluovutustestamentti",
                "elinluovutuskortti",
                "elinluovutustestamentti",
                "elintenluovutustestamentti"
            ],
            "created_time": "2023-08-16T05:12:33.884195Z",
            "last_modified_time": "2023-08-16T05:12:33.884212Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintestamentti",
                "sv": "organtestamente",
                "en": "organ testament"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11989/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p24633",
            "has_user_editable_resources": false,
            "alt_labels": [
                "livsfunktioner"
            ],
            "created_time": "2023-08-16T05:10:38.896578Z",
            "last_modified_time": "2023-08-16T05:10:38.896596Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elintoiminnot",
                "sv": "livsprocesser",
                "en": "vital functions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p24633/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38261",
            "has_user_editable_resources": false,
            "alt_labels": [
                "organodling"
            ],
            "created_time": "2023-08-16T05:16:01.258715Z",
            "last_modified_time": "2023-08-16T05:16:01.258732Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elinviljely",
                "sv": "organkultur",
                "en": "organ culture"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38261/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20950",
            "has_user_editable_resources": false,
            "alt_labels": [
                "vitaalisuus",
                "vitalitet"
            ],
            "created_time": "2023-08-16T05:10:04.331285Z",
            "last_modified_time": "2023-08-16T05:10:04.331311Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elinvoimaisuus",
                "sv": "livskraft",
                "en": "vitality"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20950/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14074",
            "has_user_editable_resources": false,
            "alt_labels": [
                "elinympäristö (sosiologia)",
                "levnadsmiljö",
                "livsmiljö (sociologi)"
            ],
            "created_time": "2023-08-16T05:18:11.035603Z",
            "last_modified_time": "2023-08-16T05:18:11.035619Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elinympäristö",
                "sv": "livsmiljö",
                "en": "living environment"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14074/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p24748",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:38.387478Z",
            "last_modified_time": "2023-08-16T05:13:38.387498Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "elitismi",
                "sv": "elitism",
                "en": "elitism"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p24748/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}