API reference
List stats
The stat names /items?stat= takes, each as a percentage or a flat amount (the same name can be both), with how many items have it, the most common first.
Authorization
AuthorizationOptional
Works without a key. Send one to use its own limit: Authorization: Bearer iwk_… or X-API-Key: iwk_…. See Authentication.
Counted: 60 calls a minute per address without a key.
Response
200 OK: The stats, and how many.
The example answer is beside it, from the catalogue as it is now.
Errors
- 401
bad_keyAn API key was sent that is unknown or revoked. Leave it out to use the free limit. - 429
rate_limitedMore calls in a minute than the limit (60 per address without a key, or the key's own). Wait for Retry-After seconds. - 503
unavailableThe catalogue could not be loaded. Rare; try again in a minute.
Notes
Then ask for the items
/items?stat=Crit Damage&sort=stat gives every item with Crit Damage, the highest roll first.