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

{
    "meta": {
        "count": 32006,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1189&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1187&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p1694",
            "has_user_editable_resources": false,
            "alt_labels": [
                "non-military service",
                "siviilipalvelu"
            ],
            "created_time": "2023-08-16T05:18:12.769954Z",
            "last_modified_time": "2023-08-16T05:18:12.769973Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilipalvelus",
                "sv": "civiltjänst",
                "en": "alternative civil service"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1694/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22418",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:18.006545Z",
            "last_modified_time": "2023-08-16T05:10:18.006562Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilipalveluslaki",
                "sv": "civiltjänstlag",
                "en": "Non-Military Service Act"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22418/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22935",
            "has_user_editable_resources": false,
            "alt_labels": [
                "sivarit",
                "siviilipalvelumiehet",
                "siviilipalvelusmiehet",
                "civare",
                "civiltjänstpliktiga",
                "personer i vapenfri tjänst",
                "sivare",
                "vapenfria tjänstepliktiga",
                "persons liable for non-military service",
                "persons undergoing non-military service"
            ],
            "created_time": "2023-08-16T05:06:41.539945Z",
            "last_modified_time": "2024-01-27T04:40:26.212769Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilipalvelusvelvolliset",
                "sv": "civiltjänstgörare",
                "en": "non-military service persons"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22935/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5975",
            "has_user_editable_resources": false,
            "alt_labels": [
                "riita-asiain oikeudenkäynti",
                "rättegång i tvistemål"
            ],
            "created_time": "2023-08-16T05:19:18.946492Z",
            "last_modified_time": "2023-08-16T05:19:18.946509Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviiliprosessi",
                "sv": "civilprocess",
                "en": "civil procedure"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5975/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13732",
            "has_user_editable_resources": false,
            "alt_labels": [
                "civilt försvar",
                "defense by civils"
            ],
            "created_time": "2023-08-16T05:12:43.001141Z",
            "last_modified_time": "2023-08-16T05:12:43.001167Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilipuolustus",
                "sv": "civilförsvar",
                "en": "defence by civils"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p13732/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p40270",
            "has_user_editable_resources": false,
            "alt_labels": [
                "sotilas-siviilisuhteet (sotilaspolitiikka)",
                "military-civil relations (military policy)"
            ],
            "created_time": "2024-01-21T04:40:34.506028Z",
            "last_modified_time": "2024-03-20T04:41:10.922100Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviili-sotilassuhteet (sotilaspolitiikka)",
                "sv": "civil-militära relationer (militärpolitik)",
                "en": "civil-military relations (military policy)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p40270/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16435",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:57.877284Z",
            "last_modified_time": "2023-08-16T05:12:57.877310Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilisääty",
                "sv": "civilstånd",
                "en": "marital status"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16435/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p40527",
            "has_user_editable_resources": false,
            "alt_labels": [
                "civilberedskap"
            ],
            "created_time": "2024-11-02T04:41:52.392711Z",
            "last_modified_time": "2024-12-04T04:41:46.260817Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilivalmius",
                "sv": "civil beredskap",
                "en": "civil preparedness"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p40527/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13731",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:15:09.373531Z",
            "last_modified_time": "2023-08-16T05:15:09.373548Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilivastarinta",
                "sv": "civilmotstånd",
                "en": "civil resistance"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p13731/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7029",
            "has_user_editable_resources": false,
            "alt_labels": [
                "civilvigsel"
            ],
            "created_time": "2023-08-16T05:12:07.829629Z",
            "last_modified_time": "2023-08-16T05:12:07.829645Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviilivihkiminen",
                "sv": "borgerlig vigsel",
                "en": "civil marriage ceremony"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7029/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4208",
            "has_user_editable_resources": false,
            "alt_labels": [
                "siviilit",
                "civila"
            ],
            "created_time": "2023-08-16T05:11:54.985691Z",
            "last_modified_time": "2023-08-16T05:11:54.985709Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "siviiliväestö",
                "sv": "civilbefolkning",
                "en": "civilian population"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4208/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14980",
            "has_user_editable_resources": false,
            "alt_labels": [
                "civilization"
            ],
            "created_time": "2023-08-16T05:17:36.374196Z",
            "last_modified_time": "2023-08-16T05:17:36.374213Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivilisaatio",
                "sv": "civilisation",
                "en": "civilisation"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14980/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25901",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kulttuuriset oikeudet",
                "sivistykselliset oikeudet",
                "bildningsmässiga och kulturella rättigheter",
                "bildningsmässiga rättigheter"
            ],
            "created_time": "2023-08-16T05:10:49.976586Z",
            "last_modified_time": "2023-08-16T05:10:49.976606Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistykselliset ja kulttuuriset oikeudet",
                "sv": "kulturella rättigheter",
                "en": "cultural rights"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25901/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29687",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:14:05.068084Z",
            "last_modified_time": "2023-08-16T05:14:05.068101Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistymättömyys",
                "sv": "obildning",
                "en": "uncultured manner"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29687/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3218",
            "has_user_editable_resources": false,
            "alt_labels": [
                "intellektuellit",
                "intelligentsija",
                "bildad klass"
            ],
            "created_time": "2023-08-16T05:17:04.470321Z",
            "last_modified_time": "2023-08-16T05:17:04.470344Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistyneistö",
                "sv": "bildade klassen",
                "en": "educated classes"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3218/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14979",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:34.692280Z",
            "last_modified_time": "2023-08-16T05:18:34.692305Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistys",
                "sv": "bildning",
                "en": "general knowledge"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14979/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21724",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:50.483936Z",
            "last_modified_time": "2023-08-16T05:16:50.483953Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistyspalvelut",
                "sv": "kultur- och utbildningstjänster",
                "en": "education and culture services"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21724/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16833",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:59.765434Z",
            "last_modified_time": "2023-08-16T05:12:59.765460Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistyssanat",
                "sv": "kulturord",
                "en": "words of foreign origin"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16833/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21804",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:32.899367Z",
            "last_modified_time": "2023-08-16T05:06:32.899385Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistystoimenjohtajat",
                "sv": "bildningsdirektörer",
                "en": "head of local education and culture department"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21804/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6506",
            "has_user_editable_resources": false,
            "alt_labels": [
                "bildningsväsende"
            ],
            "created_time": "2023-08-16T05:18:57.897696Z",
            "last_modified_time": "2023-08-16T05:18:57.897715Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "sivistystoimi",
                "sv": "bildningsväsen",
                "en": "department of education and cultural services"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6506/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}