Reference

Get a currency

get/currencies/{code}

Request

  • Base URL
    https://gorest.co.in/public/v3
  • URL
    https://gorest.co.in/public/v3/currencies/{code}
  • Auth
    none required

Query parameters

currenciesstring

fields[currencies]=name,minor_unit returns only those fields; code is always there.

Headers

If-None-Matchstring

An ETag from an earlier answer; an unchanged item answers 304 with no body.

Response

The item.

codestring required
minor_unitinteger

Digits after the decimal point: an amount in minor units is the amount times 10 to this power.

namestring
symbolstring

The English symbol (Unicode CLDR); the code when there is none.

Example response

{
  "code": "INR",
  "minor_unit": 2,
  "name": "Indian Rupee",
  "symbol": "₹"
}

Changes

No recorded changes to this operation across all 1 revision of this API.