A JavaScript/TypeScript library for interacting with the Path of Exile trading API. Version 1.10.1, actively maintained, with built-in rate limit handling, support for multiple leagues and realms, and separate methods for initial search and detailed fetch. Ships TypeScript type definitions. Differentiates from alternatives by providing a high-level abstraction for query construction and automatic rate limit management.
npm install poe-trade-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes PoE Trade Fetch, performs a search for 'Prismweave' Rustic Sashes, and prints the price of the first result.
Use 'firsRequest' as the correct method name; do not change to 'firstRequest'.
Always slice the result array to a maximum of 10 before passing to secondRequest.
Provide a descriptive user agent, e.g., 'My PoE App your@mail.kek'.
If possible, provide a valid POESESSID to avoid rate limiting.
Use import { PoeTradeFetch } from 'poe-trade-fetch' and call PoeTradeFetch.createInstance().Run 'npm install poe-trade-fetch'.
Set a valid userAgent in options and ensure proper delay between requests.
Check that secondResult array has elements before accessing listing price.
No dependency data recorded yet.