Skip to content

GHS to AFN exchange rate API

Ghana Cedi to Afghani · quoted 2026-11-21

5.4503

▼ +1.70% over 30D

1 GHS = 5.4503 AFN · 1 AFN = 0.18348 GHS · Get this rate via the API

1 GHS buys 5.4503 AFN as of 2026-11-21, so 1 AFN buys 0.18348 GHS. Over the last 30 days, GHS/AFN traded between 5.4261 and 5.5984, averaged 5.5362 and fell 1.70%. 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

Daily observations · gaps mean no published rate

Download CSV
GHS/AFN over 30D: show the values
Rates per 1 GHS. Missing rates are shown as a dash.
DateAFN
2026-10-225.544821
2026-10-235.583671
2026-10-245.498512
2026-10-255.59837
2026-10-265.54468
2026-10-275.589128
2026-10-285.531576
2026-10-295.562804
2026-10-305.538886
2026-10-315.57793
2026-11-015.58382
2026-11-025.53041
2026-11-035.580301
2026-11-045.587468
2026-11-055.495044
2026-11-065.481251
2026-11-075.426143
2026-11-085.581206
2026-11-095.561581
2026-11-105.521783
2026-11-115.553697
2026-11-125.541784
2026-11-135.458338
2026-11-145.544947
2026-11-155.594268
2026-11-165.551625
2026-11-175.552276
2026-11-185.534979
2026-11-195.469598
2026-11-205.450295
2026-11-215.450295

High

5.5984

Low

5.4261

Average

5.5362

Statistics use all 31 daily observations in the selected period.

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.