Re: Cloudflare Worker to Proxy Airtable API

4043 0
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast

I’ve been working on a way to proxy Airtable API calls through a Cloudflare worker. What this library lets you do is add permissions and securely attach your API key to Airtable API requests without letting users see your credentials on the frontend.

Cloudflare Workers are $5/mo, and they run on Cloudflare’s edge network, so they’re really fast for clients. So this project is basically a serverless API proxy, and I’ve found it really useful for making the Airtable API client-side friendly.

Happy to answer questions about implementation or suggestions for improvements!

13 Replies 13
6 - Interface Innovator
6 - Interface Innovator

I left the URL as per the original i.e.

airtableApiUrl: JSON.stringify(process.env.AIRTABLE_API_URL || ‘’),

I went to my base > help > api documentation and got my url from the curl example i.e.

I still get an error though?


6 - Interface Innovator
6 - Interface Innovator

If you use this proxy, what do the urls to access the API end up looking like? (I’m not familiar with Cloudflare).

I updated the docs this morning to hopefully make it more clear.

Once you upload your script to Cloudflare’s test area, your Airtable’s tables will be available via the table name. For example, if my Airtable base has a table name posts , it would be available at

If you still see a Not Found error, it means your API key or Base ID are not correct.

@Nora_Brown this should answer your question too :grinning_face_with_smiling_eyes: