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

{
    "meta": {
        "count": 31675,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1567&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1565&show_all_keywords=True"
    },
    "data": [
        {
            "id": "kulke:449",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.392451Z",
            "last_modified_time": "2024-02-06T13:19:16.389793Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Jooga"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:449/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:425",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.110420Z",
            "last_modified_time": "2024-02-06T13:19:16.038647Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Jousiammunta"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:425/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:436",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.280135Z",
            "last_modified_time": "2024-02-06T13:19:16.234911Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Judo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:436/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:605",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.805620Z",
            "last_modified_time": "2024-02-06T13:19:16.961339Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Jumppa"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:605/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:727",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:14:00.399249Z",
            "last_modified_time": "2024-02-06T13:19:17.779278Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Juoksu"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:727/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:565",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.767946Z",
            "last_modified_time": "2024-02-06T13:19:16.897356Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Jääkiekko"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:565/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:609",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.829948Z",
            "last_modified_time": "2024-02-06T13:19:17.001428Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Jääpallo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:609/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:229",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:58.227795Z",
            "last_modified_time": "2024-02-06T13:19:14.783059Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kaksinkertainen hinta (lipunmyynti)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:229/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:661",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:14:00.203749Z",
            "last_modified_time": "2024-02-06T13:19:17.498974Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kanneltalon kurssit"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:661/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:546",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.499892Z",
            "last_modified_time": "2024-02-06T13:19:16.546601Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kanoottipoolo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:546/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:452",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.429052Z",
            "last_modified_time": "2024-02-06T13:19:16.450624Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Karate"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:452/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:446",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.345742Z",
            "last_modified_time": "2024-02-06T13:19:16.330414Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kaukalojalkapallo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:446/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:726",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:14:00.388035Z",
            "last_modified_time": "2024-02-06T13:19:17.759526Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "kaukalopallo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:726/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:368",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:58.675171Z",
            "last_modified_time": "2024-02-06T13:19:15.420406Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kaukalopallo"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:368/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:222",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:58.204979Z",
            "last_modified_time": "2024-02-06T13:19:14.742980Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Keihäänheitto"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:222/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:547",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.512030Z",
            "last_modified_time": "2024-02-06T13:19:16.566050Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kick-boxing"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:547/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:420",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:59.037633Z",
            "last_modified_time": "2024-02-06T13:19:15.937776Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kiipeily"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:420/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:393",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:58.992680Z",
            "last_modified_time": "2024-02-06T13:19:15.879518Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kilpatanssi"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:393/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:672",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:14:00.276414Z",
            "last_modified_time": "2024-02-06T13:19:17.595199Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kokous"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:672/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "kulke:379",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-09-07T14:13:58.818128Z",
            "last_modified_time": "2024-02-06T13:19:15.643892Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "kulke",
            "publisher": "ahjo:u48040010",
            "replaced_by": null,
            "name": {
                "fi": "Kokous"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/kulke:379/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}