Convert Swiss Franc to Singapore Dollar programmatically. Mid-market rates from Reuters, updated every 60 seconds.
Create a free account and get your API key in seconds. No credit card required.
Get Free API Key →Get the CHF/SGD rate with a single API call.
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://exchange-rateapi.com/api/v1/rates?source=CHF&target=SGD"
{
"source": "CHF",
"target": "SGD",
"rate": 1.5220,
"timestamp": "2026-05-13T12:00:00Z"
}Copy-paste integration for CHF to SGD conversion.
curl -s -H "Authorization: Bearer YOUR_API_KEY" \ "https://exchange-rateapi.com/api/v1/rates?source=CHF&target=SGD" | jq .
const response = await fetch( "https://exchange-rateapi.com/api/v1/rates?source=CHF&target=SGD", { headers: { "Authorization": `Bearer ${API_KEY}` } } ); const data = await response.json(); console.log(`CHF/SGD: ${data.rate}`);
import requests response = requests.get( "https://exchange-rateapi.com/api/v1/rates", params={"source": "CHF", "target": "SGD"}, headers={"Authorization": f"Bearer {API_KEY}"} ) data = response.json() print(f"CHF/SGD: {data['rate']}")
$ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://exchange-rateapi.com/api/v1/rates?source=CHF&target=SGD", CURLOPT_HTTPHEADER => ["Authorization: Bearer " . $apiKey], CURLOPT_RETURNTRANSFER => true, ]); $data = json_decode(curl_exec($ch), true); echo "CHF/SGD: " . $data['rate'];
// npm install @exchangerateapi/sdk import { ExchangeRateAPI } from '@exchangerateapi/sdk'; const api = new ExchangeRateAPI('YOUR_API_KEY'); const rate = await api.latest('CHF', 'SGD'); console.log(rate); // 1.5220
# pip install exchangerateapi from exchange_rateapi import ExchangeRateAPI api = ExchangeRateAPI("YOUR_API_KEY") rate = api.get_rate("CHF", "SGD") print(rate) # 1.5220
Retrieve historical exchange rate data for trend analysis, backtesting, and reporting.
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://exchange-rateapi.com/api/historical-rates?source=CHF&target=SGD&period=30d"
Hourly snapshots for the past 24 hours
Daily closing rates for weekly and monthly views
Full year of daily rates for long-term trends
Real-time interbank rates from Reuters/Refinitiv
One API key, one header. Start in seconds
Cloudflare edge network in 300+ cities
JavaScript, Python, PHP, and React
No markup, no spread, no hidden fees
300 requests/month. No credit card required
https://exchange-rateapi.com/api/v1/rates?source=CHF&target=SGD with your API key in the Authorization: Bearer header. The JSON response includes the current mid-market rate./api/historical-rates endpoint with period=1d, 7d, 30d, or 1y. Custom date ranges are available on paid plans with from and to parameters.amount parameter: ?source=CHF&target=SGD&amount=1000. The response includes both the rate and the converted amount.npm install @exchangerateapi/sdk), Python (pip install exchangerateapi), PHP (composer require exchangerateapi/sdk), and React.