Dictionary

Get word definitions, IPA phonetics, usage examples, and synonyms in a single request. Perfect for vocabulary tools, writing assistants, and educational applications.

Get API Key

Vue d'ensemble

Cas d'utilisation

  • Vocabulary learning and flashcard apps
  • Writing assistance and enrichment tools
  • Educational platforms and language learning
  • Word game development
  • Content creation and SEO tools

Fonctionnalités

IPA phonetic transcriptions
Multiple definitions per word (noun, adjective, verb, etc.)
Usage examples for each definition
Synonyms included in every response
Case-insensitive lookup
Fast, low-latency in-memory responses

Points de terminaison de l'API

Dictionary Lookup

Returns the definition, phonetics, examples, and synonyms for the given word.

GET
https://requiems.xyz/v1/text/dictionary/{word}

Paramètres

Nom Type Requis Description
word string Requis The word to look up in the dictionary

Essayez-le

Démo en direct
Requête

The word to look up in the dictionary

Champs de réponse

Champ Type Description
word string The normalized (lowercased) word that was looked up
phonetic string IPA phonetic transcription of the word (may be omitted if unavailable)
definitions array<object> One or more definitions for the word, each with part_of_speech, definition, and an optional example
definitions[].part_of_speech string Grammatical category (e.g. noun, verb, adjective)
definitions[].definition string Plain-text definition of the word
definitions[].example string Example sentence using the word (may be omitted)
synonyms array<string> List of words with similar meaning

Exemples de code

curl https://requiems.xyz/v1/text/dictionary/ephemeral \
  -H "requiems-api-key: YOUR_API_KEY"

Réponses d'erreur

not_found

The word was not found in the dictionary dataset.

bad_request

The word path parameter is missing.

Batch Define Words

Resolve multiple words in a single request. Returns dictionary entries when found, or error information when a word is not in the dataset.

POST
https://requiems.xyz/v1/text/words/batch

Paramètres

Nom Type Requis Description
items array<string> Requis List of words to look up in batch (max 50 items)

Essayez-le

Démo en direct
Requête

List of words to look up in batch (max 50 items)

Champs de réponse

Champ Type Description
results array<object> List of batch lookup results
total integer Total number of items processed

Exemples de code

curl -X POST "https://requiems.xyz/v1/text/words/batch" \
  -H "requiems-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":["example"]}'

Réponses d'erreur

422

unprocessable_entity

Invalid or empty items array

Foire aux questions