How to get google indexed URLs for a site using API

I need help in getting all google indexed URLs for a domain using API. How can I achieve this? Is there any API call which returns the list of indexed URLs or provided a batch of URLs can I make a single API call to get those URLs as indexed/not indexed.

Any help would be appreciated. Thanks