API for querying word lists