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.

Comments (2)

  1. 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 - 1 of 1
NOTE: You are replying to 's comment. [Cancel]