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

{
    "meta": {
        "count": 31945,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=265&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=263&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p10690",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:19:08.440366Z",
            "last_modified_time": "2023-08-16T05:19:08.440387Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hamppu",
                "sv": "hampa",
                "en": "hemp"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10690/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p10691",
            "has_user_editable_resources": false,
            "alt_labels": [
                "hampväxter"
            ],
            "created_time": "2023-08-16T05:16:32.014468Z",
            "last_modified_time": "2023-08-16T05:16:32.014486Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hamppukasvit",
                "sv": "hampaväxter",
                "en": "Cannabaceae"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p10691/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19896",
            "has_user_editable_resources": false,
            "alt_labels": [
                "burgers",
                "burgerit",
                "burgare"
            ],
            "created_time": "2023-08-16T05:09:55.420831Z",
            "last_modified_time": "2023-08-16T05:09:55.420850Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hampurilaiset",
                "sv": "hamburgare",
                "en": "hamburgers"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19896/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19292",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:13:11.719234Z",
            "last_modified_time": "2023-08-16T05:13:11.719251Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hamsterit",
                "sv": "hamstrar",
                "en": "hamsters"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19292/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p27559",
            "has_user_editable_resources": false,
            "alt_labels": [
                "hamstraaminen",
                "keräilypakko",
                "pakonomainen keräily",
                "disposofobi",
                "hamstrande",
                "patologiskt samlande",
                "samlarsjuka",
                "samlarsyndrom"
            ],
            "created_time": "2023-08-16T05:11:03.490585Z",
            "last_modified_time": "2023-08-16T05:11:03.490603Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hamstraus",
                "sv": "hamstring",
                "en": "hoarding"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p27559/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3565",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:14:10.454057Z",
            "last_modified_time": "2023-08-16T05:14:10.454072Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hanat",
                "sv": "kranar",
                "en": "faucets"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3565/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39661",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Handle"
            ],
            "created_time": "2023-08-16T05:11:50.187689Z",
            "last_modified_time": "2023-08-16T05:11:50.187711Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Handle-tunnus",
                "sv": "Handle (identifikatorer)",
                "en": "Handle (identifiers)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39661/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4361",
            "has_user_editable_resources": false,
            "alt_labels": [
                "hands free -toiminto",
                "kädet vapaana -toiminto"
            ],
            "created_time": "2023-08-16T05:11:55.807849Z",
            "last_modified_time": "2023-08-16T05:11:55.807867Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "handsfree-toiminto",
                "sv": "handsfree",
                "en": "hands free"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4361/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20903",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:04.101916Z",
            "last_modified_time": "2023-08-16T05:10:04.101940Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Hangon kirkko",
                "sv": "Hangö kyrka",
                "en": "Hanko Church"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20903/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8344",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Anserinae"
            ],
            "created_time": "2023-08-16T05:16:23.973016Z",
            "last_modified_time": "2023-08-16T05:16:23.973032Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hanhet",
                "sv": "gäss",
                "en": "geese"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8344/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22920",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:41.408414Z",
            "last_modified_time": "2024-09-01T04:40:23.505575Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hankajalkaiset",
                "sv": "hoppkräftor",
                "en": "Copepoda"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22920/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15185",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:30.785659Z",
            "last_modified_time": "2023-08-16T05:05:30.785679Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hankauslujuus",
                "sv": "friktionsfasthet",
                "en": "abrasion resistance"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15185/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19020",
            "has_user_editable_resources": false,
            "alt_labels": [
                "kitkasoittimet",
                "skrapidiofoner"
            ],
            "created_time": "2023-08-16T05:06:07.203676Z",
            "last_modified_time": "2023-08-16T05:06:07.203694Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hankaussoittimet",
                "sv": "friktionsinstrument",
                "en": "scraping instruments"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19020/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18622",
            "has_user_editable_resources": false,
            "alt_labels": [
                "projektisuunnittelu"
            ],
            "created_time": "2023-08-16T05:13:08.754447Z",
            "last_modified_time": "2023-08-16T05:13:08.754467Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hankesuunnittelu",
                "sv": "projektplanering",
                "en": "project planning"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p18622/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19644",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:13.849200Z",
            "last_modified_time": "2023-08-16T05:06:13.849218Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "han kieli",
                "sv": "ha (språk)",
                "en": "Ha language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19644/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4509",
            "has_user_editable_resources": false,
            "alt_labels": [
                "förvärv",
                "upphandling",
                "procurement"
            ],
            "created_time": "2023-08-16T05:18:55.780869Z",
            "last_modified_time": "2023-08-16T05:18:55.780885Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hankinta",
                "sv": "anskaffning",
                "en": "acquisition"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4509/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20195",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:20.643433Z",
            "last_modified_time": "2023-08-16T05:06:20.643453Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Hankiralli",
                "en": "Hankiralli"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20195/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p26940",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:18.223910Z",
            "last_modified_time": "2023-08-16T05:07:18.223928Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Hannulan herätys",
                "sv": "Hannulaväckelsen",
                "en": "Hannulan herätys"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p26940/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p37784",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:49.590113Z",
            "last_modified_time": "2023-08-16T05:07:49.590132Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Hannulan kartano",
                "sv": "Hannula gård",
                "en": "Hannula manor"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p37784/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17362",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Hansa"
            ],
            "created_time": "2023-08-16T05:09:32.447830Z",
            "last_modified_time": "2023-08-16T05:09:32.447852Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "hansa",
                "sv": "hansan",
                "en": "Hanseatic league"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17362/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}