Skip to content

GHS to AFN exchange rate API

Ghana Cedi to Afghani · quoted 2026-10-01

5.5056

▼ +11.93% over YTD

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 year to date, GHS/AFN traded between 5.3656 and 6.2513, averaged 5.7727 and fell 11.93%. 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 YTD

GHS/AFN over YTD: show the values
PointGHS/AFN
2025-12-316.2513
2026-01-076.2220
2026-01-146.1453
2026-01-216.0433
2026-01-286.0250
2026-02-046.0209
2026-02-115.9052
2026-02-185.6825
2026-02-255.9112
2026-03-045.8158
2026-03-115.8381
2026-03-185.7978
2026-03-255.7625
2026-04-015.7843
2026-04-085.9108
2026-04-155.7891
2026-04-225.6937
2026-04-295.6554
2026-05-065.6763
2026-05-145.6508
2026-05-215.4430
2026-05-295.4012
2026-06-055.3656
2026-06-145.7986
2026-06-215.7832
2026-06-285.7334
2026-07-055.7814
2026-07-125.7150
2026-07-195.7120
2026-07-265.6772
2026-08-025.6312
2026-08-095.5941
2026-08-165.9646
2026-08-245.8718
2026-08-315.8182
2026-09-075.7990
2026-09-145.6278
2026-09-215.6387
2026-09-285.4665

High

6.2513

Low

5.3656

Average

5.7727

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.