Hypofriend Install gem 'typhoeus' try following command Hypofriend::DataService::Offer.new(loan_amount: 350000, property_value: 350000, repayment: 1.0, years_fixed: 10).find_all output: [{"institution_name"=>"MHB", "borrowing_rate"=>1.3}]