Yes,you can use the Google Search API for rank tracking. To learn more about leveraging SERP data, read our SERP & SEO use case