Community Wiki

Edit

Official Trade Search

For query options, you can use Chrome, Press F12 into dev tool, choose Network tab, and enable Fetch/XHR filter.

NOTE: Use POESESSID for better rate limiting.

Fetch league endpoint and get id, item_ids

Endpoint: https://www.pathofexile.com/api/trade/search/Settlers, POST JSON to or GET ?q=JSON
Request:

{
   "query":{
      "status":{
         "option":"online"
      },
      "stats":[
         {
            "type":"and",
            "filters":[
               {
                  "id":"explicit.stat_3299347043",
                  "value":{
                     "min":100
                  },
                  "disabled":false
               }
            ]
         }
      ],
      "filters":{
         "type_filters":{
            "filters":{
               "category":{
                  "option":"accessory.belt"
               },
               "rarity":{
                  "option":"rare"
               }
            }
         },
         "misc_filters":{
            "filters":{
               "ilvl":{
                  "min":85
               },
               "corrupted":{
                  "option":"false"
               }
            }
         }
      }
   },
   "sort":{
      "price":"asc"
   }
}

Response:

{
   "id":"OQMzdqQUE",
   "complexity":11,
   "result":[
      "c66708d98d350298186753096dbe9bed7dedbcd6d02d740e32b161c0c5d0c49d",
      "b56bcae791c0ecad463fafed58722fcbf6fd6c501066fb80700289d8507acd3c",
      "62e432ab385a23c62f05484061be15d557b66bc4cff42e549e90031f0ceb0723",
      ...
   ],
   "total":258
}

Fetch items

GET the items by endpoint https://www.pathofexile.com/api/trade/fetch/ and the items are separated with ,.
Request Format:

https://www.pathofexile.com/api/trade/fetch/{item_id1},{item_id2}?query={id}

Example Request:

https://www.pathofexile.com/api/trade/fetch/c66708d98d350298186753096dbe9bed7dedbcd6d02d740e32b161c0c5d0c49d?query=OQMzdqQUE

Reversing PoE trade site URLs to get JSON request data

for https://www.pathofexile.com/trade/search/Settlers/NK6Ec5 , You can resolve it to JSON request with these https://www.pathofexile.com/api/trade/search/Settlers/NK6Ec5


Wikis Content is available under CC BY-NC-SA 3.0 unless otherwise noted.