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=1437&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=1438&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1436&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p11860",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:33.373209Z",
            "last_modified_time": "2023-08-16T05:12:33.373227Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiontilintarkastus",
                "sv": "statsrevision",
                "en": "parliamentary audit"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11860/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1903",
            "has_user_editable_resources": false,
            "alt_labels": [
                "julkinen tuki",
                "julkiset tuet",
                "valtion tuki"
            ],
            "created_time": "2023-08-16T05:19:34.117648Z",
            "last_modified_time": "2023-08-16T05:19:34.117665Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiontuki",
                "sv": "statsstöd",
                "en": "government support"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1903/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20605",
            "has_user_editable_resources": false,
            "alt_labels": [
                "state income",
                "statliga inkomster",
                "statsinkomster"
            ],
            "created_time": "2023-08-16T05:13:16.845473Z",
            "last_modified_time": "2023-08-16T05:13:16.845490Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtion tulot",
                "sv": "statens inkomster",
                "en": "state revenue"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20605/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15411",
            "has_user_editable_resources": false,
            "alt_labels": [
                "hallitusten tunnustaminen"
            ],
            "created_time": "2023-08-16T05:17:36.982344Z",
            "last_modified_time": "2023-08-16T05:17:36.982363Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtion tunnustaminen",
                "sv": "erkännande av stat",
                "en": "recognition of a state"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15411/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6961",
            "has_user_editable_resources": false,
            "alt_labels": [
                "state employees",
                "statens arbetstagare",
                "statligt anställda",
                "statstjänstemän"
            ],
            "created_time": "2023-08-16T05:12:07.351637Z",
            "last_modified_time": "2023-08-16T05:12:07.351653Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtion työntekijät",
                "sv": "statsanställda",
                "en": "government employees"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6961/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16757",
            "has_user_editable_resources": false,
            "alt_labels": [
                "statsfinanser"
            ],
            "created_time": "2023-08-16T05:12:59.421559Z",
            "last_modified_time": "2023-08-16T05:12:59.421577Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtionvarat",
                "sv": "statsmedel",
                "en": "government funds"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16757/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19093",
            "has_user_editable_resources": false,
            "alt_labels": [
                "state debt"
            ],
            "created_time": "2023-08-16T05:09:47.518508Z",
            "last_modified_time": "2023-08-16T05:09:47.518542Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtionvelka",
                "sv": "statsskuld",
                "en": "central government debt"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19093/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29241",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:17.507798Z",
            "last_modified_time": "2024-06-28T04:40:32.884810Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Valtion vierastalo",
                "sv": "Statens gästhus",
                "en": "State Guest House (Finland)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29241/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3823",
            "has_user_editable_resources": false,
            "alt_labels": [
                "civil service departments"
            ],
            "created_time": "2023-08-16T05:18:54.696209Z",
            "last_modified_time": "2023-08-16T05:18:54.696227Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtion virastot",
                "sv": "statliga ämbetsverk",
                "en": "government offices"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3823/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p26800",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:48.653827Z",
            "last_modified_time": "2023-08-16T05:13:48.653848Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtion virkaehtosopimuslaki",
                "sv": "lag om statens tjänstekollektivavtal",
                "en": "Act on collective bargaining agreement on civil servant salaries"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p26800/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19538",
            "has_user_editable_resources": false,
            "alt_labels": [
                "government-owned enterprises",
                "public corporations",
                "valtioenemmistöiset osakeyhtiöt",
                "valtionyritykset",
                "aktiebolag med statlig majoritet",
                "statliga bolag",
                "statliga företag"
            ],
            "created_time": "2023-08-16T05:13:12.942622Z",
            "last_modified_time": "2023-08-16T05:13:12.942638Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtionyhtiöt",
                "sv": "statsbolag",
                "en": "state-owned companies"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19538/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5892",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:14.939649Z",
            "last_modified_time": "2023-08-16T05:16:14.939666Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtio-oikeus",
                "sv": "statsrätt",
                "en": "constitutional law (provisions)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5892/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8772",
            "has_user_editable_resources": false,
            "alt_labels": [
                "statslära"
            ],
            "created_time": "2023-08-16T05:12:16.998449Z",
            "last_modified_time": "2023-08-16T05:12:16.998466Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtio-oppi",
                "sv": "statskunskap",
                "en": "political science"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8772/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7664",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:14:44.232909Z",
            "last_modified_time": "2023-08-16T05:14:44.232928Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopetos",
                "sv": "högförräderi",
                "en": "high treason"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7664/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15263",
            "has_user_editable_resources": false,
            "alt_labels": [
                "riksdagsdokument"
            ],
            "created_time": "2023-08-16T05:09:15.323990Z",
            "last_modified_time": "2023-08-16T05:09:15.324011Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopäiväasiakirjat",
                "sv": "riksdagshandlingar",
                "en": "parliamentary documents"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15263/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3243",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:28.366618Z",
            "last_modified_time": "2023-08-16T05:11:28.366636Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopäiväjärjestys",
                "sv": "riksdagsordning",
                "en": "parliament act"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3243/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11089",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:08:44.993384Z",
            "last_modified_time": "2023-08-16T05:08:44.993402Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopäivämiehet",
                "sv": "lantdagsmän",
                "en": "delegates to the diet"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11089/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12636",
            "has_user_editable_resources": false,
            "alt_labels": [
                "riksdagar (sessionsperioder)"
            ],
            "created_time": "2023-08-16T05:16:36.920156Z",
            "last_modified_time": "2023-08-16T05:16:36.920173Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopäivät (istuntokaudet)",
                "sv": "riksmöten",
                "en": "parliamentary sessions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12636/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7047",
            "has_user_editable_resources": false,
            "alt_labels": [
                "riksdag (folkrepresentationer)",
                "riksdagen"
            ],
            "created_time": "2023-08-16T05:18:26.570638Z",
            "last_modified_time": "2023-08-16T05:18:26.570656Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiopäivät (kansanedustuslaitokset)",
                "sv": "riksdagar",
                "en": "diets (parliaments)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7047/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7663",
            "has_user_editable_resources": false,
            "alt_labels": [
                "crimes against the state",
                "political offenses"
            ],
            "created_time": "2023-08-16T05:16:21.385034Z",
            "last_modified_time": "2023-08-16T05:16:21.385050Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "valtiorikokset",
                "sv": "statsförbrytelser",
                "en": "political offences"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7663/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}