caching data from external api

I have an API route that just calls an external API and massages the response a bit. I get maximum 1k api calls per day, so I’d like to cache the responses of this API. Does nextjs/vercel have a built-in way to do this? I read something about how they added some extra options to fetch but I can’t tell if that’s only client-side. Cheers!
Was this page helpful?