Data returned only for vocabulary subjects.

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

Hierarchy (view full)

Properties

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 kanji that make up this vocabulary. Note that these are the subjects that must be have passed assignments in order to unlock this subject's assignment.

context_sentences: WKVocabularyContextSentence[]

A collection of context sentences.

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_mnemonic: string

The subject's meaning mnemonic.

meanings: WKSubjectMeaning[]

The subject meanings.

parts_of_speech: string[]

Parts of speech.

pronunciation_audios: WKVocabularyPronunciationAudio[]

A collection of pronunciation audio.

reading_mnemonic: string

The vocabulary's reading mnemonic.

Selected readings for the vocabulary.

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.

amalgamation_subject_ids?: undefined

Vocabulary subjects will never have an amalgamation_subject_ids property defined.

character_images?: undefined

Vocabulary subjects will never have a character_images property defined.

meaning_hint?: undefined

Vocabulary subjects will never have a meaning_hint property defined.

reading_hint?: undefined

Vocabulary subjects will never have a reading_hint property defined.

visually_similar_subject_ids?: undefined

Vocabulary subjects will never have a visually_similar_subject_ids property defined.