Welcome to the Jazz Community Forum
Is there any API to fetch team area given the required details?

Accepted answer

This answer is for RTC only. There is no API (except OSLC) for RQM.
See https://rsjazz.wordpress.com/2014/05/26/finding-a-process-area-using-its-name/ and other examples on the blog such as https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/
See https://rsjazz.wordpress.com/2014/05/26/finding-a-process-area-using-its-name/ and other examples on the blog such as https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/