Reference
List currencies
get/currencies
Request
- Base URLhttps://gorest.co.in/public/v3
- URLhttps://gorest.co.in/public/v3/currencies
- Authnone required
Query parameters
page[size]integer
Items on one page.
page[after]string
The cursor of the next page, from meta.next_cursor or the Link header. Treat it as opaque; it works only with the same query.
page[number]integer
Offset paging, 1 based, at most 10,000. Cannot be sent with page[after]. Pages can shift while you write.
page[count]boolean
true adds meta.total to a cursor page (it costs a count).
searchstring
Case-insensitive text search over the resource's text fields.
filter[minor_unit]=0,3 (any of).
sort'name' | '-name' | 'code' | '-code'
One field; a leading - sorts descending. Default name.
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
One page of currencies.
Example response
{
"data": [
{
"code": "INR",
"minor_unit": 2,
"name": "Indian Rupee",
"symbol": "₹"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.