API providing information about all currencies.
This free API enables you to retrieve information about every currency worldwide, offering details for each currency such as:
- ISO 4217 currency code
- Name of the currency
- Symbol of the currency
Currencies information API request example
Method: GET
Content Type: application/json
Endpoint: https://aaapis.com/api/v1/info/currencies/
curl --L --X GET 'https://aaapis.com/api/v1/info/currencies/' \
--H 'Authorization: Token YOUR_TOKEN' \
--H 'Content-Type: application/json' \Response
The API will provide a response containing a list of all currencies worldwide.
"currencies": [
{
"code": "EUR",
"name": "Euro",
"symbol": "€"
},
{
"code": "FJD",
"name": "Fiji Dollar",
"symbol": "FJD"
},
{
"code": "FKP",
"name": "Falkland Islands Pound",
"symbol": "FKP"
},
{
"code": "GBP",
"name": "Pound Sterling",
"symbol": "£"
},
...
]}| Parameter | Type | Description |
|---|---|---|
| code | string | ISO 4217 currency code |
| name | string | Name of the currency |
| symbol | string | Symbol of the currency |
HTTP Response Status Codes
Aaapis employs standard HTTP response codes to signify the outcome, whether successful or unsuccessful, of an API request.Typically, codes falling within the 2xx range signify success. Codes within the 4xx range indicate an error attributable to inadequate information provided (e.g., a missing required parameter). Codes in the 5xx range denote an error related to Aaapis' servers.
| Code | Description |
|---|---|
| 200 | This status code indicates that the request was successful. The server successfully processed the request and is sending back the requested data. |
| 401 | This status code indicates that the request requires user authentication. The server received the request, but it needs authentication to fulfill it. This could mean that the Authorization header is missing or invalid. |
| 400 | This status code indicates that the server could not understand the request due to invalid syntax. This could mean that the JSON object in the request is malformed or missing required fields. The client must modify the request and try again. |
| 500 | This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This could be due to a problem with the server itself. The client should not modify the request and can try again later. |