WaniKani API - Searching for Subjects by Name

Hello,

I’m working with the WK API for a project and wanted to implement a search function to find subjects by their meaning/name. One solution is to get all the subjects in the db and filter them against the search term, but this seems very inefficient. Has anyone tried doing something like this?