I need to get the site base url in a plugin.
How can i acheive this.
Is ther any api to acheieve this?
The CoreUrls Api Service has a Home() method. https://community.telligent.com/community/10/w/api-documentation/60474/coreurls-in-process-api-service
Plugins are not necessarily running in a web context, so this will often just return the Default Site Url setting in the control panel.