API URL
POST /api/v1/dictionary
Headers
Code
Content-Type: application/jsonBody Parameters
Param
Type
Description
word
required
string
Single-word input for define route
q
required
string
Suggestion query value
Example Request
Code
GET https://datpaq.com/api/v1/dictionary/batch?api_key=your-api-key&words=hello,bank,phoneticSuccessful Response
Status
HTML
200 OKBody
Code
{
"word": "example",
"phonetic": "IH0 G Z AE1 M P AH0 L",
"meanings": [
{
"partOfSpeech": "noun",
"definition": "A representative form or pattern",
"example": "Set a good example for the children"
}
]
}Field
Type
word
string
phonetic
string
meanings
array
meanings[].partOfSpeech
string
meanings[].definition
string
meanings[].example
string
suggestions
array
status
string
service
string
timestamp
string
uptime
number
error
string
Error Response
Example
Code
400 ValidationError - Missing or invalid word for define route: Request rejected because word input is empty or malformed
400 ValidationError - Non-array word field for batch route: Request rejected because batch payload requires array under word
400 ValidationError - Missing or invalid q for suggest route: Request rejected because suggestion query is empty
401 AuthenticationError - Gateway authentication failure: Request rejected due to missing or invalid API credentials
500 InternalError - Unhandled runtime error: Request failed during internal processing and error middleware returned fallback responseLast Updated: May 4, 2026