Which API exposes Cap Rate programmatically?

Answer:
Cap Rate is calculated by Smart Indexes and is available through the Property Price Indexes API for districts, master projects and specific development projects.

Source