Loading
Loading
Track exchange rate changes between two dates for any currency pair. Returns start rate, end rate, absolute change, and percentage change for each requested symbol.
startDate is required (YYYY-MM-DD). endDate defaults to yesterday if omitted. Pass symbols to filter specific currencies and base to change the base currency (default: USD).
Authorize every request with your API key, passed either as a header or as a query parameter:
X-apiKeyapiKeyThis is version v1.0 of the API.
startDate is required. All other parameters are optional.
formatoptionalStringdefault: jsonResponse format: `json` (default) or `xml`.
startDaterequiredStringStart date in `YYYY-MM-DD` format. Required. Must be on or before yesterday.
endDateoptionalStringdefault: YesterdayEnd date in `YYYY-MM-DD` format. Defaults to yesterday. Omit or send empty to default.
baseoptionalStringdefault: USDBase currency code. Defaults to `USD`. Supports fiat, crypto, and metals.
symbolsoptionalArrayComma-separated currency codes. Omit to get all available rates.
A successful request returns 200 OK with fluctuation metrics for each requested currency symbol.
startDateStart date of the fluctuation interval (YYYY-MM-DD).
endDateEnd date of the fluctuation interval (YYYY-MM-DD).
baseBase currency code. Always uppercase.
startRate (String), endRate (String), change (String), percentChange (String)
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
Starting date cannot be after current date or ending date
Provided Dates are in Invalid Format. Dates must be in a valid format YYYY-MM-DD!
Rates of provided base and symbols are not found for given intervals.