How to display the current interest rate, inflation rate, or GDP growth rate on your website

I receive a lot of emails asking about the current inflation and interest rates. So I decided to create a few widgets.

You can use these widgets if you want to display the current interest rates, inflation rates and/or GDP growth rates on your own blog or website.

The widgets automatically fetch the latest figures that are available.

If, for example, the SARB decides to adjust the repo rate, the widgets will automatically fetch and display the new repo and prime rate figures.


Latest Rates Table

To display a table with all the latest rates (like the one at the top of this page), use the following HTML:


Prime Interest Rate

To display the current prime interest rate (like this: ), use the following HTML:


Repo Rate

To display the current repo rate (like this: ), use the following HTML:


CPI Inflation Rate

To display the current CPI inflation rate (like this: ), use the following HTML:


PPI Inflation Rate

To display the current PPI inflation rate (like this: ), use the following HTML:


GDP Growth Rate

To display the current GDP growth rate (like this: ), use the following HTML:


, , ,

 

~ i may be wrong ~ report evil adverts ~
  1. Debt Counselling

    Great job and widget you made. I will try it on one of my blogs. Thank you

  2. Marius de Beer

    Can you add the following to your “Latest Rates” table:
    Exchange Rates:
    R/$US
    R/ GB pond
    R/euro
    Oil Price per Barrel

    I want to display all the rates as a one pager on my PC every day.

  3. Francois Viljoen

    @Marius

    I agree those are useful.

    I’ll have a look if I can add a table for exchange rates.

  4. Robert Bravery

    This is great resource. Thank you very much.

    I am looking for a web service that supplies the latest interest rate. I am writing an Insurance Program that need to use the interest rate. Currently I have to enter this manually. Can you point me in the right direction as to where I can find a websiervice that will supply the interest rate.

  5. Francois Viljoen

    Hey Robert

    I don’t think such a web-service exists. I integrate directly with a database to enable the web-widgets.

    Perhaps you can get the value by doing a web-request from your application and parsing the result?

  6. Muzi

    awesome thanks for sharing bud!!!

Add a Comment





 
Afrigator SA Topsites :: ZATopSites - top sites, top web, south africa