Path of Exile Wiki:Data query API
|This page contains development information and is intended for developers and not regular end users.|
Just like other wikis the Path of Exile wiki can be accessed through the Mediawiki API. This allows for much faster page editing as well as data retrieval.
Using the API to retrieve Path of Exile data
If you need certain data such as item or mod data for your tools it is highly advised to use the cargo API to retrieve it. It will be much faster then scraping the wiki pages and reduce the overhead significantly on both your script and the wiki server.
When using tables, it's advisable to check the documentation of the module or template that adds the fields. You can also check CargoTables to see cargo tables.
All items on the wiki are exposed by Template:Item and are fully powered by semantic media wiki - this means you can query just about any property of an item to create convenient item lists.
This will return a json list containing the first 5 distinct names of unique items.