IP2Currency
FREE
By fraudlabs
Updated a year ago

IP2Currency API Documentation

IP2Currency Exchange Rate Web Service provides the user with an easy way to get a localized & latest Currency Exchange Rate based on the visitor's IP address.

Sign up for free license key at http://www.fraudlabs.com/freelicense.aspx?PackageID=10 which allows up to 90 queries a month.

Learn more about this API
GETIP2Currency API
GETIP2Currency API

Currency by IP Geolocation API

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
LICENSESTRING
REQUIREDAPI license key.
Optional Parameters
VISITORIPSTRING
OPTIONALIP address of visitor.
FROMCURRENCYCODESTRING
OPTIONALBase currency code.
TOCURRENCYCODESTRING
OPTIONALTarget currency code.
FROMAMOUNTSTRING
OPTIONALCurrency amount for conversion.
Code Snippet
Install SDK
Response Body
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://v1.fraudlabs.com/soap/IP2CurrencyWebService"><SOAP-ENV:Body><ns1:IP2CurrencyResponse xmlns:ns1="v1.fraudlabs.com"><return xsi:type="tns:IP2CurrencyOutput"><FROMCURRENCYCODE xsi:type="xsd:string">USD</FROMCURRENCYCODE><TOCURRENCYCODE xsi:type="xsd:string">USD</TOCURRENCYCODE><TOCURRENCYSYMBOL xsi:type="xsd:string">$</TOCURRENCYSYMBOL><FROMAMOUNT xsi:type="xsd:string"></FROMAMOUNT><TOAMOUNT xsi:type="xsd:string"></TOAMOUNT><CONVERSIONRATE xsi:type="xsd:string">1.0000</CONVERSIONRATE><TOCOUNTRYNAME xsi:type="xsd:string">UNITED STATES</TOCOUNTRYNAME><TOCOUNTRYCODE xsi:type="xsd:string">US</TOCOUNTRYCODE><CREDITSAVAILABLE xsi:type="xsd:string">999972741</CREDITSAVAILABLE><MESSAGE xsi:type="xsd:string"></MESSAGE></return></ns1:IP2CurrencyResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication