API:2/commerce/exchange/gems
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v2/commerce/exchange/gems
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2014-09-08
- Scope
- none
- Optional
- none
This resource returns the current gem to coins exchange rate.
Parameters
Response
The response is an object with the following properties:
coins_per_gem
(number) – The number of coins you get for a single gem.quantity
– The number of coins you get for the specified quantity of gems.
Example
https://api.guildwars2.com/v2/commerce/exchange/gems?quantity=100
{ "coins_per_gem": 970, "quantity": 97045 }