Creating aliases on the fly

Is there a good way to do this? I was toying with making a spamgourmet.com type service. I was thinking some kind of combination between checking the catchall email for certain things and using the directadmin api, but I’m not sure if that api is available after I saw this post:
Bulk Email Alias/Forwarder Setup

or is that for bulk only?