Welcome to FoXRate! We provide latest currency exchange exclusively for you. Just select the currency you want to convert from, fill in the amount you wish to convert and presto!
Get latest currency exchange rate through our XML-RPC api
RPC endpoint: http://foxrate.org/rpc/
Method name: foxrate.currencyConvert
Parameters:
Note : You can get a list of currency code from this website or from http://www.oanda.com/site/help/iso_code.shtml
Response:
foxrate xml-rpc interface will response with a Struct of 3 members
Example XML-RPC Request
POST /rpc/ HTTP/1.0
Host: foxrate.org
User-Agent: xmlrpclib.py/1.0 1 (by www.pythonware.com)
Content-Type: text/xml
Content-Length: 270
<?xml version='1.0'?>
<methodCall>
<methodName> foxrate.currencyConvert </methodName>
<params>
<param>
<value>
<string>USD</string>
</value>
</param>
<param>
<value>
<string>GBP</string>
</value>
</param>
<param>
<value>
<double>100</double>
</value>
</param>
</params>
</methodCall>
Example XML-RPC Response
HTTP/1.1 200 OK
Date: Sun, 11 Feb 2007 14:47:14 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/5.1.2
Connection: close
Content-Length: 396
Vary: Accept-Encoding
Content-Type: text/xml
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>flerror</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>amount</name>
<value>
<double>50.36</double>
</value>
</member>
<member>
<name>message</name>
<value>
<string>"2/9/2007"</string>
</value>
</member>
</struct>
</value>
</param>
</params>