Uploading FX rates (bring your own data)
Upload your own FX rates
Atlar gets exchange rates from a default provider. If you want custom rates, an FX provider connection is usually the better fit. If that is not possible or suitable for you, you can upload your own rates as a CSV file instead.
You need a connection that accepts FX rates. Atlar sets this up for you. You can then upload the CSV file in the Atlar app or via the API. Both use the same file format.
File format
Each row says that one unit of baseCurrency is worth rate units of quoteCurrency on that date:
date,baseCurrency,quoteCurrency,rate
2026-11-05,EUR,USD,1.0850
2026-11-05,EUR,SEK,11.5200
2026-11-06,EUR,USD,1.0861
2026-11-05,USD,EUR,0.9217| Column | Content |
|---|---|
date | YYYY-MM-DD. Today or earlier |
baseCurrency | The currency you convert from, as a three-letter code, e.g. EUR |
quoteCurrency | The currency you convert to, as a three-letter code. Must differ from baseCurrency |
rate | A positive decimal with . as the separator, e.g. 1.0850 |
All four columns are required. Each quote currency can appear once per date and base currency.
[!NOTE]
Rows with the samedateandbaseCurrencyform one set of rates. Uploading a set that already exists replaces it, so include every quote currency you want for that date and base currency in the same file.
Upload in the Atlar app
- Open the connection in the Atlar app and choose Upload FX rates.
- Select your CSV file and upload it.
Atlar processes the file in the background. When it is done, the rates show up in the Rates tab of the connection.
Upload via the API
Use the Create report endpoint. Send the CSV as multipart/form-data and set fileContentType to application/vnd.atlar.connectivity.v2.fx-rate-statement+csv:
curl -X POST "https://api.atlar.com/connectivity/v2beta/connections/$CID/reports" \
-u "$ATLAR_ACCESS_KEY:$ATLAR_ACCESS_SECRET" \
-F "fileContentType=application/vnd.atlar.connectivity.v2.fx-rate-statement+csv" \
-F "[email protected]"A 201 Created means the file is valid and accepted.
Make Atlar use your rates
Uploaded rates are stored on the connection. To use them, select the connection as your primary or secondary rate source on the FX settings page in the Atlar app. There you can also choose whether Atlar falls back to its default rates when your sources have no rate.
[!WARNING]
Uploaded rates only cover past dates. A request for the latest rate, i.e. for today or later, is not served from uploads.
Errors
If any row is invalid, the upload fails and nothing is saved. Fix the rows listed and upload the whole file again.
Via the API, the request fails with 400. Each entry in details names the row and column in field, e.g. file.2.rate for row 2 (counted from 1 after the header), and has a code such as invalid_rate or date_in_future.
Updated about 19 hours ago
