Data returned only for kanji subjects.

interface WKKanjiData {
    amalgamation_subject_ids: number[];
    auxiliary_meanings: WKSubjectAuxiliaryMeaning[];
    characters: string;
    component_subject_ids: number[];
    created_at: WKDatableString;
    document_url: string;
    hidden_at: null | WKDatableString;
    lesson_position: number;
    level: WKLevel;
    meaning_hint: null | string;
    meaning_mnemonic: string;
    meanings: WKSubjectMeaning[];
    reading_hint: null | string;
    reading_mnemonic: string;
    readings: WKKanjiReading[];
    slug: string;
    spaced_repetition_system_id: number;
    visually_similar_subject_ids: number[];
    character_images?: undefined;
    context_sentences?: undefined;
    parts_of_speech?: undefined;
    pronunciation_audios?: undefined;
}

Hierarchy (view full)

Properties

amalgamation_subject_ids: number[]

An array of numeric identifiers for the vocabulary that have the kanji as a component.

auxiliary_meanings: WKSubjectAuxiliaryMeaning[]

Collection of auxiliary meanings.

characters: string

The UTF-8 characters for the subject, including kanji and hiragana.

component_subject_ids: number[]

An array of numeric identifiers for the radicals that make up this kanji. Note that these are the subjects that must have passed assignments in order to unlock this subject's assignment.

created_at: WKDatableString

Timestamp when the subject was created.

document_url: string

A URL pointing to the page on wanikani.com that provides detailed information about this subject.

hidden_at: null | WKDatableString

Timestamp when the subject was hidden, indicating associated assignments will no longer appear in lessons or reviews and that the subject page is no longer visible on wanikani.com.

lesson_position: number

The position that the subject appears in lessons. Note that the value is scoped to the level of the subject, so there are duplicate values across levels.

level: WKLevel

The level of the subject, from 1 to 60.

meaning_hint: null | string

Meaning hint for the kanji.

meaning_mnemonic: string

The subject's meaning mnemonic.

meanings: WKSubjectMeaning[]

The subject meanings.

reading_hint: null | string

Reading hint for the kanji.

reading_mnemonic: string

The kanji's reading mnemonic.

readings: WKKanjiReading[]

Selected readings for the kanji.

slug: string

The string that is used when generating the document URL for the subject. Radicals use their meaning, downcased. Kanji and vocabulary use their characters.

spaced_repetition_system_id: number

Unique identifier of the associated Spaced Repetition System.

visually_similar_subject_ids: number[]

An array of numeric identifiers for kanji which are visually similar to the kanji in question.

character_images?: undefined

Kanji subjects will never have a character_images property defined.

context_sentences?: undefined

Kanji subjects will never have a context_sentences property defined.

parts_of_speech?: undefined

Kanji subjects will never have a parts_of_speech property defined.

pronunciation_audios?: undefined

Kanji subjects will never have a pronunciation_audios property defined.