Skip to content

GHS to AFN exchange rate API

Ghana Cedi to Afghani · quoted 2026-10-01

5.5056

▼ +6.09% over 30D

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 30 days, GHS/AFN traded between 5.4665 and 5.8629, averaged 5.6599 and fell 6.09%. 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 30D

GHS/AFN over 30D: show the values
PointGHS/AFN
2026-09-015.8629
2026-09-025.8439
2026-09-035.8251
2026-09-045.7998
2026-09-055.7747
2026-09-065.6717
2026-09-075.7990
2026-09-085.7413
2026-09-095.7122
2026-09-105.7441
2026-09-115.7056
2026-09-125.7422
2026-09-135.6268
2026-09-145.6278
2026-09-155.6617
2026-09-165.6621
2026-09-175.6414
2026-09-185.6479
2026-09-195.5276
2026-09-205.6217
2026-09-215.6387
2026-09-225.6280
2026-09-235.6243
2026-09-245.5232
2026-09-255.5201
2026-09-265.5598
2026-09-275.5868
2026-09-285.4665
2026-09-305.5056

High

5.8629

Low

5.4665

Average

5.6599

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.