DICT, the Dictionary Server Protocol (RFC 2229, 1997), is a TCP query/response protocol for looking up word definitions across multiple dictionary databases on a server. It is small, text-based and still served by public servers such as dict.org.
DICT
DICT, the Dictionary Server Protocol, standardized as RFC 2229 in 1997, lets a client ask a server to define a word, match words against a strategy (prefix, soundex, regular expression), and choose which of the server’s dictionaries to search.
- Purpose-built lookup - A handful of text commands (
DEFINE,MATCH,SHOW DB) on TCP port 2628. - Many databases, one server - Servers such as dict.org host dozens of dictionaries, thesauri and glossaries behind one interface.
- Still running - A
dict://URL fetched with curl returns a definition today.
DICT is a single-purpose reference-data API from before the web made HTTP the default for everything. It is worth studying for its scope: one job, a few verbs, and a protocol that has barely needed to change in nearly thirty years.