Skip to content

GHS to AFN exchange rate API

Ghana Cedi to Afghani · quoted 2026-10-01

5.5056

▼ +6.76% over 6M

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 6 months, GHS/AFN traded between 5.3439 and 5.9150, averaged 5.6587 and fell 6.76%. 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 6M

GHS/AFN over 6M: show the values
PointGHS/AFN
2026-04-045.9050
2026-04-115.8531
2026-04-185.8373
2026-04-255.5837
2026-05-025.7124
2026-05-095.6686
2026-05-175.5742
2026-05-255.4328
2026-06-015.3709
2026-06-105.3439
2026-06-175.5986
2026-06-245.6577
2026-07-015.6427
2026-07-085.6083
2026-07-155.7860
2026-07-225.7529
2026-07-295.6348
2026-08-055.5947
2026-08-125.5793
2026-08-205.9150
2026-08-275.8354
2026-09-035.8251
2026-09-105.7441
2026-09-175.6414
2026-09-245.5232

High

5.9150

Low

5.3439

Average

5.6587

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.