How do I find out which categories are available in each filter on the Wordlist endpoint?

AnnaritaAnnarita Member, Administrator, Moderator admin

To find full lists of the categories available in each filter, use the Utility section of the API.
Select the category you are interested in and then choose the relevant dictionary. For example, to get a list of lexical categories in our English dictionaries, you would use get /lexicalcategories/{language} and select the language “En”.
The endpoint will then reveal that the full list of English lexical categories: Adjective, Adverb, Noun, and so on.
The full list of registers can be viewed using GET /registers/{source_language} in the Utility section of the documentation. You can then limit the API call to find specific registers using, e.g. /registers%3DDerogatory

Sign In or Register to comment.