Dictionary API Tutorial
A developer-focused guide to the WesenAI Dictionary API, including advanced word search, language management, and more.
This tutorial provides a technically accurate guide to the WesenAI Dictionary API.
API Reference
- Base URL:
https://dictionary.api.wesen.ai
- Authentication:
Authorization: Bearer YOUR_API_KEY
orX-API-Key: YOUR_API_KEY
Endpoints
Service Information
- GET /v1: Get Dictionary service information.
- GET /v1/health: Check service health status.
Dictionary
- GET /v1/dictionary/search: Advanced word search across dictionaries.
- GET /v1/dictionary/languages: List all languages with optional filtering.
- GET /v1/dictionary/languages/{code}: Get detailed language information.
- GET /v1/dictionary/languages/{code}/scripts: Get writing systems for a language.
- GET /v1/dictionary/languages/{code}/phonemes: Get phoneme inventory for a language.
- GET /v1/dictionary/dictionaries: List dictionaries with filtering.
- GET /v1/dictionary/dictionaries/{id}/entries: List dictionary entries with advanced filtering.
- GET /v1/dictionary/words/{id}: Get detailed word information.
- GET /v1/dictionary/words/{id}/translations: Get word translations.
- GET /v1/dictionary/words/{id}/conjugations: Get verb conjugations.
- GET /v1/dictionary/collections: List word collections.
- GET /v1/dictionary/collections/{id}/words: List words in a collection.
Words
- GET /v1/words/{id}: Get word by ID.
- GET /v1/words: Find word by text.