looking for a free Currency API

Acid0

Executive Member
Joined
Feb 10, 2009
Messages
5,889
Reaction score
2,734
Location
Johannesburg
Hi,
is there a free currency API that I can use to consume current currency indicators against the ZAR.

What do you guys use to import the current rand vs other currencies?

Regards
 
Hi,
is there a free currency API that I can use to consume current currency indicators against the ZAR.

What do you guys use to import the current rand vs other currencies?

Regards
Google finance?

What app do you want to pull the data in to?
 

1000 api requests a month.
If you only using zar, and you use caching, you can easily use this.
 
Hi,
is there a free currency API that I can use to consume current currency indicators against the ZAR.

What do you guys use to import the current rand vs other currencies?

Regards

Remember though you cant rely too much on any of the info/data
FX does not have a central exchange, which means that if you collected the data from 1 broker
that would be their values, another broker will give you their close, etc
Thats why all the sources will always differ.

If you just want an idea of the latest prices, great.
If the prices make a significant impact to what your doing then going with a free api probably isnt the right route.
 
Thanks for all the response it is greatly appreciated.

This will be used in a production environment and it needs to be accurate.

Just a silly question but doe s the banks not expose an api for this to help us out?
 
Thanks for all the response it is greatly appreciated.

This will be used in a production environment and it needs to be accurate.

Just a silly question but doe s the banks not expose an api for this to help us out?

Remember accurate means what that broker will charge you at the point in time.
Like if you go to
https://securities.standardbank.co.za/ost/ you'll see a tab with the prices that are out quite a bit
from something like https://www.tradingview.com/symbols/USDZAR/?exchange=FX
https://www.nedbank.co.za/content/nedbank/desktop/gt/en/personal/forex/forex-rates.html
https://www.absa.co.za/indices/exchange-rates/

The banks compete with how much is added to the spread.
So "spot" / avg price between the banks are taken then brokers add (eg) 0.5% above/below that
depending if your buying or selling.
Eg. (at this moment)
Standard Bank = 16.64
Nedbank = 17.07
Trading View = 16.56
ABSA = 16.73

So you'll have to connect to the bank that your dealing with, but all these firms should have something.
JP Morgan, Deutsche bank, Standard Bank, ABSA, FNB, etc.
Most likely you'll just end up speaking to the bank where the account is held.
 
Last edited:
I can recommend www.exchangerate-api.com, there's a free endpoint without any required API key or signup here: https://www.exchangerate-api.com/docs/free

Most of the free & open access endpoints only have 30 or so currencies but you'll see this one has all 160 codes.

Also, @bchip is absolutely right, if you actually plan to do transactions then you need the rates & spread that your bank/provider is offering. All these services that provide a single "midpoint" rate are perfect for things like price indications on an e-commerce site, running a stats dashboard or calculating shipping costs in your app etc.

But as soon as you're settling an account across borders you need to get a feed of the actual prices on offer by whoever you're dealing with. Because even though these midpoint services are typically pretty accurate they're always showing the *aggregate* picture, and your bank on a specific day could be quite far from this for lots of different reasons.

Hope you found a service that sorted you out! I can give you advice on other options if you still haven't found something suitable.
 
Top
Sign up to the MyBroadband newsletter
X