Get Exchange Rate
Settings
Get Exchange Rate
Retrieve the current USD to NGN exchange rate
GET
Get Exchange Rate
Endpoint
Description
Returns the current USD to NGN exchange rate used by Vellosim. Use this to convert USD package prices to NGN for display purposes. This is a public endpoint — no authentication required.Request
Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | No |
Parameters
This endpoint does not require any parameters.Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
rate | number | Current exchange rate. 1 USD = rate NGN |
baseCurrency | string | Base currency — always USD |
currency | string | Target currency — always NGN |
Code Examples
Converting Prices
Use the rate to convert USD package prices to NGN:This endpoint is public and does not require an API key. The rate is updated periodically and may change between when you fetch it and when a purchase is made.
