Skip to content

Use Currency Exchange API instead of poe.ninja in trader - #10077

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:cx-test
Aug 3, 2026
Merged

Use Currency Exchange API instead of poe.ninja in trader#10077
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:cx-test

Conversation

@vaisest

@vaisest vaisest commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

This replaces poe.ninja with the currency exchange API. This is done to enable automatic hourly updates. This wasn't done in the past due to worries about bothering Rasmus' API with a DDoS on e.g. a league launch, but the GGG API should be cached and doesn't have any sort of rate limits.

Steps taken to verify a working solution:

  • Pending testing

Link to a build that showcases this PR:

Before screenshot:

After screenshot:

@vaisest vaisest added enhancement New feature, calculation, or mod pob2 Label for features that should be ported over to PoB-PoE2 labels Jul 31, 2026
vaisest and others added 2 commits July 31, 2026 21:17
CDN requests now use the existing unauthenticated launch:DownloadPage path.
PoEAPI.lua has no net diff against the merge base.
Currency responses are cached under the captured request realm.
Empty and repeated realm selections no longer trigger unnecessary requests.
Removed the one-use response-processing helper and unused lcurl import
Currency export now uses BaseItemTypes.ItemClass, covering all 103 current trade currencies, including Stacked Deck and influenced orbs.

@LocalIdentity LocalIdentity left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few fixes in my latest commit but looks good now

@LocalIdentity
LocalIdentity merged commit cc64943 into PathOfBuildingCommunity:dev Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod pob2 Label for features that should be ported over to PoB-PoE2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants