Call +233 594 918 198, use our currency converter, or log in or register for instant live rates.  · 

Afriswap exchange rates API

Integrate live bureau buy and sell rates into your app or website using a simple JSON endpoint. API keys are issued on request — use Contact to enquire.

Endpoint

https://afriswap.com/api/

Authentication

Send your secret key in a request header (any of the following forms may be accepted by the server):

Header Value
api your-api-key

Request

No request body is required. The server responds with JSON.

Successful response

{
  "base": "GHS",
  "date": "2024-02-23 11:00:00",
  "buy": {
    "USD": "12.65",
    "GBP": "15.65",
    "EUR": "13.35"
  },
  "sell": {
    "USD": "12.65",
    "GBP": "15.65",
    "EUR": "13.35"
  }
}

Response fields

  • base — Base currency (Ghana cedi, GHS).
  • date — Timestamp associated with the published rates (wall clock in GMT).
  • buy — Object of currency codes to buy rates against the base.
  • sell — Object of currency codes to sell rates against the base.
  • err — Present when the key is missing or invalid (e.g. {"err":"invalid API Key"}).

What Our Customers Say