Skip to content

MAD to KGS exchange rate API

Moroccan Dirham to Som · quoted 2026-10-04

8.8025

▼ +0.45% over 5Y

1 MAD = 8.8025 KGS · 1 KGS = 0.11360 MAD · Get this rate via the API

1 MAD buys 8.8025 KGS as of 2026-10-04, so 1 KGS buys 0.11360 MAD. Over the last 5 years, MAD/KGS traded between 8.6981 and 9.8959, averaged 9.3050 and fell 0.45%. The API holds daily MAD/KGS rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

Converting an invoice? Convert an amount on a specific date.

MAD/KGS over 5Y

MAD/KGS over 5Y: show the values
PointMAD/KGS
2024-08-248.8420
2024-10-078.7744
2024-11-068.8994
2024-12-068.8725
2025-01-058.6981
2025-02-048.8395
2025-03-069.1276
2025-04-069.1598
2025-05-069.6819
2025-06-079.5407
2025-07-079.8959
2025-08-069.8245
2025-09-059.8077
2025-10-069.5794
2025-11-059.3836
2025-12-059.4677
2026-01-059.5364
2026-02-049.5373
2026-03-069.3834
2026-04-059.2978
2026-05-059.4570
2026-06-069.4541
2026-07-089.3329
2026-08-079.4104
2026-09-079.3242

High

9.8959

Low

8.6981

Average

9.3050

For developers

Get this rate via the API

One GET request returns the MAD/KGS rate as JSON. The free plan includes 1,000 requests a month, with no credit card required.

cURL
curl -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MAD&currencies=KGS"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MAD&currencies=KGS");
const data = await response.json();
Python
import requests

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MAD&currencies=KGS").json()

Replace YOUR_API_KEY with the key from your dashboard.

MAD/KGS API questions

How do I get the MAD/KGS exchange rate from an API?

Send one GET request to https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MAD&currencies=KGS, replacing YOUR_API_KEY with your own key. The JSON response carries the date and the latest MAD/KGS rate in rates.KGS.

How far back does MAD/KGS historical data go?

Daily MAD/KGS rates are available from 2024-08-24. Request one day with the /historical endpoint and a date, or a range of days with /timeseries.

Is there a free MAD/KGS exchange rate API?

Yes. The free plan includes 1,000 requests a month, with no credit card required; paid plans raise the limit.

Put these rates in your application

One endpoint, JSON responses, 160+ currencies and history back to 1999. Start on the free plan.