It would be great to enrich the Pageview API with the data pertaining to search statistics on a wiki. An editor would benefit from this data as s/he could find out the terms/phrases people are looking for.
The pageview API is about a different data set. Exposing search data publicly is problematic because people tend to type in social security numbers, passwords, etc. in search fields. The data is available if you sign an NDA and work with the search team.