Skip to content

GHS to AFN exchange rate API

Ghana Cedi to Afghani · quoted 2026-10-01

5.5056

▲ +1.55% over 1Y

1 GHS = 5.5056 AFN · 1 AFN = 0.18163 GHS · Get this rate via the API

1 GHS buys 5.5056 AFN as of 2026-10-01, so 1 AFN buys 0.18163 GHS. Over the last year, GHS/AFN traded between 5.2850 and 6.2384, averaged 5.7711 and rose 1.55%. The API holds daily GHS/AFN 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.

GHS/AFN over 1Y

GHS/AFN over 1Y: show the values
PointGHS/AFN
2025-10-015.4214
2025-10-085.3438
2025-10-155.8513
2025-10-226.2014
2025-10-296.0490
2025-11-056.0878
2025-11-126.0679
2025-11-196.0328
2025-11-265.9500
2025-12-035.8388
2025-12-115.7664
2025-12-185.7451
2025-12-255.8888
2026-01-016.2384
2026-01-086.1585
2026-01-156.0639
2026-01-226.0253
2026-01-295.9532
2026-02-056.0098
2026-02-125.8563
2026-02-195.6595
2026-02-265.9207
2026-03-055.8541
2026-03-125.7541
2026-03-195.8533
2026-03-265.7107
2026-04-025.7792
2026-04-095.8103
2026-04-165.8118
2026-04-235.7165
2026-04-305.6300
2026-05-075.6888
2026-05-155.4771
2026-05-235.4003
2026-05-305.2850
2026-06-065.4057
2026-06-155.6420
2026-06-225.6440
2026-06-295.6537
2026-07-065.5963
2026-07-135.6263
2026-07-205.7109
2026-07-275.7173
2026-08-035.6083
2026-08-105.5925
2026-08-175.9954
2026-08-255.8700
2026-09-015.8629
2026-09-085.7413
2026-09-155.6617
2026-09-225.6280
2026-09-305.5056

High

6.2384

Low

5.2850

Average

5.7711

For developers

Get this rate via the API

One GET request returns the GHS/AFN 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=GHS&currencies=AFN"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=GHS&currencies=AFN");
const data = await response.json();
Python
import requests

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

Replace YOUR_API_KEY with the key from your dashboard.

GHS/AFN API questions

How do I get the GHS/AFN exchange rate from an API?

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

How far back does GHS/AFN historical data go?

Daily GHS/AFN 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 GHS/AFN 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.