The free tier of AWS Lambda gives you up to 1 million calls per month. You could use this for the actual fulfillment of your data. Paired with AWS API Gateway (1 million calls for free per month for the first year), it seems that you could do this relatively cheaply.
The only thing I haven't accounted for here is if you're querying against some sort of database, which would incur additional hosting costs.