Getting Started

Quick Start

Make your first API call in under 2 minutes.

1. Get Your API Key

For testing, use our demo API key:

demo-key-12345

2. Make Your First Request

Fetch A1 level vocabulary with a simple cURL request:

cURL
curl -X GET "https://german-language.onrender.com/vocab?level=a1&limit=5" \
  -H "X-API-Key: demo-key-12345"

3. Understand the Response

You'll receive a JSON response like this:

Response 200 OK
{
  "level": "A1",
  "total": 834,
  "returned": 5,
  "data": [
    {
      "german": "Haus",
      "english": "house",
      "gender": "das",
      "pos": "noun",
      "example_de": "Das Haus ist groß.",
      "example_en": "The house is big."
    },
    // ... more entries
  ]
}

Available Endpoints

EndpointDescription
GET /vocabGet vocabulary by CEFR level
GET /vocab/searchSearch vocabulary
GET /grammarGet grammar rules
GET /sentencesGet sentences by level
GET /alphabetGet alphabet with pronunciation
GET /statsGet dataset statistics

Next Steps

Learn about authentication and explore the full API reference.