API Reference

API Reference

Complete reference for all available API endpoints.

Base URL

https://german-language.onrender.com

All Endpoints

GET /stats

Returns statistics about the dataset including counts for vocabulary, grammar, and sentences.

Request

curl -X GET "https://german-language.onrender.com/stats" \
  -H "X-API-Key: demo-key-12345"

Response

200 OK
{
  "alphabet": 43,
  "vocabulary": {
    "a1": 834,
    "a2": 1408,
    "b1": 2000,
    "b2": 2000,
    "c1": 2000,
    "total": 8242
  },
  "grammar": 365,
  "sentences": 2300
}

Detailed Endpoint Documentation

Click on any endpoint above to see detailed parameters, examples, and response schemas.