Skip to content

MAD to KGS exchange rate API

Moroccan Dirham to Som · quoted 2026-10-04

8.8025

▼ +8.09% over YTD

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 year to date, MAD/KGS traded between 8.8025 and 9.6606, averaged 9.4064 and fell 8.09%. 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 YTD

MAD/KGS over YTD: show the values
PointMAD/KGS
2025-12-319.5778
2026-01-079.4950
2026-01-149.4790
2026-01-219.5187
2026-01-289.6606
2026-02-049.5373
2026-02-119.5829
2026-02-189.5598
2026-02-259.5269
2026-03-049.4072
2026-03-119.3463
2026-03-189.3268
2026-03-259.3752
2026-04-019.3693
2026-04-089.3896
2026-04-159.4609
2026-04-229.4485
2026-04-299.4431
2026-05-069.4929
2026-05-149.5242
2026-05-219.4689
2026-05-299.5251
2026-06-059.4795
2026-06-149.4357
2026-06-219.3881
2026-06-289.3154
2026-07-059.3381
2026-07-129.3606
2026-07-199.3659
2026-07-269.3361
2026-08-029.3730
2026-08-099.4189
2026-08-169.4192
2026-08-249.4602
2026-08-319.4148
2026-09-079.3242
2026-09-149.2611
2026-09-219.1719
2026-09-289.0742

High

9.6606

Low

8.8025

Average

9.4064

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.