Yes, you can do this using the Wikipedia API with action = parse . For this purpose, we need two properties: sectionsand links. For example, for a Chicago Wikipedia article, we use the following query to get the index of a section called "See Also":
https:
, 43. :
https:
.. , , Portal: Chicago Portal: Illinois. , , & ns = 0.