Word Game DB

A read-only REST API for educational word game development

About Word Game DB

Word Game DB is designed for educational purposes, helping developers practice their coding skills by building word games that incorporate an API. Each word comes with a category, letter count, syllable count, and helpful hint.

Perfect for building hangman games, word puzzles, vocabulary apps, and other projects.

API Versions

v2Paginated Format

Returns paginated data with metadata.

Response Format:

{words: [{word: "cobra", category: "animal", ...}, ...], pagination: {total, limit, offset, hasMore}}

v1LegacySimple Array Format

Returns a simple array of word objects.

Response Format:

[{word: "cobra", category: "animal", ...}, ...]

API Endpoints

  • GEThttps://www.wordgamedb.com/api/v2/categories

    Get all distinct categories

    Example:

    GET /api/v2/categories
  • GEThttps://www.wordgamedb.com/api/v2/words/random

    Get a random word from the database

    Example:

    GET /api/v2/words/random
  • GEThttps://www.wordgamedb.com/api/v2/words/[id]

    Get a specific word by ID

    Example:

    GET /api/v2/words/5ffa1774c0831cbe1460e29c
  • GEThttps://www.wordgamedb.com/api/v2/words

    Retrieve all words with optional query filtering and pagination

    Loading demo...
  • GEThttps://www.wordgamedb.com/api/v2/words/search

    Search for words by name with partial matching

    Loading demo...