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

{
    "meta": {
        "count": 551,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=26",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=24"
    },
    "data": [
        {
            "id": "helmet:12039",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-15T12:19:49.307437Z",
            "last_modified_time": "2023-08-15T12:19:49.348731Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "data_source": "helmet",
            "publisher": "ahjo:u4804001010",
            "replaced_by": null,
            "name": {
                "fi": "Palvelut Kontulan kirjastossa"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/helmet:12039/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "helmet:11937",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2024-01-16T15:24:07.013738Z",
            "last_modified_time": "2024-01-16T15:24:07.077905Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "data_source": "helmet",
            "publisher": "ahjo:u4804001010",
            "replaced_by": null,
            "name": {
                "fi": "Skolor och daghem",
                "sv": "Skolor och daghem"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/helmet:11937/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "helmet:10849",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-11-21T13:15:10.124433Z",
            "last_modified_time": "2023-11-21T13:15:10.171391Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "data_source": "helmet",
            "publisher": "ahjo:u4804001010",
            "replaced_by": null,
            "name": {
                "fi": "Tapiolan kirjasto "
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/helmet:10849/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "helmet:10743",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-10-13T10:24:40.671948Z",
            "last_modified_time": "2024-02-06T13:32:08.372871Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "data_source": "helmet",
            "publisher": "ahjo:u48040050",
            "replaced_by": null,
            "name": {
                "fi": "Vinkit",
                "ru": "Что почитать"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/helmet:10743/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "helmet:11349",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2024-02-16T17:25:29.422416Z",
            "last_modified_time": "2024-02-16T17:25:29.458842Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1,
            "image": null,
            "data_source": "helmet",
            "publisher": "ahjo:u48040050",
            "replaced_by": null,
            "name": {
                "fi": "Афиша",
                "ru": "Афиша"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/helmet:11349/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66oi",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.151726Z",
            "last_modified_time": "2023-12-13T11:20:12.151743Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1818,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Leppävaara",
                "sv": "Alberga",
                "en": "Leppävaara"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66oi/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz7av4",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.724608Z",
            "last_modified_time": "2023-12-13T11:20:12.724625Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1362,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "lapsiperheet",
                "sv": "barnfamiljer",
                "en": "families"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz7av4/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66hi",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.096292Z",
            "last_modified_time": "2023-12-13T11:20:12.096316Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1330,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Espoonlahti",
                "sv": "Esboviken",
                "en": "Espoonlahti"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66hi/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66fq",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.081778Z",
            "last_modified_time": "2023-12-13T11:20:12.081796Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1316,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Kivenlahti",
                "sv": "Stensvik",
                "en": "Kivenlahti"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66fq/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66mq",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.137750Z",
            "last_modified_time": "2023-12-13T11:20:12.137771Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1289,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Finnoo",
                "sv": "Finno",
                "en": "Finnoo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66mq/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66ky",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.123308Z",
            "last_modified_time": "2023-12-13T11:20:12.123326Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1150,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Soukka",
                "sv": "Sökö",
                "en": "Soukka"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66ky/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz67i4",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.364884Z",
            "last_modified_time": "2023-12-13T11:20:12.364908Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": true,
            "n_events": 1119,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Kaitaa",
                "sv": "Kaitans",
                "en": "Kaitaa"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz67i4/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz65ie",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:11.846704Z",
            "last_modified_time": "2023-12-13T11:20:11.846734Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 1001,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Espoon keskus",
                "sv": "Esbo centrum",
                "en": "Espoon keskus"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz65ie/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz65ka",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:11.861544Z",
            "last_modified_time": "2023-12-13T11:20:11.861564Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 966,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Muurala",
                "sv": "Morby",
                "en": "Muurala"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz65ka/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz65l4",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:11.876507Z",
            "last_modified_time": "2023-12-13T11:20:11.876525Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 960,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Kaupunginkallio",
                "sv": "Stadsberget",
                "en": "Kaupunginkallio"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz65l4/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz7azy",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.755205Z",
            "last_modified_time": "2023-12-13T11:20:12.755224Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 736,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "nuoret",
                "sv": "unga",
                "en": "youth"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz7azy/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz65fm",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:11.825528Z",
            "last_modified_time": "2023-12-13T11:20:11.825556Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 734,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Tapiola",
                "sv": "Hagalund",
                "en": "Tapiola"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz65fm/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66by",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.052436Z",
            "last_modified_time": "2023-12-13T11:20:12.052454Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 566,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Matinkylä",
                "sv": "Mattby",
                "en": "Matinkylä"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66by/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz7axy",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.741193Z",
            "last_modified_time": "2023-12-13T11:20:12.741210Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 460,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "seniorit",
                "sv": "seniorer",
                "en": "elderly"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz7axy/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "espoo_le:agggfz66tq",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-12-13T11:20:12.193875Z",
            "last_modified_time": "2023-12-13T11:20:12.193895Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 337,
            "image": null,
            "data_source": "espoo_le",
            "publisher": null,
            "replaced_by": null,
            "name": {
                "fi": "Kilo",
                "sv": "Kilo",
                "en": "Kilo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/espoo_le:agggfz66tq/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}