Flow.8932:

Is there any way of getting the cost of X amount of gems through the API?

The API currently in http://wiki.guildwars2.com/wiki/API:2/commerce/exchange/coins only allows the parameter gold, so I’m only able to obtain how much gems can I purchase with X amount of gold.

I’ve tried calculating it with other resources from the API but I’m not getting the exact numbers as the one in-game. I used /commerce/exchange/gems with the 15% transaction fee going both way along with messing with the coins_per_gem but was only able to get to an output that’s fairly close to the actual. Are there hidden variables to the formula or am I just missing something?

In any case, thank you for any answers or suggestions!

Lawton Campbell.8517:

Hrm, I don’t think we currently provide that functionality. I’ll look into adding that since it’s now supported on the backend.

Flow.8932:

Hrm, I don’t think we currently provide that functionality. I’ll look into adding that since it’s now supported on the backend.

Oh cool! Hope it gets added.