Currency-Converter.APISED

Supported Currencies

This HTTP GET request retrieves a list of available currencies.

Query Parameter

Description

Example Request

  • javaScript
  • Node.js
  • PHP
  • Axios
  • fetch
import axios from 'axios';

const options = {
    method: 'GET',
    url: 'https://currency-converter-apised.p.rapidapi.com/v1/supportedCurrencies',
    headers: {
        'X-RapidAPI-Key': '<YourApiKey>',
        'X-RapidAPI-Host': 'currency-converter-apised.p.rapidapi.com'
    }
};

try {
    const response = await axios.request(options);
    console.log(response.data);
} catch (error) {
    console.error(error);
}

Example Response

[
    {
        "symbol": "USD",
        "name": "United States Dollar"
    },
    {
        "symbol": "ALL",
        "name": "Albania Lek"
    },
    {
        "symbol": "DZD",
        "name": "Algeria Dinar"
    },
    {
        "symbol": "AOA",
        "name": "Angola Kwanza"
    },
    {
        "symbol": "ARS",
        "name": "Argentina Peso"
    },
    {
        "symbol": "AMD",
        "name": "Armenia Dram"
    },
    {
        "symbol": "AWG",
        "name": "Aruba Guilder"
    },
    {
        "symbol": "AUD",
        "name": "Australia Dollar"
    },
    {
        "symbol": "AZN",
This endpoint makes an HTTP GET request to convert an amount from one currency to another. The request URL includes parameters for the source currency (from), target currency (to), and the amount to be converted.

Query Parameter

Description
from
From currency input [currencies][required]
to
To currency input [currencies][required]
amount
Amount to convert input[required]

Example Request

  • javaScript
  • Node.js
  • PHP
  • Axios
  • fetch
import axios from 'axios';

const options = {
    method: 'GET',
    url: 'https://currency-converter-apised.p.rapidapi.com/v1/convert',
    params: {
        from: 'EUR',
        to: 'GBP',
        amount: '1002'
    },
    headers: {
        'X-RapidAPI-Key': '<YourApiKey>',
        'X-RapidAPI-Host': 'currency-converter-apised.p.rapidapi.com'
    }
};

try {
    const response = await axios.request(options);
    console.log(response.data);
} catch (error) {
    console.error(error);
}

Example Response

{
    "success": true,
    "validationMessage": [],
    "result": {
        "from": "EUR",
        "to": "GBP",
        "amountToConvert": 1002,
        "convertedAmount": 853.5965161515933
    }
}