I want to search Wikipedia and get first search result (in fact only the title of the result). Could someone tell me what is the API call that I need to use in MediaWiki API?

  I tried "query" and "opensearch" calls but they didn't return the results I expected. They didn't return any search result. The title I used was "Anatomical structure". The requirement is that I need to access (get) the title of the first search result.

Kalpa Gunaratna