API for provider