Is There an API for Elementor?

Yes. 

The developer API is available here.