200 Status code is the best practice while the search data or empty result set, if you pass any other like 400 status code - The most generic code out of the 4xx series **which indicates that the **request received is a bad one so 400 status code can't apply and moreover SEO viewpoint it's also bad practice. you may go deeply about status code with following link Status codes
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
200 Status code is the best practice while the search data or empty result set, if you pass any other like 400 status code - The most generic code out of the 4xx series **which indicates that the **request received is a bad one so 400 status code can't apply and moreover SEO viewpoint it's also bad practice. you may go deeply about status code with following link Status codes