wikipedia api for developers code example
Example: wikipedia api
to search for hell you use hell at the end as a search query.
to set the number of results use thet srlimit , here it is equal to 20
https://en.wikipedia.org/w/api.php?action=query&list=search&prop=info&inprop=url&utf8=&format=json&origin=*&srlimit=20&srsearch=hell