API:v2/commerce/exchange/gems with different quantities — Guild Wars 2 Forums

API:v2/commerce/exchange/gems with different quantities

Zok.4956Zok.4956 Member ✭✭✭

Hi,

how does this endpoint calculate the "coins_per_gem" when using different quantity values?

Examples:

https://api.guildwars2.com/v2/commerce/exchange/gems?quantity=10
{
"coins_per_gem": 1870,
"quantity": 18706
}

https://api.guildwars2.com/v2/commerce/exchange/gems?quantity=100
{
"coins_per_gem": 1978,
"quantity": 197839
}

https://api.guildwars2.com/v2/commerce/exchange/gems?quantity=1000
{
"coins_per_gem": 1981,
"quantity": 1981494
}

https://api.guildwars2.com/v2/commerce/exchange/gems?quantity=10000

{
  "coins_per_gem": 1968,
  "quantity": 19680532
}

All requests are made at the exact same time.

I understand, that with larger quantities there could be some rounding-differences. But this differences do not look like this.

Is there an explanation for this differences in the "coins_per_gem" value?

Thanks.

https://www.gw2gh.com/ - A GW2-Guild-Hall.
Register and check your guild leaderboard to see who is the best in your guild and who finished achievements first.

©2010–2018 ArenaNet, LLC. All rights reserved. Guild Wars, Guild Wars 2, Heart of Thorns, Guild Wars 2: Path of Fire, ArenaNet, NCSOFT, the Interlocking NC Logo, and all associated logos and designs are trademarks or registered trademarks of NCSOFT Corporation. All other trademarks are the property of their respective owners.