Generate custom APIs on the fly