Hello,

I am new with using the API and can’t seem to get the list of words from:

https://en.wiktionary.org/wiki/Category:English_agent_nouns

 

I have managed to get the page:

https://en.wiktionary.org/w/api.php?format=jsonfm&formatversion=2&titles=Category:English_agent_nouns&action=query

 

But nothing I have tried has worked. I originally tried:

https://en.wiktionary.org/w/api.php?format=jsonfm&formatversion=2&titles=Category:English_agent_nouns&action=query&list=allpages

 

and I would expect for a list of pages (aka words) with a title attribute to show up, but instead I get titles such as: "title": "!" which is not very useful.

I have also tried going through all the props, but still nothing. I don’t really understand props and list, but something should have given all the words.

 

My goal is to use request to fetch the JSON so I can use the words in a script.

Are there any tutorials or guides that go into getting lists of words like this?

Thank you,