Overview
Typed client for the official Path of Exile API (PoE1 + limited PoE2) with:
- OAuth 2.1 helpers (PKCE, refresh, client credentials for service scopes)
- Automatic, header‑driven rate‑limit compliance
- Fully typed endpoints (ladders, PvP, stashes, characters, filters, leagues)
- Optional, clearly labeled Unofficial Trade API client
Server: https://api.pathofexile.com
This SDK follows the official docs at https://www.pathofexile.com/developer/docs.
Note: Former package names were poe-api-sdk and poe-sdk. The current name is poe-js-sdk.
Install
npm install poe-js-sdk
Or from GitHub for SSR builds:
npm install github:viligante8/poe-js-sdk
When installing from a Git repo, npm runs the prepare script to build dist/. If your CI disables lifecycle scripts (e.g. --ignore-scripts), make sure to run npm run build or enable prepare.