Dev Center

Dev Application Programming Interfaces (APIs)

Twitter · Facebook
Web-based Application Programming Interfaces (APIs)Web-based Application Programming Interfaces (APIs)

An Application Programming Interface (API) is a standardized interface that defines how an application program may request services from another computer program. APIs provide a layer of abstraction between low-level functions and high-level components of a program in an execution context. The documented definitions of the ways in which applications may request services is referred to as an API specification, and when this specification is carried into effect it is called an API implementation. Despite these explanations to the contrary, there is an ongoing debate over whether “API” should mean the specification, the implementation, or something else.

Consider this illustration: You have the task of printing “HELLO WORLD” onto the screen of a computer terminal. To accomplish this, you can choose to either write your own code from scratch or use someone else's code. If you are going by the former, then you may do something like the following: (1) Draw, on graph paper, the shapes of the letters H, E, L, O, W, R, D. (2) Work out a matrix of black and white squares that look like those letters. (3) Work out the sequence of electrical pulses that need to be sent to the screen to draw the matrix. (E.g., 5 volts for black, 1 volt for white.) (4) Repeat the sequence every 60th of a second to keep the message displayed, thus exploiting the persistence of vision phenomenon.

On the other hand, if you want to forego the aforementioned approach and use someone else's code, then all you may have to do is call a single API function (PrintString(), for instance) to do all the work for you. So, you see, APIs encapsulate whole jobs into simple interfaces. Moreover, APIs promote code reuse. In line with this software development philosophy, presented below are some web-based APIs that provide varying data services for web-enabled applications.

List of available APIs

  1. FXR-API: Foreign Exchange Rates API

    Free foreign exchange rates and currency conversion API

    A platform to receive live and historical foreign exchange rates for 160+ currencies across the world. Having seen integration with many diverse software applications, running in wide-ranging environments, FXR-API has proven exceptionally robust with an immaculate high-delivery availability. Whereas many providers gather their data from sources concentrated in a geographical area (mostly US banks), FXR-API collects its rates from financial centers across the seven continents to ensure provision of true global market rates.

  2. GSE-API: Ghana Stock Exchange API

    Free platform to query live GSE trading information from

    A free and reliable API that makes available near real-time trading information and company information from the Ghana Stock Exchange. By building upon the platform's simplified interface, you can quickly integrate the stock exchange's market data into your application—be it mobile or web—by launching simple HTTP requests. It's fast and very easy to interact with. No authentication keys are required before you can start using it. Documentation for the API can be found on the linked page.

  3. WHO-API: Domain Name (WHOIS) Lookup

    Generic internet domain name WHOIS lookup API

    A unified WHOIS API that allows the querying and retrieving of detailed information about any generic internet domain name directly from its registry database. The API is based on the WHOIS system which enables looking up information about the entity responsible for any particular internet resource such as a domain name, an IP address block, or an autonomous system number. This API builds upon that framework to present an interface that easily integrate with disparate software applications.


  1. DavidDavid
    Jun 16, 2023 16:44 GMT

    Hello Michael,

    Thank you for these endpoints. I am trying to fetch the GSE data, however, it times out from my server (and I tried from a separate web app and it still times out.)

    Curl works locally
    Ping works on the server
    But Curl does not work on the server

    I believe I have come across this error before and I needed to pass an empty property or something like that, either in the headers or so, but I just can't seem to find it.

    Has anyone ever complained about this? Would love your help.


    1. Michael KwayisiMichael Kwayisi
      Jun 16, 2023 19:33 GMT

      It's likely because packets from your IP address are dropped at the OS level. There are abusive actors who operate from several hosting providers that had to be blocked. Unfortunately, this blocks any legitimate user on those networks as well. An application-level firewall might do a better job in this case by letting the good actors through but that's not what is implemented at the moment.

  2. Padi AmuPadi Amu
    Feb 11, 2022 12:31 GMT

    I wanted to know if you had similar APIs to for the Nigerian Stock Exchange and any of the west African Markets. You can reply me personally through the mail provided.

  3. SammySammy
    Jul 9, 2021 15:53 GMT

    Hi kwesi great work
    Does the Ghana meteorological service have an API ... About building a project and need to tap into their API

    1. Michael KwayisiMichael Kwayisi
      Jul 9, 2021 18:18 GMT

      I don't know, but it wouldn't hurt to ask them yourself :)

  4. IanIan
    Aug 26, 2020 08:51 GMT

    Hey Michael,

    Thank you for the good job!

    Are you able to provide an API for Nairobi Securities Exchange?

    1. Michael KwayisiMichael Kwayisi
      Aug 26, 2020 11:38 GMT

      Indeed, I am able and intend to; just haven't gotten around to doing so yet :)

  • Showing 1 - 4 of 4
NOTE: You are replying to 's comment. [Cancel]