How can I search users by display name (not username)?

We are looking for similar API where if player search the keywords. It should give list of username as well as display name based on keyword.
If anyone come across any workaround then the please let us know here.

Thanks