Rest API to get providers list based on provider attribute

I don’t think there is any default API. You can write a custom search handler.
Check org.openmrs.module.webservices.rest.web.resource.api.SearchHandler For reference check org.bahmni.module.bahmnicore.web.v1_0.search.BahmniConceptSearchHandler

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