Rest API to get providers list based on provider attribute

Is there any Rest API to get providers based on provider attribute. If I have a provider attribute of type boolean, I want to get all the providers with that provider attribute set as True. Do we have any such API?

I don’t think there is any default API. You can write a custom search handler.
Check For reference check

Alternatively, you can always write your own HTTP end point, just make sure that you follow the same contract for providers.

It seems worthwhile to add this as a search handler directly in the module. It would be useful outside of Bahmni also.