Hi Nikhil,
Welcome to the community
Not sure about the API but I think Adalo is building this feature :
And Complab also created a component for this that maybe you can use until Adalo release that feature :
https://complab.io/adalo-component-marketplace/
Thank you