From this comment, it looks like the search API was disabled in part because its usage has dramatically increased in the last few months:
https://github.com/pypa/pip/issues/5216#issuecomment-7446585...
and PyPI can't handle the traffic. I wonder why the increase in traffic?