AFAIK Dmoz does not offer any API services - but there is a RDF of the database dump available at
Open Directory RDF Dump - I am sure the data is quite large for a single server to handle unless yo have a complex server farm handling this data.
You will need to process 300+MB of data.
Just my thoughts...