docs
Endpoints
Words

Words

Base URL:

https://igboapi.com/api/v1/

Get Multiple Words
GET /words

Get words from dictionary

Request Headers

NameDescriptionExample
X-API-Key requiredSecret API tokenX-API-Key=API_token

Query Parameters

NameDescriptionExample
keyword requiredKeyword for querying wordskeyword=ego
pageCurrent page of results, the default max number of words on a page is 10page=1
rangeA selected range of words to return, the max range is 25range=[0, 24]
strictSearches strictly for words matching with provided diacriticsstrict=true
dialectsIncludes dialect information in each documentdialects=true
examplesIncludes examples associated with each documentexamples=true

Responses

An array of up to 10 word JSON objects.

[
 {
   "definitions": [
     "the likeness of an action or being; manner; how; the way;"
   ],
   "word": "ètù",
   "pronunciation": "https://igbo-api.s3.us-east-2.amazonaws.com/audio-pronunciations/5f90c35e49f7e863e92b7622.mp3",
   "attributes": {
     "isStandardIgbo": true,
     "isAccented": false,
     "isSlang": false,
     "isConstructedTerm": false,
     "isBorrowedTerm": false,
     "isStem": true,
     "isCommon": false
   },
   "relatedTerms": [
     "636464df6ec644341fb395e5"
   ],
   "id": "5f90c35e49f7e863e92b7622",
   "wordClass": "ADV",
   "nsibidi": "虐"
 }
]

Get a Single Word
GET /words/{wordId}

Returns a single word JSON object from the database.

wordId is the Id of the word document you are requesting.

Responses

A single word JSON object will be returned.

 {
   "definitions": [
     "the likeness of an action or being; manner; how; the way;"
   ],
   "word": "ètù",
   "pronunciation": "https://igbo-api.s3.us-east-2.amazonaws.com/audio-pronunciations/5f90c35e49f7e863e92b7622.mp3",
   "attributes": {
     "isStandardIgbo": true,
     "isAccented": false,
     "isSlang": false,
     "isConstructedTerm": false,
     "isBorrowedTerm": false,
     "isStem": true,
     "isCommon": false
   },
   "relatedTerms": [
     "636464df6ec644341fb395e5"
   ],
   "id": "5f90c35e49f7e863e92b7622",
   "wordClass": "ADV",
   "nsibidi": "虐"
 }

Response Code

Success:

[JSON Object]

If there are more than 10 words that match the query, you can look at the Content-Range response header to find the total number of matching words.