Currency information including ISO codes, exchange rates, symbols, and countries of use. Used for currency conversion, international payments, and financial applications.
https://api.mockly.codes/currencies?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/currenciesGet a collection of currencies
/finance/currencies/currencies/:idGet a single currency by ID
/finance/currencies/:id/currencies/metaGet resource metadata and schema
/finance/currencies/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/currencies?q=laptopGET https://api.mockly.codes/currencies?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 currencies
fetch('https://api.mockly.codes/currencies?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/currencies?count=10'
)
data = response.json()curl "https://api.mockly.codes/currencies?count=10"fetch('https://api.mockly.codes/currencies?nocache=true')idintegerrequiredUnique identifier for the currency record
random_intcodestringrequiredISO 4217 three-letter currency code (e.g., USD, EUR, GBP, JPY)
currency_codenamestringrequiredFull name of the currency (e.g., US Dollar, Euro, British Pound)
currency_namesymbolstringCurrency symbol used for display (e.g., $, €, £, ¥)
currency_symbolexchange_ratenumberCurrent exchange rate relative to USD (1 unit of this currency = X USD)
exchange_ratecountriesarrayArray of country names that use this currency as their official currency
currency_countriesupdated_atstringTimestamp when the exchange rate was last updated
date_timedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request