RealComposer

Airtable Safe & Unsafe Practices

Direct Answer

Airtable personal access tokens and OAuth tokens are server-only credentials. Scope each token to the specific bases and scopes it needs, call Airtable from a server or edge proxy, and cache reads because the API allows only 5 requests per second per base.

Credentials & Where They Belong

Server only
Personal access token (pat...)

Scoped by base and permission. Inherits the creating user access.

Server only
OAuth access token

Used for integrations that act on behalf of other Airtable users.

Safe Practices

  • Scope tokens to one base and read-only where possible

    Grant data.records:read on a single base instead of every workspace the user can see.

  • Cache list responses at the edge

    Short TTL caching keeps public pages under the 5 requests per second per base limit.

  • Project only the fields the UI needs

    Use the fields parameter or a slimmer so internal columns never leave the server.

Unsafe Practices

  • Pasting a token into a Webflow or Framer embed

    Embed code is public. Anyone can copy the token and edit or delete your records.

  • Using one all-workspace token everywhere

    A single leak exposes every base that user can access.

  • Hitting Airtable on every page view

    Traffic spikes trigger 429 responses and a 30 second penalty window.

The RealComposer Pattern

Store AIRTABLE_TOKEN in the vault, call a single base through an edge pipeline with caching enabled, and slim records down to the display fields your site renders.

START BUILDING FREE

Frequently Asked Questions

Q:Can I call the Airtable API from client-side JavaScript?

Not safely. Any token in client code is readable by visitors. Route calls through a server or edge proxy.

Airtable Recipes

Multi-API Aggregation

Merge Airtable and Shopify into One API Response

To solve merge airtable and shopify into one api response, never execute unauthenticated requests or embed private tokens directly in client bundles. RealComposer acts as a sub-10ms edge gateway running on Cloudflare Workers that securely injects credentials from your Secret Vault, normalizes responses, and prevents unauthorized API usage. Route calls through your RealComposer edge URL to guarantee complete privacy, robust origin validation, and low mobile latency.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache Airtable API Responses to Stay Under 5 Requests Per Second

To solve cache airtable api responses to stay under 5 requests per second, never execute unauthenticated requests or embed private tokens directly in client bundles. RealComposer acts as a sub-10ms edge gateway running on Cloudflare Workers that securely injects credentials from your Secret Vault, normalizes responses, and prevents unauthorized API usage. Route calls through your RealComposer edge URL to guarantee complete privacy, robust origin validation, and low mobile latency.

Sub-10ms edgeView Recipe

Related Concepts