Finrax API
HomeChangelogIntegration GuideResources
HomeChangelogIntegration GuideResources
  1. Rates and metadata
  • Getting Started
    • Introduction
    • Environments
    • Errors
    • Authorization
      • API Key Management
      • Signature
      • Code Snippets
  • Payments and Withdrawals
    • Crypto Payments
      • Fetch payment by ID
      • 🔒Fetch payments
      • Submit crypto payment
      • Request crypto payment
    • Fetch withdrawals
      GET
    • Fetch withdrawal metadata
      GET
    • Request crypto withdrawal
      POST
    • Fetch whitelisted addresses
      GET
    • Whitelist an address
      POST
    • Fetch crypto withdrawal approval by ID
      GET
    • Fetch business by ID
      GET
    • Fetch business balance
      GET
    • Unwhitelist an address
      DELETE
  • Callbacks
    • Deposit received notification
    • Withdrawal broadcast notification
    • Withdrawal approved/rejected notification
  • Address validation
    • Validate address
      GET
    • Validate address and destination tag
      GET
  • Rates and metadata
    • Fetch market rates
      GET
    • Fetch fiat rates
      GET
    • Fetch deposit rates
      GET
    • Fetch all currencies
      GET
  1. Rates and metadata

Fetch fiat rates

GET
/api/v1/exchange/rates/fiat
Fetch the fiat rates for all specified fiat currency pairs. The rates are updated every 5 minutes.

Request

Query Params
fromCurrency
array[string]
required
The comma-separated fiat settlement base currencies used to produce the currency pairs.
Allowed values:
EURGBPUSD
toCurrency
array[string]
required
The comma-separated fiat quote currencies used to produce the currency pairs.
Allowed values:
AEDARSAUDBDTBGNBRLCADCHFCLPCNYCZKDKKEURGBPHKDHRKHUFIDRILSINRISKJPYKESKRWMXNMYRNGNNOKNZDPENPHPPLNQARRONRUBSEKSGDTHBTRYUSDVNDZAR

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://payments.finrax.com/api/v1/exchange/rates/fiat?fromCurrency&toCurrency'

Responses

🟢200Returns the available rates for the requested currency pairs.
application/json
Body
Additional properties
object 
optional
Example
{
    "EUR": {
        "EUR": "1",
        "USD": "1.078738",
        "BGN": "1.957527"
    },
    "USD": {
        "EUR": "0.927009",
        "USD": "1",
        "BGN": "1.814645"
    },
    "GBP": {
        "EUR": "1.164075",
        "BGN": "2.278709"
    }
}
Modified at 2024-07-02 14:38:06
Previous
Fetch market rates
Next
Fetch deposit rates
Built with