I added a free tool to sheet2api.com this weekend. It lets you create an API from any Wikipedia.org article (as long as it contains at least one table within it).
Give it a try 👉 https://sheet2api.com/tools/wiki-api/
p.s. I also launched this on PH, because why not https://www.producthunt.com/posts/wikipedia-article-table-to-api