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

Descripción general

Casos de uso

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

Funcionalidades

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

Puntos finales de la API

Dictionary Lookup

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

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

Parámetros

Nombre Tipo Obligatorio Descripción
word string Obligatorio The word to look up in the dictionary

Pruébalo

Demostración en vivo
Solicitud

The word to look up in the dictionary

Campos de respuesta

Campo Tipo Descripción
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

Ejemplos de código

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

Respuestas de error

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

Parámetros

Nombre Tipo Obligatorio Descripción
items array<string> Obligatorio List of words to look up in batch (max 50 items)

Pruébalo

Demostración en vivo
Solicitud

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

Campos de respuesta

Campo Tipo Descripción
results array<object> List of batch lookup results
total integer Total number of items processed

Ejemplos de código

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"]}'

Respuestas de error

422

unprocessable_entity

Invalid or empty items array

Preguntas frecuentes