Foreign Exchange Rates - Any Base Currency, All Pairs avatar

Foreign Exchange Rates - Any Base Currency, All Pairs

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Foreign Exchange Rates - Any Base Currency, All Pairs

Foreign Exchange Rates - Any Base Currency, All Pairs

Live exchange rates for any base currency as one flat row per currency - currency code and rate. Free public API, no key.

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

alaudin burki

alaudin burki

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Features

Limited permissions

Share

Foreign Exchange Rates โ€” Any Base Currency, All Pairs

Every exchange rate the source publishes, quoted against one base currency of your choice, returned as one flat row per currency. Set the base (say USD), and the Actor writes a row for each supported currency with its rate, the provider's own timestamp and the provider name. No API key and no account are required.

How to use

  1. Enter the base currency as a three-letter ISO 4217 code, for example USD, EUR or PKR.
  2. Leave Max rows at 500 โ€” the source publishes far fewer currencies than that, so it does not cut anything.
  3. Run the Actor. One row per currency appears in the dataset's Overview tab, sorted by currency code, and a SUMMARY record in the key-value store reports the count.
{
"base": "USD",
"maxItems": 500
}

Inputs

InputPurposeDefault
baseThe currency every rate is quoted against, as a three-letter code. It is part of the request path, so it must be a code the source publishes.USD when left blank
maxItemsHard ceiling on rows. The source returns roughly 160 currencies, so the default 500 never truncates a run.500
maxPagesKept for consistency with other Actors. The whole rate table arrives in one response, so the Actor makes a single request per run and this setting does not change the result.5

Output

One row per currency in the source's rate table. rate is a number, not a string, so it can go straight into arithmetic.

FieldMeaning
baseThe base currency these rows are quoted against, as the source reports it (e.g. USD).
currencyThe quoted currency, a three-letter ISO 4217 code such as GBP or PKR.
rateUnits of currency per one unit of base. So with base USD, a GBP rate of 0.79 means 1 USD buys 0.79 GBP.
updatedUtcWhen the source last refreshed its table, in the source's own string format and in UTC. This is not the time the Actor ran.
providerThe provider string the source reports for itself (a URL), copied onto every row.

Each row also carries id, source, firstSeenAt and scrapedAt, so the row still says which base, which provider and which update it belongs to once it is exported.

Why this is different

The API answers with a single keyed object โ€” {"rates": {"USD": 1, "GBP": 0.79, โ€ฆ}} โ€” which is a map, not a dataset. This Actor explodes that map into one standalone row per currency, sorted by code, with the base, the provider and the update time copied onto each row. Rates are numeric, the base is on every row, and the run reports how many currencies it wrote, so the output loads into a spreadsheet or a table without reshaping.

Limitations

  • A reference rate, not a tradable quote. There is no bid/ask spread and no intraday movement. This Actor makes no guarantee about the accuracy or fitness of any rate for trading, settlement, accounting or invoicing โ€” use your own rate of record for money that moves.
  • Updated about once a day. updatedUtc is when the provider refreshed, so two runs an hour apart can legitimately return identical rates.
  • One base per run. To quote both ways, run once with USD and once with the other currency, or invert the rate yourself.
  • Only what the source publishes. It is a large list but not every ISO 4217 code, and a code it does not publish returns a response with no rate table: you get an empty dataset and a warning in the log, not an error.
  • No historical rates. The endpoint serves the latest table only; there is no date input.
  • Strings pass through untouched. updatedUtc is not reformatted โ€” parse it with your own date library.

FAQ

Do I need an API key? No โ€” the request carries no key or token.

What does the rate number mean? Units of currency per one unit of base. Multiply a base amount by the rate to convert it.

Why is updatedUtc older than my run? It is the provider's last refresh time, not the run time. Rates are refreshed about daily.

Can I get more than one base currency in a run? Not in a single run; run the Actor once per base.

Why did my run return zero rows? The base code was probably not one the source publishes. The log says the source answered with no rates.

Pricing and limits

The price is shown on the Actor's Apify pricing panel before you run it. maxItems is a hard cap in code, and each run reports what it wrote in SUMMARY. Because the whole table fits in one response, the number of rows is set by the source's currency list, not by any paging setting.