API:2/commerce/exchange/coins

From Guild Wars 2 Wiki
< API:2‎ | commerce‎ | exchange
Jump to navigationJump to search

/v2/commerce/exchange/coins

HTTP method
GET
Format
json
API version
version 2
Release date
2014-09-08
Scope
none
Optional
none

This resource returns the current coins to gems exchange rate.

Parameters

  • quantity (number) – The amount of coins to exchange for gems.

Response

The response is an object with the following properties:

  • coins_per_gem (number) – The number of coins you required for a single gem.
  • quantity – The number of gems you get for the specified quantity of coins.

Example

https://api.guildwars2.com/v2/commerce/exchange/coins?quantity=100000

{
  "coins_per_gem": 1363,
  "quantity": 73
}