Currency_name and currency_id via API v8

Hi

Is it possible to get the currency_id for a currency_name via the API, or do I need to query that directly from the database?

Kind regards