Currency Convert
Currency Convert Endpoint
The Currency Convert endpoint allows you to convert a specified amount of money from one currency to another using live exchange rates. This is useful for users who want to know how much their currency is worth in another currency.
Endpoint
URL:
https://api.erensko.xyz/v1/currency-convert
Method:
GET
Description: This endpoint takes the amount, source currency, and target currency as query parameters and returns the converted amount along with the exchange rate.
URL Parameters
Key
Value
Example
amount
The amount of money to be converted.
100
from
The source currency code (e.g., "USD"
for US Dollar, "EUR"
for Euro).
USD
to
The target currency code (e.g., "EUR"
for Euro, "GBP"
for British Pound).
EUR
Headers
Key
Value
Authorization
Example Request
Response Example
Last updated