Bank Rate : Term Deposits JSON API

/api/bankrates/term_deposits/ca/lowest

Overview

This API endpoint returns a list of the lowest Term Deposits rates in Canada that were posted today.

By default the result maximum number of rates returned is 10. The result set size can be increased or decreased by adding an additional postfix to the API endpoint.

For example to increase the number of results to 25 rates append '/25' to the API url.

e.g. /api/bankrates/term_deposits/ca/lowest/25

Example request using cURL

Following is an example, using curl and a Linux command prompt to get the lowest rates for term deposits rates in Canada.

$ BASE='http://api.denoti.com'
$ KEY='YOUR_KEY_HERE'
$ curl "$BASE/api/bankrates/term_deposits/ca/lowest?apikey=$KEY"


Example request using Node.js

This code fragment demonstrates how to make a request and use the reponse of a denoti API, to get the lowest rates for term deposits rates in Canada.

(Note: this code sample assumes you are using the latest version of Node with async/await support along with the request-promise NPM.)

let request = require('request-promise')

let key = 'YOUR_KEY_HERE'
let url = `http://api.denoti.com/api/bankrates/term_deposits/ca/lowest?apikey=${key}`

let res  = await request(url)
let data = JSON.parse(res)

console.log(data)


Example Response

By default the denoti API always responds to requests back with JSON.

{
  "type" : "term_deposits",
  "max" : "10",
  "data" : [ {
    "service" : "U.S. Dollar Term Deposits",
    "date" : "2018-10-18",
    "rate" : 0.02,
    "term" : "60d",
    "link" : "http://www.rbcroyalbank.com/products/gic/us-dollar-term-deposits.html",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "Royal Bank"
  }, {
    "service" : "U.S. Dollar Term Deposits",
    "date" : "2018-10-19",
    "rate" : 0.02,
    "term" : "60d",
    "link" : "http://www.rbcroyalbank.com/products/gic/us-dollar-term-deposits.html",
    "timestamp" : 1539932400,
    "country" : "Canada",
    "company" : "Royal Bank"
  }, {
    "service" : "U.S. Dollar Short-Term Deposit",
    "date" : "2018-10-18",
    "rate" : 0.05,
    "term" : "60d",
    "link" : "https://www.vancity.com/Rates/TermDeposits/Redeemable/",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "Vancity"
  }, {
    "service" : "Redeemable Short Term Deposit",
    "date" : "2018-10-18",
    "rate" : 0.05,
    "term" : "90d",
    "link" : "https://www.bvcu.com/personal/accounts/term_deposits",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "Bulkley Valley Credit Union"
  }, {
    "service" : "Redeemable Short Term Deposit",
    "date" : "2018-10-18",
    "rate" : 0.05,
    "term" : "60d",
    "link" : "https://www.bvcu.com/personal/accounts/term_deposits",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "Bulkley Valley Credit Union"
  }, {
    "service" : "Redeemable Short Term Deposit",
    "date" : "2018-10-19",
    "rate" : 0.05,
    "term" : "60d",
    "link" : "https://www.bvcu.com/personal/accounts/term_deposits",
    "timestamp" : 1539932400,
    "country" : "Canada",
    "company" : "Bulkley Valley Credit Union"
  }, {
    "service" : "Redeemable Short Term Deposit",
    "date" : "2018-10-19",
    "rate" : 0.05,
    "term" : "90d",
    "link" : "https://www.bvcu.com/personal/accounts/term_deposits",
    "timestamp" : 1539932400,
    "country" : "Canada",
    "company" : "Bulkley Valley Credit Union"
  }, {
    "service" : "U.S. Dollar Short-Term Deposit",
    "date" : "2018-10-19",
    "rate" : 0.05,
    "term" : "60d",
    "link" : "https://www.vancity.com/Rates/TermDeposits/Redeemable/",
    "timestamp" : 1539932400,
    "country" : "Canada",
    "company" : "Vancity"
  }, {
    "service" : "U.S. Dollar Short-Term Deposit",
    "date" : "2018-10-18",
    "rate" : 0.1,
    "term" : "90d",
    "link" : "https://www.vancity.com/Rates/TermDeposits/Redeemable/",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "Vancity"
  }, {
    "service" : "TD U.S. Dollar Term Deposit (30-60 days)",
    "date" : "2018-10-18",
    "rate" : 0.1,
    "term" : "60d",
    "link" : "https://www.tdcanadatrust.com/products-services/investing/gics-term-deposits/us-dollar-foreign-currency.jsp#what-does-td-offer",
    "timestamp" : 1539846000,
    "country" : "Canada",
    "company" : "TD Canada Trust"
  } ]
}

Note: this data is just an example response and may be truncated.