🈴 Kanji Flash API

Free REST API for Japanese language learning — no API key required

✓ 100% Free ✓ CORS Enabled ✓ JSON Responses ✓ No Auth Required
101
JLPT N5 Kanji
170
Vocabulary Words
12
Endpoints
$0
Cost Forever

📚 Kanji Endpoints

GET /v1/kanji Try it →
List all 101 JLPT N5 kanji. Supports ?page=1&limit=20
GET /v1/kanji/random Try it →
Get a random kanji with readings, meaning, and examples
GET /v1/kanji/daily Try it →
Kanji of the day — same result all day, changes at midnight UTC
GET /v1/kanji/:character Try 火 →
Look up a specific kanji. Example: /v1/kanji/火

📖 Vocabulary Endpoints

GET /v1/vocab Try it →
List all 170 JLPT N5 vocabulary words. Supports ?page=1&limit=20&category=greetings
GET /v1/vocab/random Try it →
Get a random vocabulary word with reading, meaning, and example sentence
GET /v1/vocab/daily Try it →
Word of the day — deterministic, changes daily at midnight UTC
GET /v1/vocab/category/:name Try greetings →
Get words by category. Categories: greetings, time, people, places, food, verbs, adjectives, things, nature, numbers, misc

🎯 Quiz Endpoints

GET /v1/quiz/kanji Try it →
Random kanji multiple-choice question (4 options, meaning quiz)
GET /v1/quiz/vocab Try it →
Random vocabulary multiple-choice question (4 options)

📊 Meta

GET /v1/stats Try it →
API statistics — total kanji, vocab, categories breakdown

💡 Quick Start

JavaScript (fetch)

// Get today's kanji
const res = await fetch('https://kanjiflash-api.carmelitamalady.workers.dev/v1/kanji/daily');
const { data } = await res.json();
console.log(`Today's kanji: ${data.kanji} — ${data.meanings[0]}`);

Python (requests)

import requests

# Get a random vocab quiz
r = requests.get('https://kanjiflash-api.carmelitamalady.workers.dev/v1/quiz/vocab')
quiz = r.json()['data']
print(f"Q: {quiz['question']}")
for i, opt in enumerate(quiz['options']):
    print(f"  {i+1}. {opt}")
print(f"Answer: {quiz['options'][quiz['answer']]}")

cURL

curl -s https://kanjiflash-api.carmelitamalady.workers.dev/v1/kanji/random | jq .

⚡ Rate Limits & Usage

No API key required. Just make requests.

This API runs on Cloudflare Workers' free tier. Be reasonable — if you need heavy usage (>100K requests/day), please contact us.

Attribution appreciated: If you use this API in your project, a link back to kanjiflash.pages.dev is always appreciated (but not required).

🔗 Related