Currency Swap Endpoint
Our Currency Swap API endpoint is useful for applications where you just want to convert between two specific currencies and aren't interested in any others.
You'll need to choose your base currency code and the target currency you'd like to get the exchange rate for.
You'll then get a minimal JSON response back from our API with exactly the data you need. It's a much smaller response than the one you'd get from our Live Rate endpoint - quick & easy to develop with.
Each request to the currency swap endpoint consumes 1 token.
Code Snippet
Sample Response
Endpoint
Returns the swap currency.
GET
https://ipforensics.net/api/v1/currency/swap?apikey=...&to=NGN&from=USD
Returns response object and a metadata of the request
Query Parameters
apikey*
String
Your API key
from*
String
Specify the currency to swap from.
to*
String
Specify the currency to swap to.
Last updated
Was this helpful?