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

{
    "meta": {
        "count": 31705,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1473&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1471&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p14652",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:26.589534Z",
            "last_modified_time": "2023-08-16T05:05:26.589551Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "veroviranomaiset",
                "sv": "skattemyndigheter",
                "en": "tax authorities"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14652/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11150",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:03.291759Z",
            "last_modified_time": "2023-08-16T05:05:03.291778Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "verovirkailijat",
                "sv": "skattebyråtjänstemän",
                "en": "revenue officials"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11150/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19787",
            "has_user_editable_resources": false,
            "alt_labels": [
                "tax allowances"
            ],
            "created_time": "2023-08-16T05:09:54.282628Z",
            "last_modified_time": "2023-08-16T05:09:54.282654Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "verovähennykset",
                "sv": "skatteavdrag",
                "en": "tax deductions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19787/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17428",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:32.895116Z",
            "last_modified_time": "2023-08-16T05:09:32.895135Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "veroäyri",
                "sv": "skatteöre",
                "en": "municipal tax percentage"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17428/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7859",
            "has_user_editable_resources": false,
            "alt_labels": [
                "joggning",
                "uppmjukning (idrott)",
                "uppvärmning (idrott)"
            ],
            "created_time": "2023-08-16T05:12:11.987561Z",
            "last_modified_time": "2023-08-16T05:12:11.987578Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "verryttely",
                "sv": "uppmjukning",
                "en": "warm-up"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7859/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p23683",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Versailles'n linna",
                "Versailles'n palatsi",
                "Versaillesin palatsi",
                "Versailles slott"
            ],
            "created_time": "2023-08-16T05:10:30.696689Z",
            "last_modified_time": "2023-08-16T05:10:30.696708Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Versaillesin linna",
                "sv": "Slottet i Versailles",
                "en": "Versailles Palace"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p23683/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1553",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Versailles'n rauha",
                "Versailles'n rauhansopimus",
                "Versailles'n sopimus",
                "Versaillesin rauhansopimus",
                "Versaillesin sopimus",
                "Versaillesfreden (1919)",
                "freden i Versailles"
            ],
            "created_time": "2023-08-16T05:12:52.691497Z",
            "last_modified_time": "2023-08-16T05:12:52.691516Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Versaillesin rauha",
                "sv": "Versaillesfreden",
                "en": "Treaty of Versailles"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1553/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29831",
            "has_user_editable_resources": false,
            "alt_labels": [
                "versets (organ music)"
            ],
            "created_time": "2023-08-16T05:14:05.904435Z",
            "last_modified_time": "2023-08-16T05:14:05.904456Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "versetit",
                "sv": "versetter",
                "en": "organ versets"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29831/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29761",
            "has_user_editable_resources": false,
            "alt_labels": [
                "runomuotoon tekeminen"
            ],
            "created_time": "2023-08-16T05:15:54.847750Z",
            "last_modified_time": "2023-08-16T05:15:54.847767Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "versifikaatio",
                "sv": "versifikation",
                "en": "versification"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29761/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8075",
            "has_user_editable_resources": false,
            "alt_labels": [
                "gremmeniella canker",
                "männynversosurma",
                "männynversosyöpä",
                "versosyöpä"
            ],
            "created_time": "2023-08-16T05:16:22.976521Z",
            "last_modified_time": "2023-08-16T05:16:22.976539Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "versosurma",
                "sv": "tallens gren- och topptorka",
                "en": "scleroderris canker"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8075/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22839",
            "has_user_editable_resources": false,
            "alt_labels": [
                "skott (botanik)",
                "skott (växternas beståndsdelar)"
            ],
            "created_time": "2023-08-16T05:06:40.638014Z",
            "last_modified_time": "2023-08-16T05:06:40.638038Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "versot",
                "sv": "skott (växtdelar)",
                "en": "microgreens"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22839/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19515",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:12.281917Z",
            "last_modified_time": "2023-08-16T05:06:12.281934Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva kasvatustiede",
                "sv": "jämförande pedagogik",
                "en": "comparative education"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19515/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7962",
            "has_user_editable_resources": false,
            "alt_labels": [
                "jämförande språkforskning",
                "komparativ lingvistik",
                "kontrastiv lingvistik"
            ],
            "created_time": "2023-08-16T05:12:12.468843Z",
            "last_modified_time": "2023-08-16T05:12:12.468860Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva kielitiede",
                "sv": "jämförande språkvetenskap",
                "en": "comparative linguistics"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7962/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1563",
            "has_user_editable_resources": false,
            "alt_labels": [
                "komparatiivinen kirjallisuudentutkimus",
                "jämförande litteraturforskning"
            ],
            "created_time": "2023-08-16T05:09:18.554567Z",
            "last_modified_time": "2023-08-16T05:09:18.554587Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva kirjallisuudentutkimus",
                "sv": "komparativ litteraturforskning",
                "en": "comparative literary criticism"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1563/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11192",
            "has_user_editable_resources": false,
            "alt_labels": [
                "comparative jurisprudence",
                "jämförande rättsvetenskap"
            ],
            "created_time": "2023-08-16T05:08:45.639616Z",
            "last_modified_time": "2023-08-16T05:08:45.639633Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva oikeustiede",
                "sv": "komparativ rätt",
                "en": "comparative law"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11192/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39802",
            "has_user_editable_resources": false,
            "alt_labels": [
                "comparative government",
                "vertaileva politiikan tutkimus",
                "jämförande statskunskap",
                "jämförande statsvetenskap",
                "komparativ politik",
                "komparativ politologi"
            ],
            "created_time": "2023-08-16T05:11:51.574781Z",
            "last_modified_time": "2023-08-16T05:11:51.574802Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva politiikantutkimus",
                "sv": "jämförande politik",
                "en": "comparative politics"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39802/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38230",
            "has_user_editable_resources": false,
            "alt_labels": [
                "komparativ psykologi"
            ],
            "created_time": "2023-08-16T05:14:14.714573Z",
            "last_modified_time": "2023-08-16T05:14:14.714593Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva psykologia",
                "sv": "jämförande psykologi",
                "en": "comparative psychology"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38230/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1772",
            "has_user_editable_resources": false,
            "alt_labels": [
                "komparativ forskning"
            ],
            "created_time": "2023-08-16T05:13:04.646781Z",
            "last_modified_time": "2023-08-16T05:13:04.646799Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertaileva tutkimus",
                "sv": "jämförande forskning",
                "en": "comparative research"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1772/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9080",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:26.974176Z",
            "last_modified_time": "2023-08-16T05:16:26.974194Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertailu",
                "sv": "jämförelse",
                "en": "comparison"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9080/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16779",
            "has_user_editable_resources": false,
            "alt_labels": [
                "komparaatio",
                "jämförelsegrader"
            ],
            "created_time": "2023-08-16T05:05:44.560355Z",
            "last_modified_time": "2023-08-16T05:05:44.560373Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vertailuasteet",
                "sv": "komparation",
                "en": "degrees of comparison"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16779/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}