Use Netlify Functions to create a serverless function (also called a lambda function) that returns data in JSON format.