
Get historical interest rates
GET/v2/interestratehistorical
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v2/interestratehistorical",
"method": "GET",
"query": {
"rate": ""
}
}'
$0.001per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 450 ms median · 30 days
About this endpoint
Returns the published history of a benchmark rate over an optional date range, given as start_date/end_date (YYYY-MM-DD) or start_time/end_time (UNIX seconds). For the latest value only use /interestrate.
Query parameters
raterequiredstringThe specific interest rate identifier. Supports central bank rates (e.g. central_bank_us, central_bank_eu), benchmark rates (e.g. sofr, effr, euribor_3_months, sonia), and bank prime / base lending rates (prime_us, prime_ca, prime_jp, prime_za, lpr_cn_1y, lpr_cn_5y, br_my, blr_my, tpb_br).start_datestringStart date for the data range (inclusive) in YYYY-MM-DD format, UTC. Cannot be combined with start_time.end_datestringEnd date for the data range (inclusive) in YYYY-MM-DD format, UTC. Cannot be combined with end_time.start_timenumberStart time for the data range, specified as a UNIX timestamp in seconds. Alternative to start_date.end_timenumberEnd time for the data range, specified as a UNIX timestamp in seconds. Alternative to end_date.pagestringPagination cursor. Pass the next value from a previous response to retrieve the following page of data points.More from API Ninjas
- Get current stock priceGET/v1/stockprice$0.001 per callFixed
- Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.001 per callFixed
- Get bank holidays for a given country and year.GET/v1/bankholidays$0.001 per callFixed
- Lookup bank information by BINGET/v2/bin$0.001 per callFixed
- Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.001 per callFixed
- List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.001 per callFixed
- Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.001 per callFixed
- Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.001 per callFixed
- Get a Chuck Norris jokeGET/v1/chucknorris$0.001 per callFixed
- Get aircraft detailsGET/v1/aircraft$0.001 per callFixed
- List models for a manufacturer. Premium only.GET/v2/carmodels$0.001 per callFixed
- Get country data from given parameters.GET/v1/country$0.001 per callFixed