Bank Rate : Student Loans JSON API

/api/bankrates/student_loans/ca/highest

Overview

This API endpoint returns a list of the highest Student Loans 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/student_loans/ca/highest/25

Example request using cURL

Following is an example, using curl and a Linux command prompt to get the highest rates for student loans rates in Canada.

$ BASE='http://api.giraffespot.com'
$ KEY='YOUR_KEY_HERE'
$ curl "$BASE/api/bankrates/student_loans/ca/highest?apikey=$KEY"


Example request using Node.js

This code fragment demonstrates how to make a request and use the reponse of a GiraffeSpot API, to get the highest rates for student loans 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.giraffespot.com/api/bankrates/student_loans/ca/highest?apikey=${key}`

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

console.log(data)


Example Response

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

{
  "type" : "student_loans",
  "max" : "10",
  "data" : [ {
    "service" : "Student Loan",
    "date" : "2019-06-16",
    "rate" : 7.49,
    "term" : "5y",
    "link" : "https://www.firstontariocu.com/Personal/ProductsAndServices/Borrowing/PersonalLoans/StudentLoans/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "FirstOntario Credit Union"
  }, {
    "service" : "Student Loan",
    "date" : "2019-06-17",
    "rate" : 7.49,
    "term" : "5y",
    "link" : "https://www.firstontariocu.com/Personal/ProductsAndServices/Borrowing/PersonalLoans/StudentLoans/",
    "timestamp" : 1560754800,
    "country" : "Canada",
    "company" : "FirstOntario Credit Union"
  }, {
    "service" : "Student Line of Credit",
    "date" : "2019-06-16",
    "rate" : 6.5,
    "term" : "5y",
    "link" : "https://www.frontlinecu.com/Personal/ProductsAndServices/Borrowing/LinesOfCredit/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Frontline Credit Union"
  }, {
    "service" : "Student Line of Credit",
    "date" : "2019-06-17",
    "rate" : 6.5,
    "term" : "5y",
    "link" : "https://www.frontlinecu.com/Personal/ProductsAndServices/Borrowing/LinesOfCredit/",
    "timestamp" : 1560754800,
    "country" : "Canada",
    "company" : "Frontline Credit Union"
  }, {
    "service" : "Student Advantage Line of Credit",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.desjardins.com/ca/personal/loans-credit/lines-credit/student-advantage/index.jsp",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Desjardins"
  }, {
    "service" : "StudentChoice Education Loan",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.conexus.ca/Personal/Loans/LoanTypes/StudentChoice/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Conexus Credit Union"
  }, {
    "service" : "StudentChoice Education Loan",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.conexus.ca/Personal/Loans/LoanTypes/StudentChoice/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Conexus Credit Union"
  }, {
    "service" : "StudentChoice Education Loan",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.conexus.ca/Personal/Loans/LoanTypes/StudentChoice/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Conexus Credit Union"
  }, {
    "service" : "StudentChoice Education Loan",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.conexus.ca/Personal/Loans/LoanTypes/StudentChoice/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Conexus Credit Union"
  }, {
    "service" : "StudentChoice Education Loan",
    "date" : "2019-06-16",
    "rate" : 5.45,
    "term" : "5y",
    "link" : "https://www.conexus.ca/Personal/Loans/LoanTypes/StudentChoice/",
    "timestamp" : 1560668400,
    "country" : "Canada",
    "company" : "Conexus Credit Union"
  } ]
}

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